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.

using the SDRAM problem on C6713 dsk board.

Other Parts Discussed in Thread: CCSTUDIO

I am trying to execute a program that is has its code and data stored on the external SDRAM of the C6713 DSK board. However, during a step through of my program in debugging, the program will execute correctly until a certain point and then while try to execute a certain function. The DSK "busy" LED will blink normally for a brief time period and then it will go very dim and blink once every second or two. This is when the program will stall. Then when manually halting the program I receive the following error message:

 

“Trouble Halting Target CPU: Error 0x80000020/-1070 Fatal Error during: Execution, An Unknown error prevented the emulator from accessing the processor in a timely fashion.”

 

 I am sure it is not the actual code because I can run a small scale test code that is stored internally on the DSP chip's memory and everything steps through fine. However the actual application code will eventually need to go to the external memory due to its size.

 

 Is there a set of instructions to verify that the DSP/Bios was set up correctly for the DSK board, so that I can use the external SDRAM chip or some other kind of information on the error code that can be used to help further debug the problem? Also can anyone direct me to some “reference designs” or program projects that are for the C6713 DSK board and use the external SDRAM (preferably using the DSP/Bios configuration).

 

Thanks,

Richard

 

  • Hi Richard,

    - Check to see if you have a GEL file associated with your connection maps the external memory.

    - It looks like a corruption. Does the exact same project runs in the external without a problem? If it is just a reduced version that you tested in the internal memory, the problem might be introduced with the extra code. Look for "broken" pointers, make your stack bigger, look for local variables that maybe should be made global, etc.

    - For C6713 examples using DSP/BIOS, please see:

    C:\CCStudio_v3.3\bios_5_33_06\packages\ti\bios\examples

    You can just modify the tcf file and put parts of the code in external memory. If it does not work with the example projects, it is problem an external memory configuration problem (that should be done by the GEL file).

  • Hi,

    my small scale test program tested in both the internal DSP memory (works fine)  and the external SDRAM (it produces the same error results as mentioned above).  The only changes that were made were to the DSP/Bios configuration file to move everything to the external SDRAM on the DSK board.

    Also just to clarify i am using CCStudio v3.1 with bios 4.9. I will check the the GEL File to see if the maps to the external memory are the same.

    Thanks