Tool/software: Code Composer Studio
Dear team,
one of our customers faces the following issue:
we bought some C5505 USB Stick evaluation boards which we used for the first tryouts. We managed to
make them work with the Audio Codec boards what we got from TI, everything is working fine so far.
But recently I started to check it out how could we use the bootloader to load the code automatically on startup
to the DSP without using the JTAG. I searched a lot on google to find a solution how to boot from the EEPROM
which is on the evaluation board. I found the demo code for this board on the forum and I also found several versions
of the application which should run first on the C5505 to update the content of the EEPROM. So far it was also working
I managed to download the EZ_demo.bin file from TI to the EEPROM and after restarting the board it booted and was working fine.
Our problem is now if I try to create a binary file on my own from my projects .out file when I load it to the EEPROM it does
not seem to work. I used the programer.out file the spi_writer.out and some USBKey.out file as well for programming.
They all work with the EZ_demo.bin but non of them with my files. I would assume that the copying part is working fine and
we have a problem at the creation of the .bin file. I managed to download the source of the EZ_demo project as well,
and when I built it on my own and created the .bin file out of it, it had a size of 39kbytes. The version which I downloaded
from TI has a size of 5kbyte. The 39byte version is again not working at all.
Here is my post build script what I use to create the .bin file from the .out file:
${CG_TOOL_ROOT}\bin\hex55 -boot -v5505 -serial8 -b -o TestApp.bin ${ProjName}.out
I tried to create a simple LED blinking project just for testing if the bootloader is working.
It is working with JTAG fine. I removed the .gel file from the application. I moved the necessary parts from the .gel file to my actual code
to initialize the pll and the peripherals and everything but the led is still not blinking.
Once I managed to make it blink but then it was really slow like if the pll would not be set correctly but I think it was.
Could you please help us to find out what might be the problem? Unfortunately there are really not much information on the Internet
to be found on this topic I read all the relevant pdfs and articles but it still does not seem to work for some reason.
We use CCS 6.1 and I used the 4.4.1 version of the hex55 tool to generate the bin file.
Thanks,
Peter