Wi-Fi state machine for firmware upgrade of the microcontroller

Status
Not open for further replies.

bikashh

Full Member level 5
Joined
Nov 28, 2009
Messages
264
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
india
Visit site
Activity points
3,132
Hello Friends,
I am doing a project where I need to implement bootloader to upgrade the firmware over the air using wifi.
Previously my implementation was, request a packet by packet(of size 3000 bytes) from server and store it in the sram. and after the last packet I verify the data in sram and later write it to flash.
As the above implementation was taking a lot of time I decided to go other way.
So,I decided to receive the whole image at once and write it to sram. While doing so my data was getting corrupted all the time.
Do you guys have any suggestion for the above implementation?

Thanks to all in advance
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…