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

MAX 10 JTAG programming

Dan_Suciu
Beginner
183 Views

Hello,

I am trying to implement a uC based JTAG re-programming of a MAX10  10M16SAE144 chip by using a .svf file (when no physical access to the JTAG connector is available in the field).

I generated the .svf file using Quartus Prime Lite Edition Programmer and I could find in MAX 10 documentation most of the ISP instructions codes generated in the .svf file, except for: x307,  x3F2 and x3F4.  Anyone knows what are those instructions doing?

I have occasional errors in the verification process and I hope to correct them by erasing and re-writing those pages only.

The only instruction code I could find about erasing is x2F2, but it is not clear to me, if that will erase only the page starting at the address provided with the earlier ISC_ADDRESS_SHIFT instruction, or all subsequent pages.

Instruction x3F2 seems to be a general ERASE.

There is any document describing all ISP instructions available to the user?

Thank you,

Dan

 

Labels (1)
0 Kudos
2 Replies
Mikexx
New Contributor I
108 Views

I know I am not directly answering your question, but ..........

 

I was wondering if you were reliant on the JTAG pullups for a logic high, or if you're using push-pull MCU outputs. I would strongly recommend using push-pull for the clock if nothing else.

 

If you're already doing this then I can't explain the issues you're seeing.

0 Kudos
Dan_Suciu
Beginner
24 Views

Hello Mike,

 

Thank you for your reply. Definitely the signals rise/fall time  and levels are very important. 

I have the micro-controller with pins outputs push/pull mode and the signals are shorter rise/fall time (approx. 10ns 10% to 90%), compared with USB Blaster used to program .pof file over the same JTAG interface.

The clock frequency I use is lower than used in Blaster, and the calculated delays when generating .svf file, should be longer than required.

I was able to generate a version of the .svf file doing only erase and verify the blank memory using the Blaster.

Thank you anyway,

Dan

0 Kudos
Reply