i just got my BusmasterV4 and a 10-pin to 20-pin JTAG Adapter from watterott. Now i soldered the headers and connected the busblaster to my usb port.
But even with the battery connected i do not get openocd nor eclipse to work with it.
make openocd says:
bitcraze@bitcraze-vm:~/projects/crazyflie-firmware$ make openocd
openocd -d0 -f interface/busblaster.cfg -f target/stm32f1x.cfg -c init -c targets
Open On-Chip Debugger 0.6.1 (2012-12-06-17:21)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
debug_level: 0
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
jtag_ntrst_delay: 100
cortex_m3 reset_config sysresetreq
Polling target failed, GDB will be halted. Polling again in 100ms
Polling target failed, GDB will be halted. Polling again in 300ms
TargetName Type Endian TapName State
-- ------------------ ---------- ------ ------------------ ------------
0* stm32f1x.cpu cortex_m3 little stm32f1x.cpu unknown
Polling target failed, GDB will be halted. Polling again in 700ms
Polling target failed, GDB will be halted. Polling again in 1500ms
Polling target failed, GDB will be halted. Polling again in 3100ms
Polling target failed, GDB will be halted. Polling again in 6300ms
Error: Target not examined yet
Error: auto_probe failed
Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'.
Error: attempted 'gdb' connection rejected
Polling target failed, GDB will be halted. Polling again in 6300ms
Polling target failed, GDB will be halted. Polling again in 6300ms
Polling target failed, GDB will be halted. Polling again in 6300ms
eclipse running the debug configuration crazyflie gdb says:
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
Remote connection closed
Remote connection closed
Does anyone have an idea? i am not expeienced with debugging over jtag at all
![:-( :(](./images/smilies/icon_e_sad.gif)