I have a simple design on a BASYS3, which contains a MICROBLAZE, a LED and two PUSH BUTTONS.
I can control how fast the LED is blinking by pressing the PUSH BUTTONS.
The BITSTREAM of that design is stored in a non-volatile serial Flash device, which is attached to the ARTIX-7 FPGA using a dedicated quad-mode (x4) SPI bus. When the system starts, the contents of the flash memory are read and the FPGA is configured normally.
I would like to be able to memorize the latest configuration of the PUSH BUTTONS in a non-volatile memory, so that the system at startup can use that configuration.
In other words, I would like to allow the user, the option to write in a non-volatile memory, the latest configuration of the push buttons, without having to change the BITSTREAM all the time.
Something likes partitioning non-volatile memory into two sections:
1-One section will be to store the BITSTREAM for configuration during system startup.
2-The other section will be to allow the user to read, modify (write) and save parameters for the next startup.
Is it possible to do this with the BASYS3?
If so, could you please advise me how to do it?
If not, what kind of system would be needed to achieve this?
Thank you in advance for any suggestions and advices.
Question
herve
Dear Digilent,
I have a simple design on a BASYS3, which contains a MICROBLAZE, a LED and two PUSH BUTTONS.
I can control how fast the LED is blinking by pressing the PUSH BUTTONS.
The BITSTREAM of that design is stored in a non-volatile serial Flash device, which is attached to the ARTIX-7 FPGA using a dedicated quad-mode (x4) SPI bus. When the system starts, the contents of the flash memory are read and the FPGA is configured normally.
I would like to be able to memorize the latest configuration of the PUSH BUTTONS in a non-volatile memory, so that the system at startup can use that configuration.
In other words, I would like to allow the user, the option to write in a non-volatile memory, the latest configuration of the push buttons, without having to change the BITSTREAM all the time.
Something likes partitioning non-volatile memory into two sections:
1- One section will be to store the BITSTREAM for configuration during system startup.
2- The other section will be to allow the user to read, modify (write) and save parameters for the next startup.
Is it possible to do this with the BASYS3?
If so, could you please advise me how to do it?
If not, what kind of system would be needed to achieve this?
Thank you in advance for any suggestions and advices.
Regards,
H
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.