Skip to main content
Visitor II
August 12, 2005
Question

sound studio troubles with code banking

  • August 12, 2005
  • 1 reply
  • 567 views
Posted on August 12, 2005 at 12:15

sound studio troubles with code banking

    This topic has been closed for replies.

    1 reply

    ericsAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 12:08

    Hello,

    I am using Keil's embedded C with uVision 3 to develop the code for my uPSD3234A. The project that I am doing has grown large and requires me to make use of Keil's code banking features in order to fit it onto the micro controller. Which is fine, I have that working. The problem is that I am also using the uPSD Sound Studio drivers.

    I was able to edit the drivers so that they can reside in the paged memory areas of my choosing and everything works fine if I play a sound from the code residing in the COMMON area. But if I try to play a sound from the code residing in a bank, strange things happen. The sound will usually play and then go into the next sound and the next sound and then play some clicks until I finally reset the MCU.

    The sound studio code resides in common memory and the code that is calling it resides in bank #7. And as I said earlier, everything works fine as long as I call the function that plays the sound from code in the COMMON area. Does anyone have any ideas??

    Thanks in advance!! 8-)