SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By niclasz
#189980
I try to flash a cc2538 but get an error.
What am I missing? I have not used OpenOCD or Olimex arm-usb-tiny-h before. I use a pre compiled binary for windows.

Here is an output dump with debug flag set, I have cut it in the middle due to limitations in allowed number of characters in a post:

PS C:\Users\niclasz\Downloads\openocd-0.9.0> bin\openocd.exe -d 3 -s scripts -f interface\ftdi\olimex-arm-usb-tiny-h.cfg
-f target\cc2538.cfg -c "program core_boot.bin 0x200000 exit"
Open On-Chip Debugger 0.9.0 (2015-05-19-12:06)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
User : 13 3 command.c:546 command_print(): debug_level: 3
Debug: 14 6 configuration.c:44 add_script_search_dir(): adding scripts
Debug: 15 10 options.c:98 add_default_dirs(): bindir=bin
Debug: 16 13 options.c:99 add_default_dirs(): pkgdatadir=
Debug: 17 16 options.c:100 add_default_dirs(): run_prefix=C:/Users/niclasz/Downloads/openocd-0.9.0/
Debug: 18 21 configuration.c:44 add_script_search_dir(): adding C:\Users\niclasz\AppData\Roaming/OpenOCD
Debug: 19 27 configuration.c:44 add_script_search_dir(): adding C:/Users/niclasz/Downloads/openocd-0.9.0//site
Debug: 20 33 configuration.c:44 add_script_search_dir(): adding C:/Users/niclasz/Downloads/openocd-0.9.0//scripts
Debug: 21 40 configuration.c:84 find_file(): found scripts/interface\ftdi\olimex-arm-usb-tiny-h.cfg
Debug: 22 45 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ftdi
Debug: 23 49 command.c:145 script_debug(): command - interface ocd_interface ftdi
Debug: 25 52 command.c:366 register_command_handler(): registering 'ocd_ftdi_device_desc'...
Debug: 26 56 command.c:366 register_command_handler(): registering 'ocd_ftdi_serial'...
Debug: 27 59 command.c:366 register_command_handler(): registering 'ocd_ftdi_channel'...
Debug: 28 63 command.c:366 register_command_handler(): registering 'ocd_ftdi_layout_init'...
Debug: 29 66 command.c:366 register_command_handler(): registering 'ocd_ftdi_layout_signal'...
Debug: 30 70 command.c:366 register_command_handler(): registering 'ocd_ftdi_set_signal'...
Debug: 31 74 command.c:366 register_command_handler(): registering 'ocd_ftdi_vid_pid'...
Debug: 32 77 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_device_desc Olimex OpenOCD JTAG ARM-USB-TINY-H
Debug: 33 83 command.c:145 script_debug(): command - ftdi_device_desc ocd_ftdi_device_desc Olimex OpenOCD JTAG ARM-USB-T
INY-H
Debug: 35 88 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x15ba 0x002a
Debug: 36 93 command.c:145 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x15ba 0x002a
Debug: 38 96 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_init 0x0808 0x0a1b
Debug: 39 100 command.c:145 script_debug(): command - ftdi_layout_init ocd_ftdi_layout_init 0x0808 0x0a1b
Debug: 41 104 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nSRST -oe 0x0200
Debug: 42 110 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nSRST -oe 0x0200
Debug: 44 114 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nTRST -data 0x0100 -oe 0x0100
Debug: 45 120 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nTRST -data 0x0100 -oe 0x0100
Debug: 47 125 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal LED -data 0x0800
Debug: 48 130 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal LED -data 0x0800
Debug: 50 134 configuration.c:84 find_file(): found scripts/target\cc2538.cfg
Debug: 51 138 configuration.c:84 find_file(): found scripts/target/cc26xx.cfg
Debug: 52 141 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 100
Debug: 53 145 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 100
Debug: 55 148 core.c:1629 jtag_config_khz(): handle jtag khz
Debug: 56 151 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 57 154 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 58 158 command.c:546 command_print(): adapter speed: 100 kHz
Debug: 59 161 configuration.c:84 find_file(): found scripts/target/icepick.cfg
Debug: 60 164 configuration.c:84 find_file(): found scripts/target/ti-cjtag.cfg
Debug: 61 167 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 62 171 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Info : 63 175 transport.c:287 jim_transport_select(): auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
Debug: 64 181 command.c:366 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'...
Debug: 65 185 command.c:366 register_command_handler(): registering 'ocd_jtag_rclk'...
Debug: 66 188 command.c:366 register_command_handler(): registering 'ocd_jtag_ntrst_delay'...
Debug: 67 192 command.c:366 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'...
Debug: 68 196 command.c:366 register_command_handler(): registering 'ocd_scan_chain'...
Debug: 69 200 command.c:366 register_command_handler(): registering 'ocd_jtag_reset'...
Debug: 70 203 command.c:366 register_command_handler(): registering 'ocd_runtest'...
Debug: 71 206 command.c:366 register_command_handler(): registering 'ocd_irscan'...
Debug: 72 209 command.c:366 register_command_handler(): registering 'ocd_verify_ircapture'...
Debug: 73 213 command.c:366 register_command_handler(): registering 'ocd_verify_jtag'...
Debug: 74 217 command.c:366 register_command_handler(): registering 'ocd_tms_sequence'...
Debug: 75 220 command.c:366 register_command_handler(): registering 'ocd_wait_srst_deassert'...
Debug: 76 224 command.c:366 register_command_handler(): registering 'ocd_jtag'...

