Hi .. I'm using openocd 0.4. I downloaded a compiled version for MSWindows and I managed to download my software to my stm32 MCU. I downloaded the source code to compile it on Linux but when I run the program I get these errors:

Open On-Chip Debugger 0.4.0 (2010-09-10-21:06)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.berlios.de/doc/doxygen/bugs.html
parport port = 0x0
8 kHz
jtag_nsrst_delay: 100
jtag_ntrst_delay: 100
Info : clock speed 8 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.
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
error: -100
Command handler execution failed

this is the config file:

telnet_port 4444
gdb_port 3333
tcl_port 6666
source [find interface/parport.cfg]
source [find target/stm32.cfg]
init
reset halt
flash write_image erase /root/TETSCADA.bin 0x8000000 bin
resume
shutdown

this is the modified interface/parport.cfg file:

interface parport
parport_port 0
parport_cable wiggler2

this is how I configured the linux version:

./configure --prefix="/usr" --enable-parport --enable-maintainer-mode --disable-shared --enable-verbose --enable-parport-ppdev

Am I missing something here? Why does it work on MSWindows and not on Linux ?

Thanks ...
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to