Folks,
As the development work approaching the end, I began to develop DSP firmware upgrade feature. The DSP board connected to a PC with a serial link. When upgrading process starts, the PC will transmit firmware data to DSP, after all data have been received, DSP starts erase/program/verify internal FLASH memory by invoking TI FLASH API V2.10. Though the process is clear, still some points remain unclearly to me.
First of all, what kind of image file shall I transmit from PC to DSP? The compiler and linker generate .out file, shall I further process it and how?
Secondly, what are the FLASH sections shall I erase and program into? I saw F28335 has below internal FLASH map, where Sector A has largest address, I don't want write into CSM address by mistake.
0x338000 - 0x33FFFF, /* Sector A */
0x330000 - 0x337FFF, /* Sector B */
0x328000 - 0x32FFFF, /* Sector C */
0x320000 - 0x327FFF, /* Sector D */
0x318000 - 0x31FFFF, /* Sector E */
0x310000 - 0x317FFF, /* Sector F */
0x308000 - 0x30FFFF, /* Sector G */
0x300000 - 0x307FFF /* Sector H */
Thanks for your feedback
Tim