Tool/software: Code Composer Studio
Hello,
I am working in CCS3.3 and I am trying to generate an ASCII-hex file to program the external flash on our custom C6727 development board. We have a simple project that blinks an LED on our development board and our project uses TI's secondary bootloader to properly load the code into the board's external SDRAM. The TI Secondary bootloader we are using is generated by the genBootCfg.pl script and detailed in the SPRAA69D document.
I have actually created my own custom process that loads the external flash for the DSP by using a GEL script. I take the linked application code (*.out) and run it through the TI Perl script named genAis.pl which generates an ASM file. Then I run this ASM file into my own GEL data file format converter. I then take this converted data file and I am able to program the flash using GEL scripts we generated and the DSP will boot successfully. This proves that our internal development board is capable of booting from flash and that our custom software coupled with the TI secondary bootloader does work properly.
However, I would like to use a more official process to program the flash and use FlashBurn, which requires an ASCII-hex file. What I am currently trying to do is take the linked application code (*.out) and run it through the hex6x.exe utility found under the CCS3.3 install directory for our processor. This results in a .hex file that can be interpreted by FlashBurn and programmed into the flash. We are able to verify that the program is being placed into the external flash correctly, but we are failing to boot properly. I am unsure if we are failing to boot due to hex6x settings or if our build process to get to the ASCII-hex file is incorrect.
My question is, can we take the linked application code that uses TI's secondary bootloader and just run it through the hex conversion utility and program that to the flash? Or, do we have to use the genAis.pl script to convert the linked application code file into an ASM file and then somehow convert that into a ASCII-hex file using the hex conversion utility? If the latter, could you please detail the process of generating the ASCII-hex file?
Thank you