...

Info : 252 1168 core.c:1384 adapter_init(): clock speed 100 kHz
Debug: 253 1171 openocd.c:137 handle_init_command(): Debug Adapter init complete
Debug: 254 1175 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 255 1180 command.c:145 script_debug(): command - ocd_transport ocd_transport init
Debug: 257 1184 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 258 1187 core.c:730 jtag_add_reset(): SRST line released
Debug: 259 1189 core.c:754 jtag_add_reset(): TRST line released
Debug: 260 1192 core.c:328 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 261 1195 tcl.c:632 jtag_tap_handle_event(): JTAG tap: cc2538.jrc event: 0 (post-reset)
action: ti_cjtag_to_4pin_jtag cc2538.jrc
Debug: 262 1200 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 263 1205 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 265 1209 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 266 1214 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 267 1219 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 268 1224 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 269 1228 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 270 1233 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DREXIT1 DRUPDATE RUN/IDLE
Debug: 271 1238 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 272 1243 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRUPDATE RUN/IDLE
Debug: 273 1248 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 274 1253 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 275 1258 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 276 1263 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 277 1268 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 278 1273 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DREXIT1 DRPAUSE
Debug: 279 1278 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 280 1282 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 281 1287 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 282 1292 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 284 1296 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x04 -endstate RUN/IDLE
Debug: 285 1302 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x04 -endstate RUN/IDLE
Debug: 287 1306 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init
Debug: 288 1310 command.c:145 script_debug(): command - ocd_jtag ocd_jtag arp_init
Debug: 289 1314 core.c:1397 jtag_init_inner(): Init JTAG chain
Debug: 290 1316 core.c:328 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 291 1319 tcl.c:632 jtag_tap_handle_event(): JTAG tap: cc2538.jrc event: 0 (post-reset)
action: ti_cjtag_to_4pin_jtag cc2538.jrc
Debug: 292 1324 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 293 1329 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 295 1334 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 296 1339 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 297 1343 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 298 1348 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 299 1352 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 300 1357 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DREXIT1 DRUPDATE RUN/IDLE
Debug: 301 1362 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 302 1367 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRUPDATE RUN/IDLE
Debug: 303 1372 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 304 1377 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 305 1381 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 306 1385 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 307 1390 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 308 1395 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DREXIT1 DRPAUSE
Debug: 309 1400 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 310 1405 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 311 1409 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 312 1414 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 314 1419 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x04 -endstate RUN/IDLE
Debug: 315 1424 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x04 -endstate RUN/IDLE
Debug: 317 1429 core.c:1058 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 318 1432 core.c:328 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 319 1435 tcl.c:632 jtag_tap_handle_event(): JTAG tap: cc2538.jrc event: 0 (post-reset)
action: ti_cjtag_to_4pin_jtag cc2538.jrc
Debug: 320 1440 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 321 1446 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 323 1457 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 324 1463 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 325 1467 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 326 1472 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 327 1477 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 328 1482 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DREXIT1 DRUPDATE RUN/IDLE
Debug: 329 1487 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 330 1492 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRUPDATE RUN/IDLE
Debug: 331 1497 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 332 1503 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 333 1507 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 334 1512 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 335 1518 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 336 1522 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DREXIT1 DRPAUSE
Debug: 337 1527 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 338 1531 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 339 1536 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 340 1541 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 342 1546 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x04 -endstate RUN/IDLE
Debug: 343 1551 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x04 -endstate RUN/IDLE
Info : 345 1555 core.c:958 jtag_examine_chain_display(): JTAG tap: cc2538.jrc tap/device found: 0x8b96402f (mfg: 0x017,part: 0xb964, ver: 0x8)
Debug: 346 1561 core.c:1188 jtag_validate_ircapture(): IR capture validation scan
Debug: 347 1564 core.c:1246 jtag_validate_ircapture(): cc2538.jrc: IR capture 0x01
Debug: 348 1567 tcl.c:632 jtag_tap_handle_event(): JTAG tap: cc2538.jrc event: 1 (setup)
action: jtag tapenable cc2538.dap
Debug: 349 1572 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag tapenable cc2538.dap
Debug: 350 1576 command.c:145 script_debug(): command - ocd_jtag ocd_jtag tapenable cc2538.dap
Debug: 351 1580 tcl.c:632 jtag_tap_handle_event(): JTAG tap: cc2538.dap event: 2 (tap-enable)
action: icepick_c_tapenable cc2538.jrc 0
Debug: 352 1585 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x07 -endstate IRPAUSE
Debug: 353 1590 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x07 -endstate IRPAUSE
Debug: 355 1595 command.c:145 script_debug(): command - drscan drscan cc2538.jrc 8 0x89 -endstate DRPAUSE
Debug: 356 1599 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 357 1604 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 359 1608 command.c:145 script_debug(): command - drscan drscan cc2538.jrc 32 2164264960 -endstate DRPAUSE
Debug: 360 1613 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 361 1619 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 363 1623 command.c:145 script_debug(): command - drscan drscan cc2538.jrc 32 2685403208 -endstate DRPAUSE
Debug: 364 1628 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 365 1633 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 368 1638 command.c:145 script_debug(): command - drscan drscan cc2538.jrc 32 2685411400 -endstate DRPAUSE
Debug: 369 1643 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 370 1647 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 372 1652 command.c:145 script_debug(): command - drscan drscan cc2538.jrc 32 2685411656 -endstate DRPAUSE
Debug: 373 1657 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x00 -endstate RUN/IDLE
Debug: 374 1662 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x00 -endstate RUN/IDLE
Debug: 376 1667 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_runtest 10
Debug: 377 1670 command.c:145 script_debug(): command - runtest ocd_runtest 10
Info : 379 1673 tcl.c:649 jtag_tap_handle_event(): JTAG tap: cc2538.dap enabled
Debug: 380 1676 core.c:328 jtag_call_event_callbacks(): jtag event: TAP enabled
Debug: 381 1679 openocd.c:150 handle_init_command(): Examining targets...
Debug: 382 1682 target.c:1465 target_call_event_callbacks(): target event 21 (examine-start)
Debug: 383 1686 arm_adi_v5.c:649 ahbap_debugport_init():
Debug: 384 1688 arm_adi_v5.c:691 ahbap_debugport_init(): DAP: wait CDBGPWRUPACK
Debug: 385 1691 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask 0x0820000000, value 0x20000000
Debug: 386 1699 arm_adi_v5.c:698 ahbap_debugport_init(): DAP: wait CSYSPWRUPACK
Debug: 387 1702 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask 0x0880000000, value 0x80000000
Debug: 388 1714 arm_adi_v5.c:750 ahbap_debugport_init(): MEM_AP Packed Transfers: enabled
Debug: 389 1718 arm_adi_v5.c:761 ahbap_debugport_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 390 1726 target.c:2179 target_read_u32(): address: 0xe000ed00, value: 0x412fc230
Debug: 391 1730 cortex_m.c:1906 cortex_m_examine(): Cortex-M3 r2p0 processor detected
Debug: 392 1733 cortex_m.c:1907 cortex_m_examine(): cpuid: 0x412fc230
Debug: 393 1736 target.c:2267 target_write_u32(): address: 0xe000edfc, value: 0x01000000
Debug: 394 1744 target.c:2179 target_read_u32(): address: 0xe0002000, value: 0x00000261
Debug: 395 1748 target.c:2267 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 396 1754 target.c:2267 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 397 1760 target.c:2267 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 398 1765 target.c:2267 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 399 1771 target.c:2267 target_write_u32(): address: 0xe0002018, value: 0x00000000
Debug: 400 1777 target.c:2267 target_write_u32(): address: 0xe000201c, value: 0x00000000
Debug: 401 1783 target.c:2267 target_write_u32(): address: 0xe0002020, value: 0x00000000
Debug: 402 1788 target.c:2267 target_write_u32(): address: 0xe0002024, value: 0x00000000
Debug: 403 1794 cortex_m.c:1974 cortex_m_examine(): FPB fpcr 0x261, numcode 6, numlit 2
Debug: 404 1800 target.c:2179 target_read_u32(): address: 0xe0001000, value: 0x40000000
Debug: 405 1804 target.c:2267 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 406 1809 target.c:2267 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 407 1815 target.c:2267 target_write_u32(): address: 0xe0001048, value: 0x00000000
Debug: 408 1821 target.c:2267 target_write_u32(): address: 0xe0001058, value: 0x00000000
Debug: 409 1826 cortex_m.c:1842 cortex_m_dwt_setup(): DWT dwtcr 0x40000000, comp 4, watch/trigger
Info : 410 1830 cortex_m.c:1984 cortex_m_examine(): cc2538.cpu: hardware has 6 breakpoints, 4 watchpoints
Debug: 411 1834 target.c:1465 target_call_event_callbacks(): target event 22 (examine-end)
Debug: 412 1838 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash init
Debug: 413 1841 command.c:145 script_debug(): command - ocd_flash ocd_flash init
Debug: 415 1848 tcl.c:890 handle_flash_init_command(): Initializing flash devices...
Debug: 416 1852 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mflash init
Debug: 417 1856 command.c:145 script_debug(): command - ocd_mflash ocd_mflash init
Debug: 419 1861 mflash.c:1379 handle_mflash_init_command(): Initializing mflash devices...
Debug: 420 1865 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_nand init
Debug: 421 1869 command.c:145 script_debug(): command - ocd_nand ocd_nand init
Debug: 423 1874 tcl.c:497 handle_nand_init_command(): Initializing NAND devices...
Debug: 424 1877 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_pld init
Debug: 425 1881 command.c:145 script_debug(): command - ocd_pld ocd_pld init
Debug: 427 1886 pld.c:207 handle_pld_init_command(): Initializing PLDs...
Debug: 428 1895 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset init
Debug: 429 1899 command.c:145 script_debug(): command - reset ocd_reset init
Debug: 431 1904 target.c:1483 target_call_reset_callbacks(): target reset 3 (init)
Debug: 432 1908 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 433 1912 command.c:145 script_debug(): command - ocd_target ocd_target names
Debug: 434 1915 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu invoke-event reset-start
Debug: 435 1920 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu invoke-event reset-start
Debug: 436 1924 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 437 1928 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 438 1932 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init-reset
Debug: 439 1936 command.c:145 script_debug(): command - ocd_jtag ocd_jtag arp_init-reset
Debug: 440 1939 core.c:1505 jtag_init_reset(): Initializing with hard TRST+SRST reset
Debug: 441 1943 core.c:743 jtag_add_reset(): JTAG reset with TLR instead of TRST
Debug: 442 1946 core.c:328 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 443 1949 tcl.c:632 jtag_tap_handle_event(): JTAG tap: cc2538.jrc event: 0 (post-reset)
action: ti_cjtag_to_4pin_jtag cc2538.jrc
Debug: 444 1954 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 445 1959 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 447 1963 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 448 1968 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 449 1972 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 450 1976 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 451 1980 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 452 1985 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DREXIT1 DRUPDATE RUN/IDLE
Debug: 453 1990 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 454 1994 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRUPDATE RUN/IDLE
Debug: 455 2000 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 456 2005 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 457 2009 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 458 2014 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 459 2019 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 460 2024 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DREXIT1 DRPAUSE
Debug: 461 2029 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 462 2033 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 463 2038 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 464 2043 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 466 2048 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x04 -endstate RUN/IDLE
Debug: 467 2053 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x04 -endstate RUN/IDLE
Debug: 469 2058 core.c:1397 jtag_init_inner(): Init JTAG chain
Debug: 470 2060 core.c:328 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 471 2063 tcl.c:632 jtag_tap_handle_event(): JTAG tap: cc2538.jrc event: 0 (post-reset)
action: ti_cjtag_to_4pin_jtag cc2538.jrc
Debug: 472 2068 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 473 2073 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 475 2077 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 476 2082 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 477 2087 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 478 2091 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 479 2096 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 480 2102 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DREXIT1 DRUPDATE RUN/IDLE
Debug: 481 2106 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 482 2111 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRUPDATE RUN/IDLE
Debug: 483 2117 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 484 2121 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 485 2126 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 486 2131 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 487 2136 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 489 2141 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DREXIT1 DRPAUSE
Debug: 490 2146 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 491 2150 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 492 2155 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 493 2160 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 495 2164 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x04 -endstate RUN/IDLE
Debug: 496 2169 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x04 -endstate RUN/IDLE
Debug: 498 2174 core.c:1058 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 499 2177 core.c:328 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 500 2180 tcl.c:632 jtag_tap_handle_event(): JTAG tap: cc2538.jrc event: 0 (post-reset)
action: ti_cjtag_to_4pin_jtag cc2538.jrc
Debug: 501 2185 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 502 2190 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 504 2201 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 505 2207 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 506 2211 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 507 2216 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 508 2220 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 509 2225 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DREXIT1 DRUPDATE RUN/IDLE
Debug: 510 2230 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 511 2235 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRUPDATE RUN/IDLE
Debug: 512 2240 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 513 2245 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 514 2250 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 515 2255 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 516 2260 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DRSHIFT DREXIT1 DRPAUSE
Debug: 517 2265 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRSHIFT DREXIT1 DRPAUSE
Debug: 518 2270 command.c:145 script_debug(): command - pathmove pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE
Debug: 519 2274 command.c:145 script_debug(): command - pathmove pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE
Debug: 520 2279 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 521 2284 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x3f -endstate RUN/IDLE
Debug: 523 2288 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x04 -endstate RUN/IDLE
Debug: 524 2293 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x04 -endstate RUN/IDLE
Info : 526 2298 core.c:958 jtag_examine_chain_display(): JTAG tap: cc2538.jrc tap/device found: 0x8b96402f (mfg: 0x017,part: 0xb964, ver: 0x8)
Debug: 527 2303 core.c:1188 jtag_validate_ircapture(): IR capture validation scan
Debug: 528 2307 core.c:1246 jtag_validate_ircapture(): cc2538.jrc: IR capture 0x01
Debug: 529 2310 tcl.c:632 jtag_tap_handle_event(): JTAG tap: cc2538.jrc event: 1 (setup)
action: jtag tapenable cc2538.dap
Debug: 530 2314 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag tapenable cc2538.dap
Debug: 531 2319 command.c:145 script_debug(): command - ocd_jtag ocd_jtag tapenable cc2538.dap
Debug: 532 2323 tcl.c:632 jtag_tap_handle_event(): JTAG tap: cc2538.dap event: 2 (tap-enable)
action: icepick_c_tapenable cc2538.jrc 0
Debug: 533 2328 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x07 -endstate IRPAUSE
Debug: 534 2333 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x07 -endstate IRPAUSE
Debug: 536 2337 command.c:145 script_debug(): command - drscan drscan cc2538.jrc 8 0x89 -endstate DRPAUSE
Debug: 537 2342 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 538 2347 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 540 2351 command.c:145 script_debug(): command - drscan drscan cc2538.jrc 32 2164264960 -endstate DRPAUSE
Debug: 541 2356 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 542 2361 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 544 2366 command.c:145 script_debug(): command - drscan drscan cc2538.jrc 32 2685403208 -endstate DRPAUSE
Debug: 545 2371 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 546 2376 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 548 2380 command.c:145 script_debug(): command - drscan drscan cc2538.jrc 32 2685411400 -endstate DRPAUSE
Debug: 549 2385 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 550 2390 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x02 -endstate IRPAUSE
Debug: 552 2394 command.c:145 script_debug(): command - drscan drscan cc2538.jrc 32 2685411656 -endstate DRPAUSE
Debug: 553 2400 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_irscan cc2538.jrc 0x00 -endstate RUN/IDLE
Debug: 554 2405 command.c:145 script_debug(): command - irscan ocd_irscan cc2538.jrc 0x00 -endstate RUN/IDLE
Debug: 556 2409 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_runtest 10
Debug: 557 2413 command.c:145 script_debug(): command - runtest ocd_runtest 10
Info : 559 2416 tcl.c:649 jtag_tap_handle_event(): JTAG tap: cc2538.dap enabled
Debug: 560 2419 core.c:328 jtag_call_event_callbacks(): jtag event: TAP enabled
Debug: 561 2422 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 562 2426 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 563 2430 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu cget -chain-position

