Jump to content
  • 0

How to make program persistent after power cycle?


jt123

Question

Just starting with FPGA's and using the Zedboard. I have a simple program that uses switches to turn on/off the leds. When I power cycle the board the program seems to be erased and I have to reprogram the board. How can I make this persistent (I am using Vivado)? 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @jt123

Assuming you're working with SDK or Vitis, you will need to package a first-stage bootloader, bitstream, and application elf file into a boot image and load it into flash or onto an SD card. You can find some instructions here: https://digilent.com/reference/programmable-logic/guides/zynq-baremetal-boot

Check the board's reference manual for information on how to change the boot mode from JTAG to SPI or SD card boot.

If your project is hardware only, you'll need to load the bitstream into flash through Vivado's hardware manager.

Thanks,

Arthur

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...