FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5153 Discussions

Cyclone V, problem when the JTAG configuring flash MT25QL256(micron) with .jic

NAdel1
Novice
371 Views

I understand that the jtag puts some SPI controller in the FPGA to talk to the flash, but i see that before the jtag configuring the flash, the FPGA check something in the flash before it puts .jic in it.

what is it checking there(read ID, read non-volatile register,...)?

I ask because i can read/write to the flash with my design but i can't access with jtag, not even verify or blank-check because after it puts the SPI controller in the FPGA it "failed".

 

 in addition, I saw that the jtag configures the non-volatile register in the flash. Just saying.

 

JT

0 Kudos
3 Replies
ShafiqY_Intel
Employee
225 Views

Hi NAdel1,

 

MT25QL256 device is used 4-byte addressing. Thus, Quartus Progammer set the non-volatile configuration register (NVCR) during programming operation.

However, if you are using a third party programmer, you need to set the register manually.

 

Cheers

NAdel1
Novice
225 Views

​Thanks for your response.

I understand that the flash's Non-Volatile Register is configuring during the process.

My question is more specific, the SPI controller that the JTAG puts in the FPGA read something from the flash and if it don’t like it, the 'flash loading' "failed".

What the SPI controller reading before loading the flash? 

ShafiqY_Intel
Employee
225 Views

Hi NAdel1,

 

I'm apologize for late reply. I'm AFK for couple of days.

 

To understand better regarding this, go to Quartus > File > Convert Programming File.. In Programming file type option choose JTAG Indirect Configuration file (.JIC).... Then, select "..." option:

... option.JPG

 

Then, you select the reference for MT25Q01G device

... option 2.JPG

 

Here, you can understand how it have been Initialization, Program, Erase, Verif/Blank-Check/Examine, and termination.

... option 3.JPG

 

I hope found this informative.

 

NOTED: This feature only avalaible in Quartus 18.1.1 (standard version) / Quartus 19.1 (pro version) onwards.

 

 

Cheers.

Reply