Hi,
I succeeded in programming my board (thanks to lpsmith ) but when I launch OpenOCD I have a strange warning :
$URL: http://svn.berlios.de/svnroot/repos/ope … /openocd.c $
openocd: option requires an argument – ‘f’
Info: options.c:50 configuration_output_handler(): jtag_speed: 20, 20
Info: options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-06-22-10:53) svn:unknown
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0x3ba00477 (Manufacturer: 0x23b, Part: 0xba00, Version: 0x3)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0x16410041 (Manufacturer: 0x020, Part: 0x6410, Version: 0x1)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0x3ba00477 (Manufacturer: 0x23b, Part: 0xba00, Version: 0x3)
Info: jtag.c:1376 jtag_examine_chain(): JTAG device found: 0x16410041 (Manufacturer: 0x020, Part: 0x6410, Version: 0x1)
Warning: jtag.c:1204 jtag_check_value(): value captured during scan didn’t pass the requested check: captured: 0x0f check_value: 0x01 check_mask: 0x0f
Warning: jtag.c:1164 jtag_read_buffer(): in_handler reported a failed check
I did not pay attention there because I could ‘speak’ with the board but when I tried to reset the board, I had the same warning :
reset init
JTAG device found: 0x3ba00477 (Manufacturer: 0x23b, Part: 0xba00, Version: 0x3)
JTAG device found: 0x16410041 (Manufacturer: 0x020, Part: 0x6410, Version: 0x1)
value captured during scan didn’t pass the requested check: captured: 0x0f check_value: 0x01 check_mask: 0x0f
in_handler reported a failed check
target state: halted
target halted due to debug request, current mode: Thread
xPSR: 0x01000000 pc: 0x00000010
The twinkling LED flickers one second then more nothing.
I don’t know if it is a normal behaviour with this command and if that warning is problematic ?
This is my openocd configuration file :
telnet_port 4444
gdb_port 3333
interface ft2232
ft2232_device_desc "Olimex OpenOCD JTAG TINY"
ft2232_layout olimex-jtag
ft2232_vid_pid 0x15ba 0x0004
jtag_speed 20
jtag_nsrst_delay 200
jtag_ntrst_delay 200
reset_config trst_and_srst
jtag_device 4 0x1 0xf 0xe
jtag_device 5 0x1 0x1 0x1e
daemon_startup reset
target cortex_m3 little reset_halt 0
run_and_halt_time 0 30
working_area 0 0x20000000 0x4000 nobackup
flash bank stm32x 0x08000000 0x00010000 0 0 0
Excuse me for my approximate English :oops:
Kinds regards