Default stm32.cfg script, STM32F103RB chip, OpenOCD build from 28.10.2010. Everything works perfectly fine without any changes.
Open On-Chip Debugger > reset halt JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3) JTAG tap: stm32.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6410, ver: 0x1) Only resetting the Cortex-M3 core, use a reset-init event handler to reset any p eripherals target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x08000130 msp: 0x200006e8 > flash probe 0 device id = 0x20036410 flash size = 128kbytes device id = 0x20036410 flash size = 128kbytes flash 'stm32x' found at 0x08000000 > stm32x unlock 0 stm32x unlocked. INFO: a reset or power cycle is required for the new settings to take effect. > reset init JTAG tap: stm32.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3) JTAG tap: stm32.bs tap/device found: 0x16410041 (mfg: 0x020, part: 0x6410, ver: 0x1) Only resetting the Cortex-M3 core, use a reset-init event handler to reset any p eripherals target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x08000130 msp: 0x200006e8 > flash erase_address 0x08000000 0x800 erased address 0x08000000 (length 2048) in 0.078125s (25.600 KiB/s) > flash fillw 0x08000000 0x12345678 0x40 wrote 256 bytes to 0x08000000 in 0.312500s (0.800 KiB/s) > mdw 0x08000000 0x40 0x08000000: 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345 678 0x08000020: 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345 678 0x08000040: 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345 678 0x08000060: 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345 678 0x08000080: 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345 678 0x080000a0: 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345 678 0x080000c0: 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345 678 0x080000e0: 12345678 12345678 12345678 12345678 12345678 12345678 12345678 12345 678 4\/3!! _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
