sietse Posted January 18, 2013 at 09:44 AM Share Posted January 18, 2013 at 09:44 AM Hello list, I try to use the jtag interface of the debug brick with a Olimex ARM-USB-OCD-H interface and openocd, but the dc brick is not recognized. Openocd gives: ...... Error: JTAG scan chain interrogation failed: all ones Error: Check JTAG interface, timings, target power, etc. Error: Trying to use configured scan chain anyway... Error: sam3.cpu: IR capture error; saw 0x0f not 0x01 ...... Is there anything wrong? Has anyone used the jtag interface? Regards, Sietse Quote Link to comment Share on other sites More sharing options...
borg Posted January 18, 2013 at 01:09 PM Share Posted January 18, 2013 at 01:09 PM Did you remove the "#define DISABLE_JTAG_ON_STARTUP" in config.h? We have to disable JTAG in the production firmwares, since some of the JTAG pins are dual purpose und used for other things. Quote Link to comment Share on other sites More sharing options...
sietse Posted February 21, 2013 at 12:12 PM Author Share Posted February 21, 2013 at 12:12 PM Hello List, I did remove the DISABLE_JTAG_ON_STARTUP, but the problem remains the same. Using a master brick instead of the DC brick DOES work however. So, what else could be the problem, apart from hardware? The DC brick works OK for the rest. Thanks in advance, Sietse Quote Link to comment Share on other sites More sharing options...
borg Posted February 21, 2013 at 12:22 PM Share Posted February 21, 2013 at 12:22 PM Do you get some kind of error message? Did you configure the correct microcontroller (atsam3s4c vs atsam3s2b)? Quote Link to comment Share on other sites More sharing options...
sietse Posted February 21, 2013 at 01:14 PM Author Share Posted February 21, 2013 at 01:14 PM Hello, Don't ask me why, but I tried again, and now both bricks work with jtag debugging. (there we no errors/warnings earlier) Sorry to bother you, regards, Sietse Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.