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.

5510 HPI download

I'm trying to load a basic program to my DSP which just hits the CLKMD register so that I can verify that the download process is working.  The boot mode is set for HPI download. I've created the project and tested using the c55xx simulator. I'm having trouble with the actual download process. I create a .bin file using hex55 with the following parameters: -boot -v5510:2 -memwidth 8 -romwidth 16 -map PikaTestImg.map PikaTestImg.out -e _c_int00 -b -o PikaTestImg.bin (I refered to SPRA763C for this and I got the entry point from the top of my .map file). Now the part that I'm having trouble with. Where in the DSP memory do I download this? I thought it would be to offset 0x8000 words since that is the starting address after the HPIC register reset bit is hit. Also is this a contiguous download to the DSP? SPRA763C doesn't refer to the rest of the process after it talks about using hex55. I think I may be missing something in the whole download procedure.

  • Fastback321,

    Did you look at section 2.3.3 in the Bootloader App Note (SPRA763C)?  This explains the process followed by the DSP when the EHPI boot mode is selected.  The DSP will start execution at address 0x10000.  This will typically be the beginning the function c_int00 which is part of the RTS Lib.  The c_int00 function initializes the C environment, then passes control to main().  The address of c_int00 needs to be located at 0x10000.  This forum post covers this topic: http://e2e.ti.com/support/dsp/tms320c5000_power-efficient_dsps/f/109/p/11051/43035.aspx#43035

    It is the responsibility of the host program to parse the DSP image and place the various sections in their allocated locations.  The .map file summarizes the results of the memory allocation process.  Section 2.3.3.1 in the app note describes how to use the hex55 utility to create an output file that can be read by your host.

    Regards,