Openocd stops with "Command/target: stm32.cpu Exists"

I have been following the user guide to get running on Olimex stm-h103 ie stm32, openocd 0.4.0.

I am using the supplied cfg files; stm32.cfg olimex_stm32_h103.cfg olimex-jtag-timy.cfg

Openocd runs and finds the cfg files ok, creates TAPS but then ends with “Command/target: stm32.cpu Exists”. I do not get “tap/device found” and no flashing lights.

From the log it looks like the cfg is attempted twice…?? perhaps after a failed flash attempt? There are no errors posted that I can see.

Any help would be appreciated; system is Eclipse,cygwin (on windows7), openocd 0.4.0. jtag tiny drivers etc appear ok.

Open On-Chip Debugger 0.4.0 (2010-06-25-11:18)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.berlios.de/doc/doxygen/bugs.html

User : 10 0 command.c:539 command_print(): debug_level: 3

Debug: 11 0 configuration.c:45 add_script_search_dir(): adding C:\gccfd\openocd\src..

Debug: 12 0 configuration.c:45 add_script_search_dir(): adding C:/gccfd/openocd/src/…/share/openocd/scripts

Debug: 13 0 configuration.c:87 find_file(): found olimex-jtag-tiny.cfg

Debug: 14 0 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_interface ft2232

Debug: 15 16 command.c:133 script_debug(): command - interface ocd_interface ft2232

Debug: 17 16 command.c:346 register_command_handler(): registering ‘ocd_ft2232_device_desc’…

Debug: 18 16 command.c:346 register_command_handler(): registering ‘ocd_ft2232_serial’…

Debug: 19 16 command.c:346 register_command_handler(): registering ‘ocd_ft2232_layout’…

Debug: 20 16 command.c:346 register_command_handler(): registering ‘ocd_ft2232_vid_pid’…

Debug: 21 16 command.c:346 register_command_handler(): registering ‘ocd_ft2232_latency’…

Debug: 22 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_ft2232_device_desc Olimex OpenOCD JTAG TINY

Debug: 23 16 command.c:133 script_debug(): command - ft2232_device_desc ocd_ft2232_device_desc Olimex OpenOCD JTAG TINY

Debug: 25 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_ft2232_layout olimex-jtag

Debug: 26 16 command.c:133 script_debug(): command - ft2232_layout ocd_ft2232_layout olimex-jtag

Debug: 28 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_ft2232_vid_pid 0x15ba 0x0004

Debug: 29 16 command.c:133 script_debug(): command - ft2232_vid_pid ocd_ft2232_vid_pid 0x15ba 0x0004

Debug: 31 16 configuration.c:87 find_file(): found olimex_stm32_h103.cfg

Debug: 32 16 configuration.c:87 find_file(): found target/stm32.cfg

Debug: 33 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_khz 1000

Debug: 34 16 command.c:133 script_debug(): command - jtag_khz ocd_jtag_khz 1000

Debug: 36 16 core.c:1560 jtag_config_khz(): handle jtag khz

Debug: 37 16 core.c:1523 jtag_khz_to_speed(): convert khz to interface specific speed value

User : 38 16 command.c:539 command_print(): 1000 kHz

Debug: 39 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_nsrst_delay 100

Debug: 40 16 command.c:133 script_debug(): command - jtag_nsrst_delay ocd_jtag_nsrst_delay 100

User : 42 16 command.c:539 command_print(): jtag_nsrst_delay: 100

Debug: 43 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 100

Debug: 44 16 command.c:133 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 100

User : 46 16 command.c:539 command_print(): jtag_ntrst_delay: 100

Debug: 47 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap stm32 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x3ba00477

Debug: 48 16 command.c:133 script_debug(): command - ocd_jtag ocd_jtag newtap stm32 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x3ba00477

Debug: 49 16 tcl.c:568 jim_newtap_cmd(): Creating New Tap, Chip: stm32, Tap: cpu, Dotted: stm32.cpu, 8 params

