Hi
I am not sure exactly which part you are interested in but for the M5225X you can find can find a serial boot loader, a USB boot loader and an Ethernet boot loader in the uTasker project (optionally encrypted).
See the following:
- http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF
- http://www.utasker.com/docs/uTasker/uTaskerV1.3_USB_Demo.PDF
- http://www.utasker.com/docs/uTasker/BM-Booloader_for_M5223X.PDF
Regards
Mark
www.uTasker.com
- OS, TCP/IP stack, USB, device drivers and simulator for M521X, M521XX, M5221X, M5222X, M5223X, M5225X. One package does them all - "Embedding it better..."
Our system works like this, using a small boot loader and 2 copies of the loadable firmware at different locations. Last summer I messed around with the PIC flags but could not get them to do what I needed. So we use normal code linked to absolute addresses, with all even numbered versions going into one location and odd numbered versions going into the other location.
Eric T wrote:
1. The images all need to be able to run from either position in memory - the images will be essentially the same, but will be different versions. So it will ship with only one image (or with two duplicate images) and when we go through an update, we erase the second half of flash and write the updated image there and make that image the current one. If we do another update, then we overwrite the first image and make that image the current one....