Debug: 564 2435 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu cget -chain-position
Debug: 565 2439 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled cc2538.dap
Debug: 566 2443 command.c:145 script_debug(): command - ocd_jtag ocd_jtag tapisenabled cc2538.dap
Debug: 567 2447 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu invoke-event examine-start
Debug: 568 2452 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu invoke-event examine-start
Debug: 569 2456 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu arp_examine
Debug: 570 2461 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu arp_examine
Debug: 571 2465 arm_adi_v5.c:649 ahbap_debugport_init():
Debug: 572 2467 arm_adi_v5.c:691 ahbap_debugport_init(): DAP: wait CDBGPWRUPACK
Debug: 573 2470 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask 0x0820000000, value 0x20000000
Debug: 574 2478 arm_adi_v5.c:698 ahbap_debugport_init(): DAP: wait CSYSPWRUPACK
Debug: 575 2481 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask 0x0880000000, value 0x80000000
Debug: 576 2493 arm_adi_v5.c:750 ahbap_debugport_init(): MEM_AP Packed Transfers: enabled
Debug: 577 2497 arm_adi_v5.c:761 ahbap_debugport_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 578 2502 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu invoke-event examine-end
Debug: 579 2507 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu invoke-event examine-end
Debug: 580 2511 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu invoke-event reset-assert-pre
Debug: 581 2517 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu invoke-event reset-assert-pre
Debug: 582 2521 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 583 2525 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 584 2529 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu cget -chain-position

