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,
May i know which SOF bitstream you are using in the design example? Can you create a simple SOF file with simple input and output initialization and program and see?
Meanwhile for the warning message regarding to CMF, it can be safely ignored.
Thank You.
Regards,
bruce
- leondietrich5 years ago
Occasional Contributor
Hi,
from the BTS we've tried bts_config.sof and qsfpdd_xcvr_nrz_25gbps.sof as well as the GPIO example. The Bitstream we've provided above (Have a look inside Hello_World.tar.xz), initializes the I/O and toggles the GPIO and QSFP leds at 1Hz. Besides writing a bitstream generated by the golden top example, I'm out of Ideas what could be more simple.
Also I observed that sometimes, the first JTAG timeout error message occures prior to the 209060 message indicating the start of the programming process.