Debug: 50 16 tcl.c:585 jim_newtap_cmd(): Processing option: -irlen

Debug: 51 16 tcl.c:585 jim_newtap_cmd(): Processing option: -ircapture

Debug: 52 16 tcl.c:585 jim_newtap_cmd(): Processing option: -irmask

Debug: 53 16 tcl.c:585 jim_newtap_cmd(): Processing option: -expected-id

Debug: 54 16 core.c:1300 jtag_tap_init(): Created Tap: stm32.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf

Debug: 55 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap stm32 bs -irlen 5 -expected-id 0x16410041

Debug: 56 16 command.c:133 script_debug(): command - ocd_jtag ocd_jtag newtap stm32 bs -irlen 5 -expected-id 0x16410041

Debug: 57 16 tcl.c:568 jim_newtap_cmd(): Creating New Tap, Chip: stm32, Tap: bs, Dotted: stm32.bs, 4 params

Debug: 58 16 tcl.c:585 jim_newtap_cmd(): Processing option: -irlen

Debug: 59 16 tcl.c:585 jim_newtap_cmd(): Processing option: -expected-id

Debug: 60 16 core.c:1300 jtag_tap_init(): Created Tap: stm32.bs @ abs position 0, irlen 5, capture: 0x1 mask: 0x3

Debug: 61 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_target create stm32.cpu cortex_m3 -endian little -chain-position stm32.cpu

Debug: 62 16 command.c:133 script_debug(): command - ocd_target ocd_target create stm32.cpu cortex_m3 -endian little -chain-position stm32.cpu

Debug: 63 16 command.c:346 register_command_handler(): registering ‘ocd_dap’…

Debug: 64 16 command.c:346 register_command_handler(): registering ‘ocd_dap’…

Debug: 65 16 command.c:346 register_command_handler(): registering ‘ocd_dap’…

Debug: 66 16 command.c:346 register_command_handler(): registering ‘ocd_dap’…

Debug: 67 16 command.c:346 register_command_handler(): registering ‘ocd_dap’…

Debug: 68 16 command.c:346 register_command_handler(): registering ‘ocd_cortex_m3’…

Debug: 69 16 command.c:346 register_command_handler(): registering ‘ocd_cortex_m3’…

Debug: 70 16 command.c:346 register_command_handler(): registering ‘ocd_cortex_m3’…

Debug: 71 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 72 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 73 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 74 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 75 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 76 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 77 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 78 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 79 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 80 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 81 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 82 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 83 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 84 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 85 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 86 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 87 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 88 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 89 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 90 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 91 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 92 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 93 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 94 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 95 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 96 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 97 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 98 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 99 16 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 100 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_stm32.cpu configure -work-area-phys 0x20000000 -work-area-size 0x5000 -work-area-backup 0

Debug: 101 16 command.c:133 script_debug(): command - ocd_stm32.cpu ocd_stm32.cpu configure -work-area-phys 0x20000000 -work-area-size 0x5000 -work-area-backup 0

Debug: 102 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32.flash stm32x 0 0 0 0 stm32.cpu

Debug: 103 16 command.c:133 script_debug(): command - ocd_flash ocd_flash bank stm32.flash stm32x 0 0 0 0 stm32.cpu

Debug: 105 16 command.c:346 register_command_handler(): registering ‘ocd_stm32x’…

Debug: 106 16 command.c:346 register_command_handler(): registering ‘ocd_stm32x’…

Debug: 107 16 command.c:346 register_command_handler(): registering ‘ocd_stm32x’…

Debug: 108 16 command.c:346 register_command_handler(): registering ‘ocd_stm32x’…

Debug: 109 16 command.c:346 register_command_handler(): registering ‘ocd_stm32x’…

Debug: 110 16 configuration.c:87 find_file(): found stm32.cfg

Debug: 111 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_khz 1000

Debug: 112 16 command.c:133 script_debug(): command - jtag_khz ocd_jtag_khz 1000

Debug: 114 16 core.c:1560 jtag_config_khz(): handle jtag khz

