We have C5505 based custom board which usually boot from NOR SPI Spansion flash S25FL032P.
We are thinking now to add "upgrade feature" to our application which allow to us burn new version to flash while keeping old one. So we will have two images of our app in flash. As far as I understand to achieve this functionality I have to write small boot application which will select and load to RAM one of the images and pass control to it.
So I have two questions:
1. Whether described above approach is correct or I can achieve the same without writing special boot application?
2. If answer to first question is Yes, then are there any code samples which show me how to copy image from flash to RAM and pass control to it
Thanks in advance