[En-Nut-Discussion] Download on Ethernut 3.1

Gustav Schindler Mechatronik office at gustavschindler.com
Sun Oct 21 15:58:29 CEST 2012


Dear Sirs!

In summer 2011 I make an application wit ethernut 3.1.
it work's fine.

Last week I wont to change something in the program with new OS 4.10.3.

Compiling is running OK.

But in task BURN i get some errors.

Example 1:

C:\ethernut-4.10\nutapp\rs232d>make all burn
make: Nothing to be done for `all'.
openocd -s ../../nut/tools/turtelizer2 -c "source [find 
interface/turtelizer2.cfg]" -c "source [find board/ethernut3.cfg]" -c 
init -c "run_flash_image ./r......
s232d.hex" -c shutdown
Open On-Chip Debugger 0.4.0-rc1 (2010-02-02-07:03)
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
srst_only srst_pulls_trst srst_gates_jtag srst_open_drain
jtag_nsrst_delay: 300
jtag_ntrst_delay: 300
fast memory access is enabled
dcc downloads are enabled
3000 kHz
Info : device: 4 "2232C"
Info : deviceID: 67354056
Info : SerialNumber: TLUKCDFVA
Info : Description: Turtelizer JTAG/RS232 Adapter A
Info : clock speed 3000 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Command handler execution failed
Warn : jtag initialization failed; try 'jtag init' again.
Runtime error, file "command.c", line 637:
     invalid command name "run_flash_image"
make: *** [burn] Error 1

Example 2;

 > Open On-Chip Debugger
 > reset init
JTAG scan chain interrogation failed: all zeroes
Check JTAG interface, timings, target power, etc.
Trying to use configured scan chain anyway...
at91r40008.cpu: IR capture error; saw 0x00 not 0x01
Bypassing JTAG setup events due to errors
srst pulls trst - can not reset into halted mode. Issuing halt after reset.
Halt timed out, wake up GDB.
timed out while waiting for target halted
TARGET: at91r40008.cpu - Not halted

in procedure 'reset'
 > reset halt
JTAG scan chain interrogation failed: all zeroes
Check JTAG interface, timings, target power, etc.
Trying to use configured scan chain anyway...
at91r40008.cpu: IR capture error; saw 0x00 not 0x01
Bypassing JTAG setup events due to errors
srst pulls trst - can not reset into halted mode. Issuing halt after reset.
Halt timed out, wake up GDB.
timed out while waiting for target halted
TARGET: at91r40008.cpu - Not halted

in procedure 'reset'
 > reset
JTAG scan chain interrogation failed: all zeroes
Check JTAG interface, timings, target power, etc.
Trying to use configured scan chain anyway...
at91r40008.cpu: IR capture error; saw 0x00 not 0x01
Bypassing JTAG setup events due to errors
 > scan_chain
    TapName             Enabled  IdCode     Expected   IrLen IrCap IrMask
-- ------------------- -------- ---------- ---------- ----- ----- ------
  0 at91r40008.cpu         Y     0x00000000 0x1f0f0f0f     4 0x01  0x0f
 > Open On-Chip Debugger
 >
 > reset
JTAG scan chain interrogation failed: all zeroes
Check JTAG interface, timings, target power, etc.
Trying to use configured scan chain anyway...
at91r40008.cpu: IR capture error; saw 0x00 not 0x01
Bypassing JTAG setup events due to errors
 > reset init
JTAG scan chain interrogation failed: all zeroes
Check JTAG interface, timings, target power, etc.
Trying to use configured scan chain anyway...
at91r40008.cpu: IR capture error; saw 0x00 not 0x01
Bypassing JTAG setup events due to errors
srst pulls trst - can not reset into halted mode. Issuing halt after reset.
Halt timed out, wake up GDB.
timed out while waiting for target halted
TARGET: at91r40008.cpu - Not halted

in procedure 'reset'
 >

I thing something is damaged. The Turtelizer2 or the CPU?

Kan You help me??

best Regards

Gustav Schindler
Mechatronik

Meisengasse 3
2331 Vösendorf

Tel . +43 676 7896643
Fax: +43(0) 1 2440983
e_Mail: office at gustavschindler.com
web: www.gustavschindler.com

UID: ATU65487234







More information about the En-Nut-Discussion mailing list