Debug: 585 2534 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu cget -chain-position
Debug: 586 2538 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled cc2538.dap
Debug: 587 2542 command.c:145 script_debug(): command - ocd_jtag ocd_jtag tapisenabled cc2538.dap
Debug: 588 2546 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu arp_reset assert 1
Debug: 589 2551 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu arp_reset assert 1
Debug: 590 2555 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas
Debug: 591 2559 cortex_m.c:971 cortex_m_assert_reset(): target->state: halted
Debug: 592 2569 cortex_m.c:1057 cortex_m_assert_reset(): Using Cortex-M VECTRESET
Warn : 593 2572 cortex_m.c:1061 cortex_m_assert_reset(): Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.
Debug: 594 2582 arm_adi_v5.c:649 ahbap_debugport_init():
Debug: 595 2584 arm_adi_v5.c:691 ahbap_debugport_init(): DAP: wait CDBGPWRUPACK
Debug: 596 2587 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask 0x0820000000, value 0x20000000
Debug: 597 2595 arm_adi_v5.c:698 ahbap_debugport_init(): DAP: wait CSYSPWRUPACK
Debug: 598 2598 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask 0x0880000000, value 0x80000000
Debug: 599 2611 arm_adi_v5.c:750 ahbap_debugport_init(): MEM_AP Packed Transfers: enabled
Debug: 600 2615 arm_adi_v5.c:761 ahbap_debugport_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 601 2623 cortex_m.c:588 cortex_m_halt(): target->state: reset
Debug: 602 2627 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu invoke-event reset-assert-post
Debug: 603 2632 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu invoke-event reset-assert-post
Debug: 604 2637 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu invoke-event reset-deassert-pre
Debug: 605 2642 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu invoke-event reset-deassert-pre
Debug: 606 2646 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 607 2651 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 608 2654 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu cget -chain-position