Debug: 115 16 core.c:1523 jtag_khz_to_speed(): convert khz to interface specific speed value

User : 116 16 command.c:539 command_print(): 1000 kHz

Debug: 117 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_nsrst_delay 100

Debug: 118 16 command.c:133 script_debug(): command - jtag_nsrst_delay ocd_jtag_nsrst_delay 100

User : 120 16 command.c:539 command_print(): jtag_nsrst_delay: 100

Debug: 121 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 100

Debug: 122 16 command.c:133 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 100

User : 124 16 command.c:539 command_print(): jtag_ntrst_delay: 100

Debug: 125 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap stm32 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x3ba00477

Debug: 126 16 command.c:133 script_debug(): command - ocd_jtag ocd_jtag newtap stm32 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x3ba00477

Debug: 127 16 tcl.c:568 jim_newtap_cmd(): Creating New Tap, Chip: stm32, Tap: cpu, Dotted: stm32.cpu, 8 params

Debug: 128 16 tcl.c:585 jim_newtap_cmd(): Processing option: -irlen

Debug: 129 16 tcl.c:585 jim_newtap_cmd(): Processing option: -ircapture

Debug: 130 16 tcl.c:585 jim_newtap_cmd(): Processing option: -irmask

Debug: 131 16 tcl.c:585 jim_newtap_cmd(): Processing option: -expected-id

Debug: 132 16 core.c:1300 jtag_tap_init(): Created Tap: stm32.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf

Debug: 133 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap stm32 bs -irlen 5 -expected-id 0x06412041

Debug: 134 16 command.c:133 script_debug(): command - ocd_jtag ocd_jtag newtap stm32 bs -irlen 5 -expected-id 0x06412041

Debug: 135 16 tcl.c:568 jim_newtap_cmd(): Creating New Tap, Chip: stm32, Tap: bs, Dotted: stm32.bs, 4 params

Debug: 136 16 tcl.c:585 jim_newtap_cmd(): Processing option: -irlen

Debug: 137 16 tcl.c:585 jim_newtap_cmd(): Processing option: -expected-id

Debug: 138 16 core.c:1300 jtag_tap_init(): Created Tap: stm32.bs @ abs position 0, irlen 5, capture: 0x1 mask: 0x3

Debug: 139 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_target create stm32.cpu cortex_m3 -endian little -chain-position stm32.cpu

Debug: 140 16 command.c:133 script_debug(): command - ocd_target ocd_target create stm32.cpu cortex_m3 -endian little -chain-position stm32.cpu

User : 141 16 command.c:824 openocd_jim_vfprintf(): Command/target: stm32.cpu Exists

User : 144 16 command.c:824 openocd_jim_vfprintf():

User : 146 16 command.c:824 openocd_jim_vfprintf():

User : 149 16 command.c:824 openocd_jim_vfprintf():

User : 151 16 command.c:824 openocd_jim_vfprintf():

User : 153 16 command.c:824 openocd_jim_vfprintf():

User : 155 16 command.c:824 openocd_jim_vfprintf():

User : 157 16 command.c:824 openocd_jim_vfprintf():

Found solution, no need to include -f stm32.cfg in openocd launch command, only need to include Interface and Board cfg files.

For info this is the log from a successul OpenOCD 0.4.0 start with command arguments;

-f olimex-jtag-tiny.cfg

-f olimex_stm32_h103.cfg

Open On-Chip Debugger 0.4.0 (2010-06-25-11:18)

Licensed under GNU GPL v2

For bug reports, read

http://openocd.berlios.de/doc/doxygen/bugs.html

User : 10 0 command.c:539 command_print(): debug_level: 3

Debug: 11 0 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_debug_level 3

Debug: 12 0 command.c:133 script_debug(): command - debug_level ocd_debug_level 3

User : 14 0 command.c:539 command_print(): debug_level: 3

Debug: 15 0 configuration.c:45 add_script_search_dir(): adding C:\Eclipse\openocd\src..

