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.
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
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.
- Star5 years ago
New Contributor
Thanks a lot for your replay!
We tried to redo the steps today and it seems sometimes the programmer reached 100% and soon down back to 0%. And another error occurred indicating the failure of FLASH:
'Configuring device index 1
Configuration succeeded at device index 1
Access to flash interface is denied. Potential errors: The device is not configured to setup the flash interface.
Operation failed'
We have checked the FLASH ID selection and the circuits around the FLASH on the PCB and there seems to be no mistakes. Have you ever met the same problem?