This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSP Bios-BUF object issues



I am having some issues with DSP Bios.  The external RAM appears to be configured properly and I can read/write using my own functions.  Two weeks ago we determined that MBX objects specified to be allocated from external RAM caused our application to crash.  These had to be moved to internal RAM.  Today I found out that BUF objects defined to be allocated in external RAM also cause the application to crash.  Is this a bug in DSP Bios 5.41.10.36?  Could this be a problem with where or how we are initializing the external RAM?  We do not have enough internal RAM for the BUF objects.  I can write my own handler for an array allocated in external RAM but it seems DSP Bios should be able to handle this?  Please let me know.

  • There are no known issues with BIOS 5.41.10 (or any 5.3/5.4 release that I can recall) with regards to memory placement.  

    Which device are you using?  

    Are you using one of the TI development boards or a custom board?   Do you have a memory test where you sweep through the memory reading and writing data to make sure the external memory is stable?

    Thanks,
    -Karl-

  • using the 28335 and a custom bd.  Please let me know.

  • I have no problems using my own data stored in the external RAM (copied from flash to external RAM and setup with #pragma).  There are no issues reading or writing to the external RAM.  However, the MBX and BUF objects set in the DSP Bios config file for ZONE6 or ZONE7 (external RAM) cause the application to crash the first time the objects are used.  For MBX this is the first MBX_post.  For BUF it is the first time the memory is written to that had been provided by the BUF_alloc.  The memory address looked like it was in the right range.

  • However, the MBX and BUF objects set in the DSP Bios config file for ZONE6 or ZONE7 (external RAM) cause the application to crash the first time the objects are used.  For MBX this is the first MBX_post.  For BUF it is the first time the memory is written to that had been provided by the BUF_alloc.  The memory address looked like it was in the right range.

    Please advise asap, still crashing

  • Hi Paul,

    Let's focus on the BUF crash. So you call BUF_alloc() and it successfully returns a pointer to the fixed-size buffer is returned. Correct?

    Can you put that address into a memory window? What are the first few words of the buffer?

    Can you see the BUF Object in KOV (or ROV)?

    Todd