03-09-2010 07:49 PM - edited 03-09-2010 08:46 PM
I'm designing my first multiboot system and some things are not totally clear. First it's just me or really there is no documantation on the ICAP primitive for the Spartan 3A other than the few lines in UG332? Anyhow my main problem is that somehow i'd like to detect that a configuration fallback has occured due to bitstream error. I want my bootloader to be aware of the fact that the image loaded into the flash memory is faulty so it does not try to reboot it again (and get locked after 3 retries) but notifies the user and asks for another to be downloaded. UG332 states in the Spartan 3 family multiboot comparison table (Tale 14-1) that "Information passing between MultiBoot FPGA applications possible" for S3A/AN devices. Now how do i do that? Of corse i could write something to the flash memory i'm using to boot from, but since it's non-volitile i don't know if a fallback occured or the power had been cycled.
Just to be clear i'm using Master SPI mode. In the flash there is one "golden" bootloader and the updateable application itself. It is required that the bootloader and the main app also to be capable of a firmware update. I'd like to avoid power or PROG_B cycling or the use of external circuitry if possible.
Any tips? How this should be done?
03-10-2010 01:13 AM
not sure if this will help you, but there is an application note for multiboot (XAPP468). You could give it a try.
03-10-2010 10:08 AM
06-27-2012 06:12 PM
Hi, bagojfalvibagoj !
I'm in same condition with you!
How did you solve this?
I'm trying to implement multibooting with in-system flash menory in spartan-1400an.
I have followed by the sample of the "spartan-700an development starter kit".
But after 3 tries, the memory is locked.
Please help me.