Debug: 16 0 configuration.c:45 add_script_search_dir(): adding C:/Eclipse/openocd/src/…/share/openocd/scripts

Debug: 17 0 configuration.c:87 find_file(): found olimex-jtag-tiny.cfg

Debug: 18 0 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_interface ft2232

Debug: 19 0 command.c:133 script_debug(): command - interface ocd_interface ft2232

Debug: 21 0 command.c:346 register_command_handler(): registering ‘ocd_ft2232_device_desc’…

Debug: 22 0 command.c:346 register_command_handler(): registering ‘ocd_ft2232_serial’…

Debug: 23 0 command.c:346 register_command_handler(): registering ‘ocd_ft2232_layout’…

Debug: 24 0 command.c:346 register_command_handler(): registering ‘ocd_ft2232_vid_pid’…

Debug: 25 0 command.c:346 register_command_handler(): registering ‘ocd_ft2232_latency’…

Debug: 26 0 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_ft2232_device_desc Olimex OpenOCD JTAG TINY

Debug: 27 0 command.c:133 script_debug(): command - ft2232_device_desc ocd_ft2232_device_desc Olimex OpenOCD JTAG TINY

Debug: 29 0 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_ft2232_layout olimex-jtag

Debug: 30 0 command.c:133 script_debug(): command - ft2232_layout ocd_ft2232_layout olimex-jtag

Debug: 32 0 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_ft2232_vid_pid 0x15ba 0x0004

Debug: 33 0 command.c:133 script_debug(): command - ft2232_vid_pid ocd_ft2232_vid_pid 0x15ba 0x0004

Debug: 35 0 configuration.c:87 find_file(): found olimex_stm32_h103.cfg

Debug: 36 0 configuration.c:87 find_file(): found target/stm32.cfg

Debug: 37 0 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_khz 8

Debug: 38 0 command.c:133 script_debug(): command - jtag_khz ocd_jtag_khz 8

Debug: 40 0 core.c:1560 jtag_config_khz(): handle jtag khz

Debug: 41 0 core.c:1523 jtag_khz_to_speed(): convert khz to interface specific speed value

User : 42 0 command.c:539 command_print(): 8 kHz

Debug: 43 0 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_nsrst_delay 100

Debug: 44 0 command.c:133 script_debug(): command - jtag_nsrst_delay ocd_jtag_nsrst_delay 100

User : 46 0 command.c:539 command_print(): jtag_nsrst_delay: 100

Debug: 47 0 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 100

Debug: 48 0 command.c:133 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 100

User : 50 0 command.c:539 command_print(): jtag_ntrst_delay: 100

Debug: 51 0 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap stm32 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x3ba00477

Debug: 52 0 command.c:133 script_debug(): command - ocd_jtag ocd_jtag newtap stm32 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x3ba00477

Debug: 53 0 tcl.c:568 jim_newtap_cmd(): Creating New Tap, Chip: stm32, Tap: cpu, Dotted: stm32.cpu, 8 params

Debug: 54 0 tcl.c:585 jim_newtap_cmd(): Processing option: -irlen

Debug: 55 0 tcl.c:585 jim_newtap_cmd(): Processing option: -ircapture

Debug: 56 0 tcl.c:585 jim_newtap_cmd(): Processing option: -irmask

Debug: 57 0 tcl.c:585 jim_newtap_cmd(): Processing option: -expected-id

Debug: 58 0 core.c:1300 jtag_tap_init(): Created Tap: stm32.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf

Debug: 59 0 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap stm32 bs -irlen 5 -expected-id 0x16410041

Debug: 60 0 command.c:133 script_debug(): command - ocd_jtag ocd_jtag newtap stm32 bs -irlen 5 -expected-id 0x16410041

Debug: 61 0 tcl.c:568 jim_newtap_cmd(): Creating New Tap, Chip: stm32, Tap: bs, Dotted: stm32.bs, 4 params

Debug: 62 0 tcl.c:585 jim_newtap_cmd(): Processing option: -irlen

