Need some info on using ethernet bootloader provided in FNET 2.4.0. Its a bit tricky what I am trying to do but let me explain.
Here is what I am trying to do
I have built a two stage custom bootloader for K60
this will be primary bootloader stored in protected area in at the start of flash.
the task of thos bootloader is just to copy the application binary image stored in external spi flash into the main code space.
And just jump to the address.
This is recovery mechanism where the primary bootloader will load the image of FNET ethernet bootloader from the external storage into code space instead of the application image.
This is where I am getting struck.
Stage 1 works OK for me as I can upload the application image from the external SPI flash into the main code space and run it without any problems.
But when I upload the image of FNET ethernet bootloader and try to run it, I get stuck in "default_isr entered on vector 3". which probably because I am not jumping at the correct address.
I have attached the linker files for reference
Original Attachment has been moved to: sec_btl.icf.zip
Original Attachment has been moved to: application_linker.icf.zip
Original Attachment has been moved to: prim_btl.icf.zip