Hi,
We are using only dsp inside TMS320DA828 ,which has both ARM and dsp.Flash is connected to SPI1. We have a modified bootloader(modified DSP UBL) for DSP ,which does the booting only for DSP. Primary bootloader D800K005 copies DSP-UBL to shared RAM(L2) in a proper fashion. We also have burned application in flat binary image format inside flash. Application is a simple program which sets two GPIO pins. Here we are able to generate a map file using hex6x utility(tiobj2bin.bat) while generating the flat binary image. We are under the impression that if we load the flat binary image as it is, from the flash, we will be able to execute the application. There is only one .text and .cinit section in the application. We are giving .text starting address as the entry point of the application. DSP-UBL branches out to this entry point. We are using tiobj2bin with hex6x in following command:
%hexcmd% -map=test.map -b -image -o %binfile% %hextmp% %outfile%
The questions:
1)Is the approach correct?
2)If not is there a way to generate detailed map file of flat binary image (we are using -map=mapfilename.map in hex6x)?
3)What should be the entry point when we consider flat binary image?(we know that _c_int00 is the entry point for elf and coff images,but the coff&elf images are converted to flat binary image here,so is it possible for us to use the same entry point? ). Also,flat binary image's size is very less compared to elf image.
4)Does the flat binary image (in flash mode) do all the steps performed by debugger during debugging mode?
Thanks,
Rajaram