Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
19528 Discussions

How to erase a bitstream from a MAX10 using a microcontroller?

Honored Contributor II

As a part of my application I need to erase the bitstream (.pof) that is stored in flash memory from an FFPGA (Flash FPGA, e.g. MAX10) using a microcontroller or any other logic. How can I achieve that? I analyzed max10 documentation ( and still didn't find any easy (and fully documented) solution. I was trying to use JTAG In-System Programming and invoke ISC_ERASE command, but it seems not to work properly when "Verify protect" option is set. Is there any easier way to achieve that? 


There is also the solution for another problem: when you can read: 



--- Quote Start ---  

To regain access to the JTAG pins, hold either nCONFIG, nSTATUS or CONF_DONE pins low when reprogramming your device. This will prevent internal configuration from being successfully executed. you may then erase the cfm content from the device by holding either one of these pins low throughout the erase process. Once the erase is complete, you will then be able to regain access to the JTAG pins. 

--- Quote End ---  



But the question is: how to perform this erase process and how to verify that no information about bitstream could be extracted from erased memory?
0 Kudos
0 Replies