Debug: 609 2659 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu cget -chain-position
Debug: 610 2663 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled cc2538.dap
Debug: 611 2668 command.c:145 script_debug(): command - ocd_jtag ocd_jtag tapisenabled cc2538.dap
Debug: 612 2672 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu arp_reset deassert 1

Debug: 613 2676 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu arp_reset deassert 1
Debug: 614 2681 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas
Debug: 615 2684 cortex_m.c:1105 cortex_m_deassert_reset(): target->state: reset
Debug: 616 2688 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu invoke-event reset-deassert-post
Debug: 617 2693 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu invoke-event reset-deassert-post
Debug: 618 2697 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 619 2701 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 620 2705 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu cget -chain-position

Debug: 621 2710 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu cget -chain-position
Debug: 622 2714 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled cc2538.dap
Debug: 623 2718 command.c:145 script_debug(): command - ocd_jtag ocd_jtag tapisenabled cc2538.dap
Debug: 624 2722 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu arp_waitstate halted 1000
Debug: 625 2727 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu arp_waitstate halted 1000
Debug: 627 2785 target.c:2741 target_wait_state(): waiting for target halted...
Debug: 628 2802 cortex_m.c:534 cortex_m_poll(): Exit from reset with dcb_dhcsr 0x30003
Debug: 629 2808 cortex_m.c:237 cortex_m_endreset_event(): DCB_DEMCR = 0x01000501
Debug: 630 2818 target.c:2267 target_write_u32(): address: 0xe0002000, value: 0x00000003
Debug: 631 2832 target.c:2179 target_read_u32(): address: 0xe0002000, value: 0x00000261
Debug: 632 2836 target.c:2267 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 633 2841 target.c:2267 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 634 2847 target.c:2267 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 635 2853 target.c:2267 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 636 2859 target.c:2267 target_write_u32(): address: 0xe0002018, value: 0x00000000
Debug: 637 2867 target.c:2267 target_write_u32(): address: 0xe000201c, value: 0x00000000
Debug: 638 2876 target.c:2267 target_write_u32(): address: 0xe0002020, value: 0x00000000
Debug: 639 2885 target.c:2267 target_write_u32(): address: 0xe0002024, value: 0x00000000
Debug: 640 2894 target.c:2267 target_write_u32(): address: 0xe0001020, value: 0x00000000
Debug: 641 2903 target.c:2267 target_write_u32(): address: 0xe0001024, value: 0x00000000
Debug: 642 2912 target.c:2267 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 643 2921 target.c:2267 target_write_u32(): address: 0xe0001030, value: 0x00000000
Debug: 644 2930 target.c:2267 target_write_u32(): address: 0xe0001034, value: 0x00000000
Debug: 645 2939 target.c:2267 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 646 2948 target.c:2267 target_write_u32(): address: 0xe0001040, value: 0x00000000
Debug: 647 2957 target.c:2267 target_write_u32(): address: 0xe0001044, value: 0x00000000
Debug: 648 2965 target.c:2267 target_write_u32(): address: 0xe0001048, value: 0x00000000
Debug: 649 2974 target.c:2267 target_write_u32(): address: 0xe0001050, value: 0x00000000
Debug: 650 2983 target.c:2267 target_write_u32(): address: 0xe0001054, value: 0x00000000
Debug: 651 2991 target.c:2267 target_write_u32(): address: 0xe0001058, value: 0x00000000
Debug: 652 3002 cortex_m.c:418 cortex_m_debug_entry():
Debug: 653 3012 cortex_m.c:166 cortex_m_clear_halt(): NVIC_DFSR 0x9
Debug: 654 3022 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 0 value 0x0
Debug: 655 3029 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 1 value 0x0
Debug: 656 3036 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 2 value 0x0
Debug: 657 3042 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 3 value 0x0
Debug: 658 3049 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 4 value 0x0
Debug: 659 3058 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 5 value 0x0
Debug: 660 3067 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 6 value 0x0
Debug: 661 3077 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 7 value 0x0
Debug: 662 3084 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 8 value 0x0
Debug: 663 3094 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 9 value 0x0
Debug: 664 3103 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 10 value 0x0
Debug: 665 3113 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 11 value 0x0
Debug: 666 3123 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 12 value 0x0
Debug: 667 3133 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 13 value 0x20008000
Debug: 668 3144 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 14 value 0xffffffff
Debug: 669 3154 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 15 value 0x136c
Debug: 670 3164 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 16 value 0x1000000
Debug: 671 3174 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 17 value 0x20008000
Debug: 672 3185 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 18 value 0x0
Debug: 673 3194 cortex_m.c:1557 cortex_m_load_core_reg_u32(): load from special reg 19 value 0x0
Debug: 674 3204 cortex_m.c:1557 cortex_m_load_core_reg_u32(): load from special reg 20 value 0x0
Debug: 675 3215 cortex_m.c:1557 cortex_m_load_core_reg_u32(): load from special reg 21 value 0x0
Debug: 676 3225 cortex_m.c:1557 cortex_m_load_core_reg_u32(): load from special reg 22 value 0x0
Debug: 677 3229 cortex_m.c:478 cortex_m_debug_entry(): entered debug state in core mode: Thread at PC 0x136c, target->state: halted
Debug: 678 3234 target.c:1465 target_call_event_callbacks(): target event 0 (gdb-halt)
Debug: 679 3238 target.c:1465 target_call_event_callbacks(): target event 1 (halted)
User : 680 3241 target.c:1889 target_arch_state(): target state: halted
User : 681 3243 armv7m.c:553 armv7m_arch_state(): target halted due to debug-request, current mode: ThreadxPSR: 0x01000000 pc: 0x0000136c msp: 0x20008000
Debug: 682 3250 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu curstate
Debug: 683 3254 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu curstate
Debug: 684 3258 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 685 3262 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 686 3266 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu cget -chain-position

