Hello, I've done some research on the forum but I was unable to find clear informations on how to HPI boot a 'C6748 (plus I am a novice with this platform).
Here are the things that I currently need to learn :
- Given the output of the CCS4 compiler how can I convert it to a plain binary form suitable to be transferred to the DSP? (kind o like what AISGen does for other kind of boots)
And then the most important questions :
- Currently I boot from SPI and my code executes from DRAM (i'ts too big for internal RAM). When I prepare the SPI boot image, I supply AISGen all the parameters needed to setup DRAM so that it will be ready to accept my code when it is copies from the flash, and in fact it runs smoothly.
In emulation mode , this is taken care by the GEL file, so in both cases my code lacks this important initialization code.
What is the best and easiest way to add this initialization preamble to my existing code?
- Since my code executes entirely from DRAM, this memory has to be up and running when I start transferring the executable image with HPI.
What is the best way to handle this situation? Do I possibly need two separate boot loaders, one that will just do the initializations normally done in the GEL file or by AISGen and one for the actual code transfer?
Any other suggestion?
If the picture is not clear please let me know
thanks
j