Forum Discussion
Intel Agilex F-Series dev kit cant be programmed by JTAG
- 5 years ago
Hi,
thanks a lot for your help! We've fixed this issue now. One thing we'd like to share, for a potential future reader, is that in addition to the above mentioned article one needs to completely erase the flash prior to configuring. Our working solutions looks like the following:
- Power off the board. Waiting for the caps to be drained doesn't seam to be necessary.
- Set MSEL[2:0] to ON/OFF/OFF
- Power on the board.
- Erase the boards flash using the programmer tools
- Power off the board.
- Set MSEL[2:0] to OFF/OFF/OFF
- Power on the board
- Programm your *.sof file.
It's also required to leave the JTAG chain in the default configuration while erasing the flash. Last but not least: If step 8 fails retry a couple of times until it stops failing (we usually don't need more than 3 tries). It also seams to be more reliable (programming fails less often) at 24MHz than 6MHz, which the programmer defaults to anyway.
Hi,
Recently, I meet the same problem and struggle on it for couple of weeks. I read your solution and wanted to apply it to my PCB. But I encountered one problem when Erase the boards flash. I used the system console -->SDM Debugging Toolkit to erase the flash. However, the Toolkit replied message as shown below:
'QSPI Flash Sector 0x00000000: Erase Error'
It seems that the SDM Debugging Toolkit is useless when the device is not configured.
Can you clarify that how do you erase the boards flash using the programmer tools.
Thank you!
- leondietrich5 years ago
Occasional Contributor
Well,
We're using the Quartus Programmer to erase the flash. Open the programmer from the Quartus menu -> click on "Auto Detect" to get the correct chain -> select erase for the flash chip -> press start
- Star5 years ago
New Contributor
Hi,
We've tried your method and the programming always fails at 99%. The error messages are shown below:
'Unexpected error in JTAG server: JTAG chain broken
Unexpected error in JTAG server: JTAG chain broken
Unexpected error in JTAG server: JTAG chain broken
Unexpected error in JTAG server: JTAG chain broken
Device not responding
Unexpected error in JTAG server: JTAG chain broken
Operation failed'
Have you ever met the same problem?
- leondietrich5 years ago
Occasional Contributor
We indeed sometimes have a problem where the programmer failes at 99 percent but I can't recall ever having received those error messages. Usually the error resolves itself after rebooting the computer running the Jtag server. We redo the above meantioned steps prior to every programming attempt and that seams to work for us.