Debug: 63 0 tcl.c:585 jim_newtap_cmd(): Processing option: -expected-id

Debug: 64 0 core.c:1300 jtag_tap_init(): Created Tap: stm32.bs @ abs position 0, irlen 5, capture: 0x1 mask: 0x3

Debug: 65 0 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_target create stm32.cpu cortex_m3 -endian little -chain-position stm32.cpu

Debug: 66 0 command.c:133 script_debug(): command - ocd_target ocd_target create stm32.cpu cortex_m3 -endian little -chain-position stm32.cpu

Debug: 67 0 command.c:346 register_command_handler(): registering ‘ocd_dap’…

Debug: 68 0 command.c:346 register_command_handler(): registering ‘ocd_dap’…

Debug: 69 0 command.c:346 register_command_handler(): registering ‘ocd_dap’…

Debug: 70 0 command.c:346 register_command_handler(): registering ‘ocd_dap’…

Debug: 71 0 command.c:346 register_command_handler(): registering ‘ocd_dap’…

Debug: 72 0 command.c:346 register_command_handler(): registering ‘ocd_cortex_m3’…

Debug: 73 0 command.c:346 register_command_handler(): registering ‘ocd_cortex_m3’…

Debug: 74 0 command.c:346 register_command_handler(): registering ‘ocd_cortex_m3’…

Debug: 75 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 76 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 77 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 78 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 79 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 80 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 81 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 82 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 83 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 84 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 85 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 86 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 87 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 88 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 89 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 90 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 91 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 92 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 93 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 94 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 95 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 96 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 97 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 98 0 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 99 15 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 100 15 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 101 15 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 102 15 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 103 15 command.c:346 register_command_handler(): registering ‘ocd_stm32.cpu’…

Debug: 104 15 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_stm32.cpu configure -work-area-phys 0x20000000 -work-area-size 0x5000 -work-area-backup 0

Debug: 105 15 command.c:133 script_debug(): command - ocd_stm32.cpu ocd_stm32.cpu configure -work-area-phys 0x20000000 -work-area-size 0x5000 -work-area-backup 0

Debug: 106 15 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32.flash stm32x 0 0 0 0 stm32.cpu

Debug: 107 15 command.c:133 script_debug(): command - ocd_flash ocd_flash bank stm32.flash stm32x 0 0 0 0 stm32.cpu

Debug: 109 15 command.c:346 register_command_handler(): registering ‘ocd_stm32x’…

Debug: 110 15 command.c:346 register_command_handler(): registering ‘ocd_stm32x’…

Debug: 111 15 command.c:346 register_command_handler(): registering ‘ocd_stm32x’…

Debug: 112 15 command.c:346 register_command_handler(): registering ‘ocd_stm32x’…

Debug: 113 15 command.c:346 register_command_handler(): registering ‘ocd_stm32x’…

Debug: 114 15 httpd_stubs.c:28 httpd_start(): libocdserver was built without HTTPD support

Debug: 115 15 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_init

Debug: 116 15 command.c:133 script_debug(): command - init ocd_init

Debug: 118 15 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_target init

Debug: 119 15 command.c:133 script_debug(): command - ocd_target ocd_target init

Debug: 121 15 target.c:835 handle_target_init_command(): Initializing targets…

Debug: 122 15 command.c:346 register_command_handler(): registering ‘ocd_target_request’…

Debug: 123 15 command.c:346 register_command_handler(): registering ‘ocd_trace’…

Debug: 124 15 command.c:346 register_command_handler(): registering ‘ocd_trace’…

Debug: 125 15 command.c:346 register_command_handler(): registering ‘ocd_fast_load_image’…

Debug: 126 15 command.c:346 register_command_handler(): registering ‘ocd_fast_load’…

Debug: 127 15 command.c:346 register_command_handler(): registering ‘ocd_profile’…

Debug: 128 15 command.c:346 register_command_handler(): registering ‘ocd_virt2phys’…

Debug: 129 15 command.c:346 register_command_handler(): registering ‘ocd_reg’…

