Olimex Support Forum

ARM => JTAG => Topic started by: Tovedal on September 22, 2016, 04:19:13 PM

Title: ARM-USB-TINY-H + Maxim Integrated MAXREFDES#73
Post by: Tovedal on September 22, 2016, 04:19:13 PM
I'm using the ARM-USB-TINY-H Debugger to connect to Maxim Integrated MAXREFDES#73 (https://www.maximintegrated.com/en/design/reference-design-center/system-board/6147.html (https://www.maximintegrated.com/en/design/reference-design-center/system-board/6147.html)), I've set everything up according to the instruction Maxim provides but I can't seem to get it to work.

I've spent a few days googling the errors but I can't seem to reach a conclusion as to what's wrong. However I do get the same errors wether the board is connected to the debugger or not.

Open On-Chip Debugger 0.7.0 (2015-04-02-15:46)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
adapter speed: 4000 kHz
srst_only separate srst_gates_jtag srst_open_drain connect_deassert_srst
Started by GNU ARM Eclipse
Info : clock speed 4000 kHz
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: max32600.cpu: IR capture error; saw 0x0f not 0x01
Warn : Bypassing JTAG setup events due to errors
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Polling target max32600.cpu failed, GDB will be halted. Polling again in 100ms
Polling target max32600.cpu failed, GDB will be halted. Polling again in 300ms
Info : accepting 'gdb' connection from 3333
Warn : acknowledgment received, but no packet pending
undefined debug reason 6 - target needs reset
Error: Target not examined yet
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: max32600.cpu: IR capture error; saw 0x0f not 0x01
Warn : Bypassing JTAG setup events due to errors
Warn : Invalid ACK 0x7 in JTAG-DP transaction
Error: Target not examined yet


in procedure 'reset'
Polling target max32600.cpu failed, GDB will be halted. Polling again in 700ms
Error: Target not examined yet
in procedure 'halt'
Error: Target not halted
Error: failed erasing sectors 0 to 42
Error: flash_erase returned -304
Info : dropped 'gdb' connection


I wonder if there might be som configuration I have not done correctly, this is my first time working with microcontrollers.

Any assistance in deciphering the error message is much appreciated, thank you!
Title: Re: ARM-USB-TINY-H + Maxim Integrated MAXREFDES#73
Post by: JohnS on September 24, 2016, 01:14:11 AM
All ones probably means the hardware is not right.  Check every signal very carefully.

John
Title: Re: ARM-USB-TINY-H + Maxim Integrated MAXREFDES#73
Post by: esb on November 15, 2016, 02:08:53 AM
Tovadal, we are also using a customized Maxim 32600 and are seeing the same error messages when trying to program the flash.  Wonder you have resolved your issue or not?

Thanks,
-joe