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.

hex6x entry point not retrieve in output file

Hi,

I try to generate a file with an entry point retrieved in the generated file. But it's always 0 in S8 record and it's not specified in other files format.

I use hex6x version 6.0.8.

How can I do that ?

Finale goal: Booting by PCI by interpret the file and upload it in ram and fix the address in the BOOTADDR register.

Thanks,

Guy

 

  • The entry point is typically defined by your object file, so it is in the application image itself but not a special section of the hex file, so your PCI host would have to read out of the image file to determine the entry point. In the case you are working with a PCI boot mode and not trying to cater to a particular flash programmer than you may want to consider having your PCI host read the .out file directly and write it into the DSP memory map (as opposed to using an intermediate hex file). The format of a typical .out file in COFF format is discussed in appendix A of SPRU186p, using this you could have your host application read in the various headers on the .out file including the entry point, and load them into the DSP RAM just like CCS does when you are debugging.

  • Ok to parse directly the .out and load it by PCI.

    Somebody knows from where I can start ? Start from scratch is an alternative but...

    My other alternative is patching the .rec file with the output of the ofd6x.

    Thanks for the answer.

    Guy