- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Everyone,
I am having an issue programming my device. It compiles fine, then when I try to program the board it says failed. In the system output it has the error:
Error (209040): Can't access JTAG chainError (209040): Can't access JTAG chain
Error (209015): Can't configure device. Expected JTAG ID code 0x02D010DD for device 2, but found JTAG ID code 0xFFFFFFFE. Make sure the location of the target device on the circuit board matches the device's location in the device chain in the Chain Description File (.cdf).
Error (209012): Operation failed
Looking at the JTAG chain debugger, if I test the chain before trying to program the board, it tests fine, outputting: https://alteraforum.com/forum/attachment.php?attachmentid=15711&stc=1 https://alteraforum.com/forum/attachment.php?attachmentid=15711&stc=1 However, after attempting to program the board I get the following from the JTAG debugger: https://alteraforum.com/forum/attachment.php?attachmentid=15712&stc=1 Also I double checked I am compiling and programming the correct board. Appreciate any help thanks! https://alteraforum.com/forum/attachment.php?attachmentid=15713&stc=1
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried doing an Auto Detect in the Programmer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Have you tried doing an Auto Detect in the Programmer? --- Quote End --- Yes, it auto-detects the 5CSEMA4U23 which is correct, and the same as what I compiled the project with. However after the device fails to program, if I try to auto-detect again it gives the error in a pop-up window:
Unable to scan device chain. Can't scan JTAG chain. Do you want to open the JTAG Chain Debugger to troubleshoot the JTAG chain?
Which is when it gives those errors about the tdi, tck, and tms connections shown in the previous post screenshots. When I power cycle the board it is again able to auto-detect and the JTAG test comes back clean.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Andrew,
Refer to the reference manual link below - Page 20 & 26 https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/manual/rm_cv_soc_dev_board.pdf Refer to the link below for 'ERROR: Cant access JTAG chain' https://www.altera.com/support/support-resources/knowledge-base/solutions/rd03312011_647.html Refer to the link below for 'ERROR: Can’t configure device. https://www.altera.com/support/support-resources/knowledge-base/solutions/rd04202010_43.html For more info, you can go through the training below on JTAG chain integrity issues https://www.altera.com/support/training/course/odjtag1110.html Thanks.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Hi Andrew, Refer to the reference manual link below - Page 20 & 26 https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/manual/rm_cv_soc_dev_board.pdf Refer to the link below for 'ERROR: Cant access JTAG chain' https://www.altera.com/support/support-resources/knowledge-base/solutions/rd03312011_647.html Refer to the link below for 'ERROR: Can’t configure device. https://www.altera.com/support/support-resources/knowledge-base/solutions/rd04202010_43.html For more info, you can go through the training below on JTAG chain integrity issues https://www.altera.com/support/training/course/odjtag1110.html Thanks. --- Quote End --- Hi Calvin, Thanks for the information, but correct me if I'm wrong but these resources seem more concerned with something being wrong with the physical board? I haven't done the online course though yet. However, When using another project I can program and run the board fine. And I tried running the current project on a different board and it still fails. I'm not sure why but after attempting to program the board. The SOCVHPS disappears from the device chain. And only the 5CSEMA4U23 remains. So when it tries to access the JTAG chain it expects two devices but only finds one.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page