Other Parts Discussed in Thread: UNIFLASH, CCSTUDIO, C2000WARE
Tool/software:
I've been trying to write a bootloader for the TMS320F2800157 and have managed to accomplish the following:
1. Receive binary data over UART
2. Program the binary data into specified flash sectors/banks
I've verified that the data sent over UART matches what is written using UNIFLASH.
However, from here I am having difficulty figuring out how to properly write/program an application to the flash and then jump to it from bootloader.
So far, I've been able to jump between bootloader and a modified LED blinking program if both are flashed on using the CCStudio to flash, but when attempting to write that same LED binary over UART to flash it simply crashes and goes back to bootloader.
I've tried using hex2000 to output the .out file in different ways with no success either.
What I would like to know is what the proper way would be to:
a) Convert the .out file into a binary that can be written to flash and
b) What sectors/addresses do we need to write the binary data to