Øyvind Harboe
2009-04-23 14:47:18 UTC
"reset halt" for STM32 appears to be broken in SVN HEAD...
I don't know if this is a regression.
"reset run", "halt", "flash probe 0" works.
"reset halt", "flash probe 0" fails.
Any ideas?
Log attached....
Open On-Chip Debugger
ba00, Version: 0x3)
JTAG Tap/device matched
JTAG tap: stm32.bs tap/device found: 0x16410041 (Manufacturer: 0x020, Part: 0x64
10, Version: 0x1)
JTAG Tap/device matched
AHBAP: dp_select 0x10, ap_csw 0xa2000002, ap_tar 0xe000edf0
SWJ-DP OVERRUN - check clock or reduce jtag speed
dcb_dhcsr 0x1010001, nvic_shcsr 0x0, nvic_cfsr 0x0, nvic_bfar 0x200007f4
AHBAP: dp_select 0x10, ap_csw 0xa2000002, ap_tar 0xe000edf0
SWJ-DP OVERRUN - check clock or reduce jtag speed
dcb_dhcsr 0x1010001, nvic_shcsr 0x0, nvic_cfsr 0x0, nvic_bfar 0x200007f4
AHBAP: dp_select 0x10, ap_csw 0xa2000002, ap_tar 0xe000edf0
SWJ-DP OVERRUN - check clock or reduce jtag speed
dcb_dhcsr 0x1010001, nvic_shcsr 0x0, nvic_cfsr 0x0, nvic_bfar 0x200007f4
BUG: keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not
sent! (1170)
timed out while waiting for target halted
Runtime error, file "embedded:startup.tcl", line 211:
expected return code but got 'TARGET: stm32.cpu - Not halted'
in procedure 'ocd_process_reset'
unknown error when probing flash bank '#0' at 0x00000000
ba00, Version: 0x3)
JTAG Tap/device matched
JTAG tap: stm32.bs tap/device found: 0x16410041 (Manufacturer: 0x020, Part: 0x64
10, Version: 0x1)
JTAG Tap/device matched
AHBAP: dp_select 0x10, ap_csw 0xa2000002, ap_tar 0xe000edf0
SWJ-DP OVERRUN - check clock or reduce jtag speed
dcb_dhcsr 0x1010001, nvic_shcsr 0x0, nvic_cfsr 0x0, nvic_bfar 0x200007f4
target halted due to debug-request, current mode: Handler SysTick
xPSR: 0x6100000f pc: 0x08000144
flash size = 128kbytes
flash 'stm32x' found at 0x08000000
I don't know if this is a regression.
"reset run", "halt", "flash probe 0" works.
"reset halt", "flash probe 0" fails.
Any ideas?
Log attached....
Open On-Chip Debugger
debug_level 3
reset halt
JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (Manufacturer: 0x23b, Part: 0xreset halt
ba00, Version: 0x3)
JTAG Tap/device matched
JTAG tap: stm32.bs tap/device found: 0x16410041 (Manufacturer: 0x020, Part: 0x64
10, Version: 0x1)
JTAG Tap/device matched
AHBAP: dp_select 0x10, ap_csw 0xa2000002, ap_tar 0xe000edf0
SWJ-DP OVERRUN - check clock or reduce jtag speed
dcb_dhcsr 0x1010001, nvic_shcsr 0x0, nvic_cfsr 0x0, nvic_bfar 0x200007f4
AHBAP: dp_select 0x10, ap_csw 0xa2000002, ap_tar 0xe000edf0
SWJ-DP OVERRUN - check clock or reduce jtag speed
dcb_dhcsr 0x1010001, nvic_shcsr 0x0, nvic_cfsr 0x0, nvic_bfar 0x200007f4
AHBAP: dp_select 0x10, ap_csw 0xa2000002, ap_tar 0xe000edf0
SWJ-DP OVERRUN - check clock or reduce jtag speed
dcb_dhcsr 0x1010001, nvic_shcsr 0x0, nvic_cfsr 0x0, nvic_bfar 0x200007f4
BUG: keep_alive() was not invoked in the 1000ms timelimit. GDB alive packet not
sent! (1170)
timed out while waiting for target halted
Runtime error, file "embedded:startup.tcl", line 211:
expected return code but got 'TARGET: stm32.cpu - Not halted'
in procedure 'ocd_process_reset'
flash probe 0
Target not haltedunknown error when probing flash bank '#0' at 0x00000000
reset run
JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (Manufacturer: 0x23b, Part: 0xba00, Version: 0x3)
JTAG Tap/device matched
JTAG tap: stm32.bs tap/device found: 0x16410041 (Manufacturer: 0x020, Part: 0x64
10, Version: 0x1)
JTAG Tap/device matched
AHBAP: dp_select 0x10, ap_csw 0xa2000002, ap_tar 0xe000edf0
SWJ-DP OVERRUN - check clock or reduce jtag speed
dcb_dhcsr 0x1010001, nvic_shcsr 0x0, nvic_cfsr 0x0, nvic_bfar 0x200007f4
halt
target state: haltedtarget halted due to debug-request, current mode: Handler SysTick
xPSR: 0x6100000f pc: 0x08000144
flash probe 0
device id = 0x20016410flash size = 128kbytes
flash 'stm32x' found at 0x08000000
--
Øyvind Harboe
Embedded software and hardware consulting services
http://consulting.zylin.com
Øyvind Harboe
Embedded software and hardware consulting services
http://consulting.zylin.com