Debug: 687 3271 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu cget -chain-position
Debug: 688 3275 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag tapisenabled cc2538.dap
Debug: 689 3280 command.c:145 script_debug(): command - ocd_jtag ocd_jtag tapisenabled cc2538.dap
Debug: 690 3284 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu arp_waitstate halted 5000
Debug: 691 3288 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu arp_waitstate halted 5000
Debug: 693 3295 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu invoke-event reset-init
Debug: 694 3300 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu invoke-event reset-init
Debug: 695 3304 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_cc2538.cpu invoke-event reset-end
Debug: 696 3309 command.c:145 script_debug(): command - ocd_cc2538.cpu ocd_cc2538.cpu invoke-event reset-end
Debug: 697 3316 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_echo ** Programming Started **
Debug: 698 3321 command.c:145 script_debug(): command - echo ocd_echo ** Programming Started **
User : 700 3327 command.c:764 jim_echo(): ** Programming Started **
Debug: 701 3329 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash write_image erase core_boot.bin 0x200000
Debug: 702 3335 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_echo ** Programming Failed **
Debug: 703 3339 command.c:145 script_debug(): command - echo ocd_echo ** Programming Failed **
User : 705 3345 command.c:764 jim_echo(): ** Programming Failed **
Debug: 706 3349 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_shutdown error
Debug: 707 3354 command.c:145 script_debug(): command - shutdown ocd_shutdown error
User : 709 3360 server.c:608 handle_shutdown_command(): shutdown command invoked
Debug: 710 3364 command.c:628 run_command(): Command failed with error code -4
User : 711 3367 command.c:689 command_run_line(): embedded:startup.tcl:490: Error:
in procedure 'flash' called at file "embedded:startup.tcl", line 490
PS C:\Users\niclasz\Downloads\openocd-0.9.0>