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.

TMS320C5515EVM - bootloader problem

Other Parts Discussed in Thread: TMS320C5515

Hello,

 

i have a problem using the bootloader of my TMS320C5515 - EVM.

In normal operation the bootloader works fine. But if i add a heap ("create heap in this memory" checkbox in the MEM - Memory Section Manager of my DSP/BIOS *.tcf-file) in my External SRAM the program stops working.

Do i have to set any registers while creating my boot-file (by hex55)?

 

Best regards

Martin

  • Hello again,

    it turned out that the program stops working if i use the SRAM. The program works fine in the debug-mode, but not if i use the bootloader. 

     

    I found a similar problem here: http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/p/39444/138185.aspx

    They added the EMIF-configuration for the SRAM in the hex55 (but they did not mention how this works...).

     

    Does anyone know how this has to be done for the C5515?

     

    Best regards,

    Martin

  • Martin,

    You need to configure the external SRAM before accessing it. You can use the bootloader's register configuration feature to configure EMIF while loading the boot-image, or you can add EMIF configuration in your program before accessing the external SRAM. You can do either way. 

    Regarding how to use the register configuration, please refer to the bootloader app note (http://focus.ti.com/lit/an/sprabd7/sprabd7.pdf) (section 2.3, 3,3 and 3.3..1.2)

     

    Regards,

    Peter Chung