hello, I am kinda new with using development boards, and the last couple of days I am trying to play with the device I bought. But I am not able to acually program something in the device.
I am working with Windows XP, SP3, 32bit
The device I bought was from Olimex, :
STM32-P107
with the JTAG cable: ARM-USB-Tiny-H
I followed the instructions in the manual on the cd. It installes Eclipse and OpenOCD 0.3.0
But when I want to run the dev after building all (software is provided with a basic program) I get the folowing messages in the console
Open On-Chip Debugger 0.3.0 (2009-11-07-14:18)
$URL$
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
jtag_nsrst_delay: 300
jtag_ntrst_delay: 200
RCLK - adaptive
Info : max TCK change to: 30000 kHz
Info : RCLK (adaptive clock speed)
Error: couldn't read enough bytes from FT2232 device (0 < 81)
Error: couldn't read from FT2232
Error: couldn't read enough bytes from FT2232 device (0 < 81)
Error: couldn't read from FT2232
If I also use the debug mode I see the folowing message in the console:
Open On-Chip Debugger 0.3.0 (2009-11-07-14:18)
$URL$
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
jtag_nsrst_delay: 300
jtag_ntrst_delay: 200
RCLK - adaptive
Info : max TCK change to: 30000 kHz
Info : RCLK (adaptive clock speed)
Error: couldn't read enough bytes from FT2232 device (0 < 81)
Error: couldn't read from FT2232
Error: couldn't read enough bytes from FT2232 device (0 < 81)
Error: couldn't read from FT2232
Info : accepting 'gdb' connection from 0
Warn : acknowledgment received, but no packet pending
undefined debug reason 6 - target needs reset
Error: Target not examined yet
Error: Target not examined yet
RCLK - adaptive
Error: Target not examined yet
Runtime error, file "c:/gccfd/openocd/share/openocd/scripts/board/olimex_sam9_l9260.cfg", line 4:
Error: couldn't read enough bytes from FT2232 device (0 < 81)
Error: couldn't read from FT2232
error: -104
Runtime error, file "command.c", line 473:
Warn : negative acknowledgment, but no packet pending
Warn : negative acknowledgment, but no packet pending
dcc downloads are disabled
Error: Target not examined yet
Error: unexpected error -4
Error: Target not examined yet
Warn : target not halted
Info : can't add breakpoint while target is running (BPID: 0)
and
target remote :3333
0x00000000 in ?? ()
monitor reset init
RCLK - adaptive
Target not examined yet
Runtime error, file "c:/gccfd/openocd/share/openocd/scripts/board/olimex_sam9_l9260.cfg", line 4:
couldn't read enough bytes from FT2232 device (0 < 81)
couldn't read from FT2232
error: -104
Runtime error, file "command.c", line 473:
monitor arm7_9 dcc_downloads disable
dcc downloads are disabled
load
Loading section .fixed, size 0x1d20 lma 0x20000000
Load failed
Hardware assisted breakpoint 1 at 0x200004ac: file main.c, line 348.
thbreak main
continue
Warning:
Cannot insert hardware breakpoint 1.
Could not insert hardware breakpoints:
You may have requested too many hardware breakpoints/watchpoints.
I know by searching on this forum, that there were other people with this problem, and I have red them all but somehow I am doing something wrong
Can anybody help me how to fix this problem so I can program software in the device? Also help me what .cfg files I have to change to make everything work?
If you need more info Ill supply them.