Debug: 130 15 command.c:346 register_command_handler(): registering ‘ocd_poll’…

Debug: 131 15 command.c:346 register_command_handler(): registering ‘ocd_wait_halt’…

Debug: 132 15 command.c:346 register_command_handler(): registering ‘ocd_halt’…

Debug: 133 15 command.c:346 register_command_handler(): registering ‘ocd_resume’…

Debug: 134 15 command.c:346 register_command_handler(): registering ‘ocd_reset’…

Debug: 135 15 command.c:346 register_command_handler(): registering ‘ocd_soft_reset_halt’…

Debug: 136 15 command.c:346 register_command_handler(): registering ‘ocd_step’…

Debug: 137 15 command.c:346 register_command_handler(): registering ‘ocd_mdw’…

Debug: 138 15 command.c:346 register_command_handler(): registering ‘ocd_mdh’…

Debug: 139 15 command.c:346 register_command_handler(): registering ‘ocd_mdb’…

Debug: 140 15 command.c:346 register_command_handler(): registering ‘ocd_mww’…

Debug: 141 15 command.c:346 register_command_handler(): registering ‘ocd_mwh’…

Debug: 142 15 command.c:346 register_command_handler(): registering ‘ocd_mwb’…

Debug: 143 15 command.c:346 register_command_handler(): registering ‘ocd_bp’…

Debug: 144 15 command.c:346 register_command_handler(): registering ‘ocd_rbp’…

Debug: 145 15 command.c:346 register_command_handler(): registering ‘ocd_wp’…

Debug: 146 15 command.c:346 register_command_handler(): registering ‘ocd_rwp’…

Debug: 147 15 command.c:346 register_command_handler(): registering ‘ocd_load_image’…

Debug: 148 15 command.c:346 register_command_handler(): registering ‘ocd_dump_image’…

Debug: 149 15 command.c:346 register_command_handler(): registering ‘ocd_verify_image’…

Debug: 150 15 command.c:346 register_command_handler(): registering ‘ocd_test_image’…

Debug: 151 15 command.c:346 register_command_handler(): registering ‘ocd_reset_nag’…

Debug: 152 15 ft2232.c:2097 ft2232_init(): ft2232 interface using shortest path jtag state transitions

Debug: 153 15 ft2232.c:1843 ft2232_init_ftd2xx(): ‘ft2232’ interface using FTD2XX with ‘olimex-jtag’ layout (15ba:0004)

Debug: 154 78 ft2232.c:1954 ft2232_init_ftd2xx(): current latency timer: 2

Info : 155 78 ft2232.c:1981 ft2232_init_ftd2xx(): device: 4 “2232C”

Info : 156 78 ft2232.c:1982 ft2232_init_ftd2xx(): deviceID: 364511236

Info : 157 78 ft2232.c:1983 ft2232_init_ftd2xx(): SerialNumber: FTS932G7A

Info : 158 78 ft2232.c:1984 ft2232_init_ftd2xx(): Description: Olimex OpenOCD JTAG TINY A

Debug: 159 78 ft2232.c:2443 olimex_jtag_init(): 80 08 1b

Debug: 160 78 ft2232.c:2487 olimex_jtag_init(): 82 09 0f

Debug: 161 78 core.c:1523 jtag_khz_to_speed(): convert khz to interface specific speed value

Debug: 162 78 core.c:1527 jtag_khz_to_speed(): have interface set up

Debug: 163 78 ft2232.c:523 ft2232_speed(): 86 ed 02

Debug: 164 109 core.c:1523 jtag_khz_to_speed(): convert khz to interface specific speed value

Debug: 165 109 core.c:1527 jtag_khz_to_speed(): have interface set up

Info : 166 109 core.c:1350 jtag_interface_init(): clock speed 8 kHz

Debug: 167 109 openocd.c:122 handle_init_command(): jtag interface init complete

Debug: 168 109 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag init

Debug: 169 109 command.c:133 script_debug(): command - ocd_jtag ocd_jtag init

