Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\openocd>openocd.exe -d 3 -f testconfig.cfg
- Open On-Chip Debugger 0.3.0-dev-00338-ga6ad76b (2009-10-14-20:08)
- $URL$
- For bug reports, read
- http://openocd.berlios.de/doc/doxygen/bugs.html
- User : 5 1 command.c:400 command_print(): debug_level: 3
- Debug: 6 2 configuration.c:83 find_file(): found testconfig.cfg
- Debug: 7 82 configuration.c:83 find_file(): found tcl/target/lpc2138.cfg
- Debug: 9 83 command.c:68 script_debug(): command - jtag_nsrst_delay
- Debug: 10 83 command.c:77 script_debug(): jtag_nsrst_delay - argv[0]=ocd_jtag_ns
- rst_delay
- Debug: 11 83 command.c:77 script_debug(): jtag_nsrst_delay - argv[1]=200
- User : 12 84 command.c:400 command_print(): jtag_nsrst_delay: 200
- Debug: 14 84 command.c:68 script_debug(): command - jtag_ntrst_delay
- Debug: 15 86 command.c:77 script_debug(): jtag_ntrst_delay - argv[0]=ocd_jtag_nt
- rst_delay
- Debug: 16 87 command.c:77 script_debug(): jtag_ntrst_delay - argv[1]=200
- User : 17 87 command.c:400 command_print(): jtag_ntrst_delay: 200
- Debug: 19 88 command.c:68 script_debug(): command - reset_config
- Debug: 20 88 command.c:77 script_debug(): reset_config - argv[0]=ocd_reset_confi
- g
- Debug: 21 88 command.c:77 script_debug(): reset_config - argv[1]=trst_and_srst
- Debug: 22 89 command.c:77 script_debug(): reset_config - argv[2]=srst_pulls_trst
- User : 23 89 command.c:400 command_print(): trst_and_srst srst_pulls_trst srst_g
- ates_jtag trst_push_pull srst_open_drain
- Debug: 24 90 tcl.c:246 jim_newtap_cmd(): Creating New Tap, Chip: lpc2138, Tap: c
- pu, Dotted: lpc2138.cpu, 8 params
- Debug: 25 90 tcl.c:266 jim_newtap_cmd(): Processing option: -irlen
- Debug: 26 91 tcl.c:266 jim_newtap_cmd(): Processing option: -ircapture
- Debug: 27 91 tcl.c:266 jim_newtap_cmd(): Processing option: -irmask
- Debug: 28 91 tcl.c:266 jim_newtap_cmd(): Processing option: -expected-id
- Debug: 29 92 core.c:1225 jtag_tap_init(): Created Tap: lpc2138.cpu @ abs positio
- n 0, irlen 4, capture: 0x1 mask: 0xf
- Debug: 30 93 target.c:4333 jim_target(): Target command params:
- Debug: 31 93 target.c:4334 jim_target(): target create lpc2138.cpu arm7tdmi -end
- ian little -chain-position lpc2138.cpu -variant arm7tdmi-s_r4
- Debug: 33 95 command.c:68 script_debug(): command - bank
- Debug: 34 96 command.c:77 script_debug(): bank - argv[0]=ocd_flash_bank
- Debug: 35 97 command.c:77 script_debug(): bank - argv[1]=lpc2000
- Debug: 36 97 command.c:77 script_debug(): bank - argv[2]=0x0
- Debug: 37 100 command.c:77 script_debug(): bank - argv[3]=0x7d000
- Debug: 38 100 command.c:77 script_debug(): bank - argv[4]=0
- Debug: 39 101 command.c:77 script_debug(): bank - argv[5]=0
- Debug: 40 101 command.c:77 script_debug(): bank - argv[6]=0
- Debug: 41 102 command.c:77 script_debug(): bank - argv[7]=lpc2000_v2
- Debug: 42 102 command.c:77 script_debug(): bank - argv[8]=14765
- Debug: 43 102 command.c:77 script_debug(): bank - argv[9]=calc_checksum
- Warn : 44 103 target.c:343 get_target(): use 'lpc2138.cpu' as target identifier,
- not '0'
- Debug: 45 104 configuration.c:83 find_file(): found tcl/interface/olimex-jtag-ti
- ny.cfg
- Debug: 47 105 command.c:68 script_debug(): command - interface
- Debug: 48 105 command.c:77 script_debug(): interface - argv[0]=ocd_interface
- Debug: 49 106 command.c:77 script_debug(): interface - argv[1]=ft2232
- Debug: 51 107 command.c:68 script_debug(): command - ft2232_device_desc
- Debug: 52 113 command.c:77 script_debug(): ft2232_device_desc - argv[0]=ocd_ft22
- 32_device_desc
- Debug: 53 113 command.c:77 script_debug(): ft2232_device_desc - argv[1]=Olimex O
- penOCD JTAG TINY
- Debug: 55 114 command.c:68 script_debug(): command - ft2232_layout
- Debug: 56 114 command.c:77 script_debug(): ft2232_layout - argv[0]=ocd_ft2232_la
- yout
- Debug: 57 115 command.c:77 script_debug(): ft2232_layout - argv[1]=olimex-jtag
- Debug: 59 115 command.c:68 script_debug(): command - ft2232_vid_pid
- Debug: 60 115 command.c:77 script_debug(): ft2232_vid_pid - argv[0]=ocd_ft2232_v
- id_pid
- Debug: 61 116 command.c:77 script_debug(): ft2232_vid_pid - argv[1]=0x15ba
- Debug: 62 117 command.c:77 script_debug(): ft2232_vid_pid - argv[2]=0x0004
- Debug: 64 117 command.c:68 script_debug(): command - gdb_memory_map
- Debug: 65 118 command.c:77 script_debug(): gdb_memory_map - argv[0]=ocd_gdb_memo
- ry_map
- Debug: 66 125 command.c:77 script_debug(): gdb_memory_map - argv[1]=enable
- Debug: 68 126 command.c:68 script_debug(): command - gdb_flash_program
- Debug: 69 127 command.c:77 script_debug(): gdb_flash_program - argv[0]=ocd_gdb_f
- lash_program
- Debug: 70 127 command.c:77 script_debug(): gdb_flash_program - argv[1]=enable
- Debug: 72 127 command.c:68 script_debug(): command - telnet_port
- Debug: 73 128 command.c:77 script_debug(): telnet_port - argv[0]=ocd_telnet_port
- Debug: 74 128 command.c:77 script_debug(): telnet_port - argv[1]=4444
- Debug: 76 129 command.c:68 script_debug(): command - gdb_port
- Debug: 77 129 command.c:77 script_debug(): gdb_port - argv[0]=ocd_gdb_port
- Debug: 78 130 command.c:77 script_debug(): gdb_port - argv[1]=3333
- Debug: 80 131 command.c:68 script_debug(): command - jtag_speed
- Debug: 81 131 command.c:77 script_debug(): jtag_speed - argv[0]=ocd_jtag_speed
- Debug: 82 131 command.c:77 script_debug(): jtag_speed - argv[1]=3
- User : 83 132 command.c:400 command_print(): OLD SYNTAX: DEPRECATED - use jtag_k
- hz, not jtag_speed
- Debug: 84 132 tcl.c:1129 handle_jtag_speed_command(): handle jtag speed
- Debug: 85 133 core.c:1472 jtag_config_speed(): handle jtag speed
- User : 86 133 command.c:400 command_print(): jtag_speed: 3
- Debug: 88 133 command.c:68 script_debug(): command - init
- Debug: 89 134 command.c:77 script_debug(): init - argv[0]=ocd_init
- Debug: 90 135 openocd.c:129 handle_init_command(): target init complete
- Debug: 91 136 ft2232.c:2088 ft2232_init(): ft2232 interface using shortest path
- jtag state transitions
- Debug: 92 136 ft2232.c:1834 ft2232_init_ftd2xx(): 'ft2232' interface using FTD2X
- X with 'olimex-jtag' layout (15ba:0004)
- Debug: 93 185 ft2232.c:1945 ft2232_init_ftd2xx(): current latency timer: 2
- Info : 94 186 ft2232.c:1972 ft2232_init_ftd2xx(): device: 4 "2232C"
- Info : 95 186 ft2232.c:1973 ft2232_init_ftd2xx(): deviceID: 364511236
- Info : 96 187 ft2232.c:1974 ft2232_init_ftd2xx(): SerialNumber: FTS92YOZA
- Info : 97 187 ft2232.c:1975 ft2232_init_ftd2xx(): Description: Olimex OpenOCD JT
- AG TINY A
- Debug: 98 188 ft2232.c:2426 olimex_jtag_init(): 80 08 1b
- Debug: 99 189 ft2232.c:2470 olimex_jtag_init(): 82 09 0f
- Debug: 100 190 ft2232.c:504 ft2232_speed(): 86 03 00
- Info : 101 199 core.c:1275 jtag_interface_init(): clock speed 1500 kHz
- Debug: 102 205 openocd.c:136 handle_init_command(): jtag interface init complete
- Debug: 103 205 ft2232.c:1351 olimex_jtag_reset(): trst: 0, srst: 0, high_output:
- 0x01, high_direction: 0x0f
- Debug: 104 207 core.c:700 jtag_add_reset(): SRST line released
- Debug: 105 207 core.c:725 jtag_add_reset(): TRST line released
- Debug: 106 207 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
- Debug: 108 665 core.c:1289 jtag_init_inner(): Init JTAG chain
- Debug: 109 665 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
- Debug: 110 666 core.c:1031 jtag_examine_chain(): DR scan interrogation for IDCOD
- E/BYPASS
- Debug: 111 668 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
- Info : 112 672 core.c:943 jtag_examine_chain_display(): JTAG tap: lpc2138.cpu ta
- p/device found: 0x4f1f0f0f (mfg: 0x787, part: 0xf1f0, ver: 0x4)
- Debug: 113 673 core.c:1142 jtag_validate_ircapture(): IR capture validation scan
- Debug: 114 676 core.c:1176 jtag_validate_ircapture(): lpc2138.cpu: IR capture 0x
- 01
- Debug: 115 676 openocd.c:142 handle_init_command(): jtag init complete
- Debug: 116 680 embeddedice.c:206 embeddedice_build_reg_cache(): Embedded ICE ver
- sion 4
- Debug: 117 690 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000005
- Debug: 118 691 arm7_9_common.c:61 arm7_9_clear_watchpoints(): -
- Debug: 119 692 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000000
- Debug: 120 692 embeddedice.c:452 embeddedice_write_reg(): 20: 0x00000000
- Debug: 121 693 openocd.c:145 handle_init_command(): jtag examine complete
- Debug: 122 695 openocd.c:151 handle_init_command(): flash init complete
- Debug: 123 696 openocd.c:155 handle_init_command(): mflash init complete
- Debug: 124 696 openocd.c:159 handle_init_command(): NAND init complete
- Debug: 125 697 openocd.c:163 handle_init_command(): pld init complete
- Debug: 126 875 gdb_server.c:2269 gdb_init(): gdb service for target arm7tdmi at
- TCP port 3333
- Debug: 128 880 command.c:68 script_debug(): command - reset
- Debug: 129 880 command.c:77 script_debug(): reset - argv[0]=ocd_reset
- Debug: 130 881 command.c:77 script_debug(): reset - argv[1]=init
- Debug: 131 883 target.c:4333 jim_target(): Target command params:
- Debug: 132 883 target.c:4334 jim_target(): target names
- Debug: 133 883 core.c:1363 jtag_init_reset(): Initializing with hard TRST+SRST r
- eset
- Debug: 134 884 ft2232.c:1351 olimex_jtag_reset(): trst: 1, srst: 0, high_output:
- 0x08, high_direction: 0x0f
- Debug: 135 886 core.c:720 jtag_add_reset(): TRST line asserted
- Debug: 136 887 ft2232.c:1351 olimex_jtag_reset(): trst: 1, srst: 1, high_output:
- 0x02, high_direction: 0x0f
- Debug: 137 888 core.c:695 jtag_add_reset(): SRST line asserted
- Debug: 138 890 ft2232.c:1351 olimex_jtag_reset(): trst: 0, srst: 0, high_output:
- 0x09, high_direction: 0x0f
- Debug: 139 891 core.c:700 jtag_add_reset(): SRST line released
- Debug: 140 891 core.c:725 jtag_add_reset(): TRST line released
- Debug: 141 893 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
- Debug: 143 1356 core.c:1289 jtag_init_inner(): Init JTAG chain
- Debug: 144 1357 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
- Debug: 145 1358 core.c:1031 jtag_examine_chain(): DR scan interrogation for IDCO
- DE/BYPASS
- Debug: 146 1359 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
- Info : 147 1362 core.c:943 jtag_examine_chain_display(): JTAG tap: lpc2138.cpu t
- ap/device found: 0x4f1f0f0f (mfg: 0x787, part: 0xf1f0, ver: 0x4)
- Debug: 148 1365 core.c:1142 jtag_validate_ircapture(): IR capture validation sca
- n
- Debug: 149 1368 core.c:1176 jtag_validate_ircapture(): lpc2138.cpu: IR capture 0
- x01
- Debug: 150 1370 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000000
- Debug: 151 1372 arm7_9_common.c:61 arm7_9_clear_watchpoints(): -
- Debug: 152 1373 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000000
- Debug: 153 1373 embeddedice.c:452 embeddedice_write_reg(): 20: 0x00000000
- Debug: 154 1375 arm7_9_common.c:1015 arm7_9_assert_reset(): target->state: runni
- ng
- Debug: 155 1375 embeddedice.c:452 embeddedice_write_reg(): 8: 0x00000000
- Debug: 156 1375 embeddedice.c:452 embeddedice_write_reg(): 9: 0x00000003
- Debug: 157 1376 embeddedice.c:452 embeddedice_write_reg(): 11: 0xffffffff
- Debug: 158 1376 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000100
- Debug: 159 1378 embeddedice.c:452 embeddedice_write_reg(): 13: 0x000000f7
- Debug: 160 1378 ft2232.c:1351 olimex_jtag_reset(): trst: 1, srst: 1, high_output
- : 0x02, high_direction: 0x0f
- Debug: 161 1380 core.c:695 jtag_add_reset(): SRST line asserted
- Debug: 162 1380 core.c:720 jtag_add_reset(): TRST line asserted
- Debug: 163 1381 arm7_9_common.c:1106 arm7_9_deassert_reset(): target->state: res
- et
- Debug: 164 1438 ft2232.c:1351 olimex_jtag_reset(): trst: 0, srst: 0, high_output
- : 0x09, high_direction: 0x0f
- Debug: 165 1439 core.c:700 jtag_add_reset(): SRST line released
- Debug: 166 1440 core.c:725 jtag_add_reset(): TRST line released
- Debug: 167 1440 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
- Warn : 168 1440 arm7_9_common.c:1114 arm7_9_deassert_reset(): srst pulls trst -
- can not reset into halted mode. Issuing halt after reset.
- Debug: 170 1888 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000000
- Debug: 171 1892 arm7_9_common.c:61 arm7_9_clear_watchpoints(): -
- Debug: 172 1893 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000000
- Debug: 173 1894 embeddedice.c:452 embeddedice_write_reg(): 20: 0x00000000
- Debug: 174 1898 arm7_9_common.c:1326 arm7_9_halt(): target->state: running
- Debug: 175 1899 embeddedice.c:452 embeddedice_write_reg(): 9: 0xffffffff
- Debug: 176 1900 embeddedice.c:452 embeddedice_write_reg(): 11: 0xffffffff
- Debug: 177 1901 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000100
- Debug: 178 1907 embeddedice.c:452 embeddedice_write_reg(): 13: 0x000000f7
- Debug: 179 1910 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000005
- Debug: 180 1911 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000000
- Debug: 181 1912 arm7_9_common.c:1436 arm7_9_debug_entry(): target entered debug
- from ARM state
- Debug: 182 1920 arm7_9_common.c:1468 arm7_9_debug_entry(): target entered debug
- state in System mode
- Debug: 183 1920 arm7_9_common.c:1491 arm7_9_debug_entry(): r0: 0x2000009f
- Debug: 184 1921 arm7_9_common.c:1491 arm7_9_debug_entry(): r1: 0x00000064
- Debug: 185 1922 arm7_9_common.c:1491 arm7_9_debug_entry(): r2: 0xe0028004
- Debug: 186 1923 arm7_9_common.c:1491 arm7_9_debug_entry(): r3: 0x00000141
- Debug: 187 1923 arm7_9_common.c:1491 arm7_9_debug_entry(): r4: 0x40000834
- Debug: 188 1923 arm7_9_common.c:1491 arm7_9_debug_entry(): r5: 0x40001dba
- Debug: 189 1924 arm7_9_common.c:1491 arm7_9_debug_entry(): r6: 0x5422cfa1
- Debug: 190 1924 arm7_9_common.c:1491 arm7_9_debug_entry(): r7: 0x00000000
- Debug: 191 1924 arm7_9_common.c:1491 arm7_9_debug_entry(): r8: 0x4980b200
- Debug: 192 1925 arm7_9_common.c:1491 arm7_9_debug_entry(): r9: 0x000001d0
- Debug: 193 1925 arm7_9_common.c:1491 arm7_9_debug_entry(): r10: 0x000001f8
- Debug: 194 1926 arm7_9_common.c:1491 arm7_9_debug_entry(): r11: 0x00000000
- Debug: 195 1926 arm7_9_common.c:1491 arm7_9_debug_entry(): r12: 0x1b9e2c39
- Debug: 196 1927 arm7_9_common.c:1491 arm7_9_debug_entry(): r13: 0x40001db8
- Debug: 197 1927 arm7_9_common.c:1491 arm7_9_debug_entry(): r14: 0x000003b4
- Debug: 198 1928 arm7_9_common.c:1491 arm7_9_debug_entry(): r15: 0x00000358
- Debug: 199 1928 arm7_9_common.c:1497 arm7_9_debug_entry(): entered debug state a
- t PC 0x358
- Debug: 200 1929 target.c:828 target_call_event_callbacks(): target event 4 (gdb-
- halt)
- Debug: 201 1933 target.c:828 target_call_event_callbacks(): target event 5 (halt
- ed)
- User : 202 1933 target.c:1090 target_arch_state(): target state: halted
- User : 203 1935 armv4_5.c:305 armv4_5_arch_state(): target halted in ARM state d
- ue to debug-request, current mode: System
- cpsr: 0x2000001f pc: 0x00000358
- Debug: 204 1940 target.c:3434 target_handle_event(): target: (0) lpc2138.cpu (ar
- m7tdmi) event: 20 (reset-init) action:
- # Force target into ARM state.
- soft_reset_halt
- # Do not remap 0x0000-0x0020 to anything but the flash (i.e. select
- # "User Flash Mode" where interrupt vectors are _not_ remapped,
- # and reside in flash instead).
- #
- # See section 7.1 on page 32 ("Memory Mapping control register") in
- # "UM10120".
- #
- mwb 0xE01FC040 0x01
- # jtag_khz 1500
- Debug: 206 1944 command.c:68 script_debug(): command - soft_reset_halt
- Debug: 207 1944 command.c:77 script_debug(): soft_reset_halt - argv[0]=ocd_soft_
- reset_halt
- User : 208 1944 target.c:2015 handle_soft_reset_halt_command(): requesting targe
- t halt and executing a soft reset
- Debug: 209 1945 arm7_9_common.c:1326 arm7_9_halt(): target->state: halted
- Debug: 210 1946 arm7_9_common.c:1330 arm7_9_halt(): target was already halted
- Debug: 211 1946 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000005
- Debug: 212 1951 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000000
- Debug: 213 1952 target.c:828 target_call_event_callbacks(): target event 4 (gdb-
- halt)
- Debug: 214 1953 target.c:828 target_call_event_callbacks(): target event 5 (halt
- ed)
- User : 215 1954 target.c:1090 target_arch_state(): target state: halted
- User : 216 1955 armv4_5.c:305 armv4_5_arch_state(): target halted in ARM state d
- ue to debug-request, current mode: Supervisor
- cpsr: 0x200000d3 pc: 0x00000000
- Debug: 218 1955 command.c:68 script_debug(): command - mwb
- Debug: 219 1955 command.c:77 script_debug(): mwb - argv[0]=ocd_mwb
- Debug: 220 1956 command.c:77 script_debug(): mwb - argv[1]=0xE01FC040
- Debug: 221 1956 command.c:77 script_debug(): mwb - argv[2]=0x01
- Debug: 222 1957 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000004
- Debug: 223 1960 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000005
- Debug: 225 1966 command.c:68 script_debug(): command - init
- Debug: 226 1967 command.c:77 script_debug(): init - argv[0]=ocd_init
- Info : 227 19555 server.c:79 add_connection(): accepting 'gdb' connection from 0
- Debug: 228 19557 breakpoints.c:160 breakpoint_clear_target(): Delete all breakpo
- ints for target: arm7tdmi
- Debug: 229 19558 breakpoints.c:287 watchpoint_clear_target(): Delete all watchpo
- ints for target: arm7tdmi
- Debug: 230 19559 target.c:828 target_call_event_callbacks(): target event 26 (gd
- b-attach)
- Debug: 231 19583 gdb_server.c:788 gdb_new_connection(): New GDB Connection: 1, T
- arget lpc2138.cpu, state: running
- Debug: 232 19583 gdb_server.c:2047 gdb_input_inner(): received packet: 'qSupport
- ed'
- Warn : 233 19615 gdb_server.c:582 gdb_get_packet_inner(): acknowledgment receive
- d, but no packet pending
- Debug: 234 19616 gdb_server.c:2047 gdb_input_inner(): received packet: '?'
- Debug: 235 19617 gdb_server.c:2047 gdb_input_inner(): received packet: 'Hc-1'
- Debug: 236 19618 gdb_server.c:2047 gdb_input_inner(): received packet: 'qC'
- Debug: 237 19623 gdb_server.c:2047 gdb_input_inner(): received packet: 'qOffsets
- '
- Debug: 238 19625 gdb_server.c:2047 gdb_input_inner(): received packet: 'Hg0'
- Debug: 239 19626 gdb_server.c:2047 gdb_input_inner(): received packet: 'g'
- Debug: 240 19628 gdb_server.c:2047 gdb_input_inner(): received packet: 'qXfer:me
- mory-map:read::0,fff'
- Debug: 241 19630 gdb_server.c:2047 gdb_input_inner(): received packet: 'm0,4'
- Debug: 242 19631 gdb_server.c:1182 gdb_read_memory_packet(): addr: 0x00000000, l
- en: 0x00000004
- Debug: 243 19631 target.c:1189 target_read_buffer(): reading buffer of 4 byte at
- 0x00000000
- Debug: 244 19632 arm7_9_common.c:2282 arm7_9_read_memory(): address: 0x00000000,
- size: 0x00000004, count: 0x00000001
- Warn : 245 19632 arm7_9_common.c:2286 arm7_9_read_memory(): target not halted
- Debug: 246 19636 gdb_server.c:2047 gdb_input_inner(): received packet: 'qSymbol:
- :'
- Debug: 247 20092 gdb_server.c:2047 gdb_input_inner(): received packet: 'qRcmd,72
- 6573657420696e6974'
- Debug: 249 20114 command.c:68 script_debug(): command - reset
- Debug: 250 20115 command.c:77 script_debug(): reset - argv[0]=ocd_reset
- Debug: 251 20143 command.c:77 script_debug(): reset - argv[1]=init
- Debug: 252 20144 target.c:4333 jim_target(): Target command params:
- Debug: 253 20144 target.c:4334 jim_target(): target names
- Debug: 254 20145 core.c:1363 jtag_init_reset(): Initializing with hard TRST+SRST
- reset
- Debug: 255 20145 ft2232.c:1351 olimex_jtag_reset(): trst: 1, srst: 0, high_outpu
- t: 0x08, high_direction: 0x0f
- Debug: 256 20147 core.c:720 jtag_add_reset(): TRST line asserted
- Debug: 257 20147 ft2232.c:1351 olimex_jtag_reset(): trst: 1, srst: 1, high_outpu
- t: 0x02, high_direction: 0x0f
- Debug: 258 20148 core.c:695 jtag_add_reset(): SRST line asserted
- Debug: 259 20149 ft2232.c:1351 olimex_jtag_reset(): trst: 0, srst: 0, high_outpu
- t: 0x09, high_direction: 0x0f
- Debug: 260 20151 core.c:700 jtag_add_reset(): SRST line released
- Debug: 261 20152 core.c:725 jtag_add_reset(): TRST line released
- Debug: 262 20152 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
- Debug: 263 20600 core.c:1289 jtag_init_inner(): Init JTAG chain
- Debug: 264 20601 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
- Debug: 265 20606 core.c:1031 jtag_examine_chain(): DR scan interrogation for IDC
- ODE/BYPASS
- Debug: 266 20606 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
- Info : 267 20610 core.c:943 jtag_examine_chain_display(): JTAG tap: lpc2138.cpu
- tap/device found: 0x4f1f0f0f (mfg: 0x787, part: 0xf1f0, ver: 0x4)
- Debug: 268 20612 core.c:1142 jtag_validate_ircapture(): IR capture validation sc
- an
- Debug: 269 20614 core.c:1176 jtag_validate_ircapture(): lpc2138.cpu: IR capture
- 0x01
- Debug: 270 20618 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000000
- Debug: 271 20620 arm7_9_common.c:61 arm7_9_clear_watchpoints(): -
- Debug: 272 20621 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000000
- Debug: 273 20621 embeddedice.c:452 embeddedice_write_reg(): 20: 0x00000000
- Debug: 274 20622 arm7_9_common.c:1015 arm7_9_assert_reset(): target->state: runn
- ing
- Debug: 275 20623 embeddedice.c:452 embeddedice_write_reg(): 8: 0x00000000
- Debug: 276 20623 embeddedice.c:452 embeddedice_write_reg(): 9: 0x00000003
- Debug: 277 20632 embeddedice.c:452 embeddedice_write_reg(): 11: 0xffffffff
- Debug: 278 20632 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000100
- Debug: 279 20633 embeddedice.c:452 embeddedice_write_reg(): 13: 0x000000f7
- Debug: 280 20634 ft2232.c:1351 olimex_jtag_reset(): trst: 1, srst: 1, high_outpu
- t: 0x02, high_direction: 0x0f
- Debug: 281 20634 core.c:695 jtag_add_reset(): SRST line asserted
- Debug: 282 20635 core.c:720 jtag_add_reset(): TRST line asserted
- Debug: 283 20635 arm7_9_common.c:1106 arm7_9_deassert_reset(): target->state: re
- set
- Debug: 284 20690 ft2232.c:1351 olimex_jtag_reset(): trst: 0, srst: 0, high_outpu
- t: 0x09, high_direction: 0x0f
- Debug: 285 20691 core.c:700 jtag_add_reset(): SRST line released
- Debug: 286 20691 core.c:725 jtag_add_reset(): TRST line released
- Debug: 287 20691 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
- Warn : 288 20692 arm7_9_common.c:1114 arm7_9_deassert_reset(): srst pulls trst -
- can not reset into halted mode. Issuing halt after reset.
- Debug: 289 21160 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000000
- Debug: 290 21163 arm7_9_common.c:61 arm7_9_clear_watchpoints(): -
- Debug: 291 21163 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000000
- Debug: 292 21164 embeddedice.c:452 embeddedice_write_reg(): 20: 0x00000000
- Debug: 293 21169 arm7_9_common.c:1326 arm7_9_halt(): target->state: running
- Debug: 294 21169 embeddedice.c:452 embeddedice_write_reg(): 9: 0xffffffff
- Debug: 295 21170 embeddedice.c:452 embeddedice_write_reg(): 11: 0xffffffff
- Debug: 296 21170 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000100
- Debug: 297 21171 embeddedice.c:452 embeddedice_write_reg(): 13: 0x000000f7
- Debug: 298 21173 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000005
- Debug: 299 21174 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000000
- Debug: 300 21174 arm7_9_common.c:1436 arm7_9_debug_entry(): target entered debug
- from ARM state
- Debug: 301 21178 arm7_9_common.c:1468 arm7_9_debug_entry(): target entered debug
- state in System mode
- Debug: 302 21179 arm7_9_common.c:1491 arm7_9_debug_entry(): r0: 0x2000009f
- Debug: 303 21179 arm7_9_common.c:1491 arm7_9_debug_entry(): r1: 0x00000064
- Debug: 304 21180 arm7_9_common.c:1491 arm7_9_debug_entry(): r2: 0xe0000008
- Debug: 305 21180 arm7_9_common.c:1491 arm7_9_debug_entry(): r3: 0x00000055
- Debug: 306 21180 arm7_9_common.c:1491 arm7_9_debug_entry(): r4: 0x2000001f
- Debug: 307 21181 arm7_9_common.c:1491 arm7_9_debug_entry(): r5: 0x40001dba
- Debug: 308 21181 arm7_9_common.c:1491 arm7_9_debug_entry(): r6: 0x5422cfa1
- Debug: 309 21181 arm7_9_common.c:1491 arm7_9_debug_entry(): r7: 0x00000000
- Debug: 310 21182 arm7_9_common.c:1491 arm7_9_debug_entry(): r8: 0x4980b200
- Debug: 311 21182 arm7_9_common.c:1491 arm7_9_debug_entry(): r9: 0x000001d0
- Debug: 312 21183 arm7_9_common.c:1491 arm7_9_debug_entry(): r10: 0x000001f8
- Debug: 313 21183 arm7_9_common.c:1491 arm7_9_debug_entry(): r11: 0x00000000
- Debug: 314 21184 arm7_9_common.c:1491 arm7_9_debug_entry(): r12: 0x1b9e2c39
- Debug: 315 21184 arm7_9_common.c:1491 arm7_9_debug_entry(): r13: 0x40001db0
- Debug: 316 21184 arm7_9_common.c:1491 arm7_9_debug_entry(): r14: 0x00001508
- Debug: 317 21185 arm7_9_common.c:1491 arm7_9_debug_entry(): r15: 0x00001518
- Debug: 318 21186 arm7_9_common.c:1497 arm7_9_debug_entry(): entered debug state
- at PC 0x1518
- Debug: 319 21186 target.c:828 target_call_event_callbacks(): target event 4 (gdb
- -halt)
- Debug: 320 21187 target.c:828 target_call_event_callbacks(): target event 5 (hal
- ted)
- User : 321 21187 target.c:1090 target_arch_state(): target state: halted
- User : 322 21188 armv4_5.c:305 armv4_5_arch_state(): target halted in ARM state
- due to debug-request, current mode: System
- cpsr: 0x200000df pc: 0x00001518
- Debug: 323 21191 target.c:828 target_call_event_callbacks(): target event 10 (gd
- b-end)
- Debug: 324 21199 target.c:3434 target_handle_event(): target: (0) lpc2138.cpu (a
- rm7tdmi) event: 20 (reset-init) action:
- # Force target into ARM state.
- soft_reset_halt
- # Do not remap 0x0000-0x0020 to anything but the flash (i.e. select
- # "User Flash Mode" where interrupt vectors are _not_ remapped,
- # and reside in flash instead).
- #
- # See section 7.1 on page 32 ("Memory Mapping control register") in
- # "UM10120".
- #
- mwb 0xE01FC040 0x01
- # jtag_khz 1500
- Debug: 326 21203 command.c:68 script_debug(): command - soft_reset_halt
- Debug: 327 21203 command.c:77 script_debug(): soft_reset_halt - argv[0]=ocd_soft
- _reset_halt
- User : 328 21204 target.c:2015 handle_soft_reset_halt_command(): requesting targ
- et halt and executing a soft reset
- Debug: 329 21206 arm7_9_common.c:1326 arm7_9_halt(): target->state: halted
- Debug: 330 21206 arm7_9_common.c:1330 arm7_9_halt(): target was already halted
- Debug: 331 21207 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000005
- Debug: 332 21208 embeddedice.c:452 embeddedice_write_reg(): 12: 0x00000000
- Debug: 333 21208 target.c:828 target_call_event_callbacks(): target event 4 (gdb
- -halt)
- Debug: 334 21208 target.c:828 target_call_event_callbacks(): target event 5 (hal
- ted)
- User : 335 21208 target.c:1090 target_arch_state(): target state: halted
- User : 336 21210 armv4_5.c:305 armv4_5_arch_state(): target halted in ARM state
- due to debug-request, current mode: Supervisor
- cpsr: 0x200000d3 pc: 0x00000000
- Debug: 337 21220 target.c:828 target_call_event_callbacks(): target event 10 (gd
- b-end)
- Debug: 339 21221 command.c:68 script_debug(): command - mwb
- Debug: 340 21222 command.c:77 script_debug(): mwb - argv[0]=ocd_mwb
- Debug: 341 21222 command.c:77 script_debug(): mwb - argv[1]=0xE01FC040
- Debug: 342 21223 command.c:77 script_debug(): mwb - argv[2]=0x01
- Debug: 343 21223 embeddedice.c:452 embeddedice_write_reg(): 0: 0x00000004
- Error: 346 22257 arm7_9_common.c:761 arm7_9_execute_sys_speed(): timeout waiting
- for SYSCOMP & DBGACK, last DBG_STATUS: 0
- Debug: 347 22258 command.c:444 run_command(): Command failed with error code -30
- 2
- User : 348 22259 command.c:646 openocd_jim_vfprintf(): Runtime error, file "tcl/
- target/lpc2138.cfg", line 12:
- User : 349 22261 command.c:646 openocd_jim_vfprintf():
- Debug: 350 22680 gdb_server.c:2047 gdb_input_inner(): received packet: 'qRcmd,73
- 6c65657020353030'
- Debug: 352 22684 command.c:68 script_debug(): command - sleep
- Debug: 353 22685 command.c:77 script_debug(): sleep - argv[0]=ocd_sleep
- Debug: 354 22685 command.c:77 script_debug(): sleep - argv[1]=500
- Debug: 356 23663 gdb_server.c:2047 gdb_input_inner(): received packet: 'qRcmd,61
- 726d76345f3520636f72655f73746174652061726d'
- Debug: 358 23670 command.c:68 script_debug(): command - core_state
- Debug: 359 23670 command.c:77 script_debug(): core_state - argv[0]=ocd_armv4_5_c
- ore_state
- Debug: 360 23671 command.c:77 script_debug(): core_state - argv[1]=arm
- User : 361 23671 command.c:400 command_print(): core state: ARM
- Debug: 362 23922 gdb_server.c:2047 gdb_input_inner(): received packet: 'qRcmd,6d
- 7777203078453031464330343020307830303032'
- Debug: 364 23928 command.c:68 script_debug(): command - mww
- Debug: 365 23928 command.c:77 script_debug(): mww - argv[0]=ocd_mww
- Debug: 366 23929 command.c:77 script_debug(): mww - argv[1]=0xE01FC040
- Debug: 367 23930 command.c:77 script_debug(): mww - argv[2]=0x0002
- Warn : 368 23930 arm7_9_common.c:2465 arm7_9_write_memory(): target not halted
- Debug: 369 23936 command.c:444 run_command(): Command failed with error code -30
- 4
- User : 370 23937 command.c:646 openocd_jim_vfprintf(): Runtime error, file "comm
- and.c", line 473:
- User : 371 23938 command.c:646 openocd_jim_vfprintf():
- Debug: 372 24041 gdb_server.c:2047 gdb_input_inner(): received packet: 'qRcmd,6d
- 64772030784530314643303430'
- Debug: 374 24048 command.c:68 script_debug(): command - mdw
- Debug: 375 24048 command.c:77 script_debug(): mdw - argv[0]=ocd_mdw
- Debug: 376 24049 command.c:77 script_debug(): mdw - argv[1]=0xE01FC040
- Debug: 377 24050 arm7_9_common.c:2282 arm7_9_read_memory(): address: 0xe01fc040,
- size: 0x00000004, count: 0x00000001
- Warn : 378 24050 arm7_9_common.c:2286 arm7_9_read_memory(): target not halted
- Debug: 379 24051 command.c:444 run_command(): Command failed with error code -30
- 4
- User : 380 24052 command.c:646 openocd_jim_vfprintf(): Runtime error, file "comm
- and.c", line 473:
- User : 381 24083 command.c:646 openocd_jim_vfprintf():
- Debug: 382 24851 gdb_server.c:2045 gdb_input_inner(): received packet: 'X4000000
- 0,0:<binary-data>'
- Debug: 383 24894 gdb_server.c:2045 gdb_input_inner(): received packet: 'X4000000
- 0,190:<binary-data>'
- Debug: 384 24895 gdb_server.c:1317 gdb_write_memory_binary_packet(): addr: 0x400
- 00000, len: 0x00000190
- Debug: 385 24895 target.c:1107 target_write_buffer(): writing buffer of 400 byte
- at 0x40000000
- Warn : 386 24896 arm7_9_common.c:2465 arm7_9_write_memory(): target not halted
- Debug: 387 25817 gdb_server.c:2047 gdb_input_inner(): received packet: 'Z0,40000
- 354,4'
- Debug: 388 25817 gdb_server.c:1378 gdb_breakpoint_watchpoint_packet(): -
- Warn : 389 25839 arm7_9_common.c:459 arm7_9_add_breakpoint(): target not halted
- Info : 390 25840 breakpoints.c:90 breakpoint_add(): can't add breakpoint while t
- arget is running (BPID: 0)
- Debug: 391 26325 gdb_server.c:2047 gdb_input_inner(): received packet: 'mfffffff
- f,4'
- Debug: 392 26326 gdb_server.c:1182 gdb_read_memory_packet(): addr: 0xffffffff, l
- en: 0x00000004
- Debug: 393 26327 target.c:1189 target_read_buffer(): reading buffer of 4 byte at
- 0xffffffff
- Error: 394 26327 target.c:1206 target_read_buffer(): address + size wrapped(0xff
- ffffff, 0x00000004)
- Debug: 395 26329 gdb_server.c:2047 gdb_input_inner(): received packet: 'qfThread
- Info'
- Debug: 396 26330 gdb_server.c:2047 gdb_input_inner(): received packet: 'qL120000
- 0000000000000'
- Debug: 397 26336 gdb_server.c:2047 gdb_input_inner(): received packet: 'qC'
Advertisement
Add Comment
Please, Sign In to add comment