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

Delete some sectors via ASP programming from jic file

Honored Contributor II



we have a Cyclone IV design that is loaded from an SPI flash in ASP mode. To program the flash we use 

Quartus programmer and a jic file. This all works fine. 


At some offset in the flash we have an alternative bitstream image that is updated from our 

application and we use ALT_REMOTE_UPDATE ip to switch between the initial and the application bitstream. 


Now I noticed that the quartus programmer only updates the first image when I use the erase and programming function. 

I did not find a way to at least erase the 2nd image in flash. I tried adding a hex file to the jic file that should be flash over the second image. 

This hex file contains all 0xff (erase flash). But the programmer does not write this to SPI flash. I my hex file contains 

some bytes != 0xff they will be programmed but again only the flash pages that contain these bytes are touched. 


Is there any way to create a jic file that erases (write 0xff) to some flash regions? 


This is my current cof file to create the jic file: 


<?xml version="1.0" encoding="US-ASCII" standalone="yes"?> 








































0 Kudos
0 Replies