Debug: 171 109 tcl.c:854 handle_jtag_init_command(): Initializing jtag devices…

Debug: 172 109 ft2232.c:1361 olimex_jtag_reset(): trst: 0, srst: 0, high_output: 0x01, high_direction: 0x0f

Debug: 173 109 core.c:672 jtag_add_reset(): SRST line released

Debug: 174 109 core.c:697 jtag_add_reset(): TRST line released

Debug: 175 109 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset

Debug: 176 421 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init

Debug: 177 421 command.c:133 script_debug(): command - ocd_jtag ocd_jtag arp_init

Debug: 178 421 core.c:1364 jtag_init_inner(): Init JTAG chain

Debug: 179 421 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset

Debug: 180 421 core.c:1017 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS

Debug: 181 421 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset

Info : 182 499 core.c:917 jtag_examine_chain_display(): JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3)

Info : 183 499 core.c:917 jtag_examine_chain_display(): JTAG tap: stm32.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6410, ver: 0x1)

Debug: 184 499 core.c:1182 jtag_validate_ircapture(): IR capture validation scan

Debug: 185 499 core.c:1243 jtag_validate_ircapture(): stm32.cpu: IR capture 0x01

Debug: 186 499 core.c:1243 jtag_validate_ircapture(): stm32.bs: IR capture 0x01

Debug: 187 499 openocd.c:132 handle_init_command(): Examining targets…

Debug: 188 499 arm_adi_v5.c:1204 ahbap_debugport_init():

Debug: 189 639 arm_adi_v5.c:1265 ahbap_debugport_init(): MEM-AP #0 ID Register 0x14770011, Debug ROM Address 0xe00ff003

Debug: 190 670 target.c:1488 target_read_u32(): address: 0xe000ed00, value: 0x411fc231

Debug: 191 670 cortex_m3.c:1694 cortex_m3_examine(): Cortex-M3 r1p1 processor detected

Debug: 192 670 cortex_m3.c:1695 cortex_m3_examine(): cpuid: 0x411fc231

Debug: 193 702 target.c:1488 target_read_u32(): address: 0xe0002000, value: 0x00000260

Debug: 194 702 cortex_m3.c:1712 cortex_m3_examine(): FPB fpcr 0x260, numcode 6, numlit 2

Debug: 195 733 target.c:1488 target_read_u32(): address: 0xe0001000, value: 0x40000000

Debug: 196 733 cortex_m3.c:1664 cortex_m3_dwt_setup(): DWT dwtcr 0x40000000, comp 4, watch/trigger

Info : 197 733 cortex_m3.c:1721 cortex_m3_examine(): stm32.cpu: hardware has 6 breakpoints, 4 watchpoints

Debug: 198 733 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_flash init

Debug: 199 733 command.c:133 script_debug(): command - ocd_flash ocd_flash init

Debug: 202 780 tcl.c:920 handle_flash_init_command(): Initializing flash devices…

Debug: 203 780 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 204 780 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 205 780 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 206 780 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 207 780 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 208 780 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 209 780 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 210 780 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 211 780 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 212 780 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 213 780 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 214 795 command.c:346 register_command_handler(): registering ‘ocd_flash’…

Debug: 215 795 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_mflash init

Debug: 216 795 command.c:133 script_debug(): command - ocd_mflash ocd_mflash init

Debug: 218 811 mflash.c:1325 handle_mflash_init_command(): Initializing mflash devices…

Debug: 219 811 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_nand init

Debug: 220 811 command.c:133 script_debug(): command - ocd_nand ocd_nand init

Debug: 222 842 tcl.c:536 handle_nand_init_command(): Initializing NAND devices…

Debug: 223 842 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_pld init

Debug: 224 842 command.c:133 script_debug(): command - ocd_pld ocd_pld init

Debug: 226 873 pld.c:231 handle_pld_init_command(): Initializing PLDs…

Debug: 227 873 gdb_server.c:2370 gdb_target_start(): gdb service for target ‘stm32.cpu’ on TCP port 3333