During development, JTAG will be the primary interface for programming and debugging the AMDC firmware. Once code is stable, an image can be programed into the AMDC non-volatile memory (NVM). This allows board to boot itself when powered up.
The following steps outline how to create a boot image and flash the AMDC NVM.
The PicoZed system-on-module (SoM) on AMDC includes a flash memory device which stores the boot image for start-up. We need to first generate the appropriate image which will be loaded into this memory.
Xilinx provides a First-Stage Bootloader application project which we will use to create our boot image. If you do not have the fsbl project in SDK:
File>New>Application Project- Name it
fsbl - Ensure
Board Support Package:isUse existing: amdc_bsp - Click
Next > - Select
Zynq FSBLtemplate - Click
Finish - Your new
fsblproject will be imported and build. It should not have issues.
- Right click on the
fsblproject directory in SDK - Select
Create Boot Image
- Ensure popup menu settings look like the following.
Explaination of settings: .MCS is the file format which is supported for QSPI flashing. The list of three items for "Boot image partitions" must always be the following in this order: fsbl.elf, FPGA bitstream .bit file, your user *.elf file.
- Click
Create Image - If it warns that another file already exists, click
OK - It will take a second to create the boot image
After generating the boot image *.MCSfile, we need to program the flash device for persistent storage.
- Ensure you powered up the board in the correct boot mode. This is selected via the switches on the PicoZed PCB. See image below for switch positions for JTAG mode (what you want).
- Click
Xilinx Toolsfrom the main dropdown in the SDK - Click
Program Flash
- Ensure popup window looks like the following:
- Click
Program - It will start flashing the board. This will take ~3 minutes...
Now the boot image has been loaded onto the PicoZed flash device. We need to configure PicoZed to use it when booting.
- Set PicoZed switch positions to the flash boot mode (see image below).
AMDC should now be programed and ready to go! Time to test.
- Power cycle the board.
- Ensure that
FPGA DONEyellow LED comes on after ~1 second of powering up - If so, you are good to go!
NOTE: you will need to put the PicoZed switches back to JTAG mode if you would like to continue development using JTAG.





