This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Creating an IAP firmware update



Hi

I would like to add a feature to my program that would allow in-application programming with a firmware update through the serial port.  I am currently using an F2808 controller and copying the program from flash to run from RAM.  I assume the following steps are correct to do this:

1)  Receive a command to update the firmware from the PC
2) Write the data stream to a buffer in RAM
3) Write the data in RAM to Flash
4) Reset the controller. 

I believe I have enough ram space in the F2808 to do this but I am confused because the C2000 brochure states that the F2808 has 36k RAM, while the F2808 user manual states only 18k.  Either way I attached the memory map, and as you can see  I am not using the RAM in 3F8000 (16K) which I would like to use for the buffer memory.  I am already using the flash as EEProm so I imagine I can use that copy the program data from RAM to Flash.  Is there any source code or application note  that does this already?  

Thanks,

Omer

TI_Module_FB.zip