Guest User

zilog

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