sietse Geschrieben January 18, 2013 at 09:44 Geschrieben January 18, 2013 at 09:44 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 Zitieren
borg Geschrieben January 18, 2013 at 13:09 Geschrieben January 18, 2013 at 13:09 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. Zitieren
sietse Geschrieben February 21, 2013 at 12:12 Autor Geschrieben February 21, 2013 at 12:12 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 Zitieren
borg Geschrieben February 21, 2013 at 12:22 Geschrieben February 21, 2013 at 12:22 Do you get some kind of error message? Did you configure the correct microcontroller (atsam3s4c vs atsam3s2b)? Zitieren
sietse Geschrieben February 21, 2013 at 13:14 Autor Geschrieben February 21, 2013 at 13:14 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 Zitieren
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.