okay so I managed to create a boot loader based on yours which holds
safe image at 0x0000 page 0x0
user image at 0xe0000 page 0x0
My question is now; how do I get it into my design flow in order to create the base image with the safe image?
I did the following:
'elf2flash --after=factory.flash --epcs --input=sw.elf --output=sw.flash --boot=fos_boot_loader_epcs.srec'
which I programmed into the epcs, the factory firmware was loaded correctly!
then I made the user firmware by:
' bin2flash --input=app_image.bin --output=app_image_flash --location=0xe0000'
and programmed it to the epcs
When I run the reconfiguration my factory fimrware is still loaded!
-mitch