Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ openocd -f interface/stlink-v2.cfg -f target/stm32f1x_stlink.cfg -c "init" -c "halt" -c "stm32f1x unlock 0" -c "shutdown"
- Open On-Chip Debugger 0.10.0
- Licensed under GNU GPL v2
- For bug reports, read
- http://openocd.org/doc/doxygen/bugs.html
- WARNING: target/stm32f1x_stlink.cfg is deprecated, please switch to target/stm32f1x.cfg
- Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
- Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
- adapter speed: 1000 kHz
- adapter_nsrst_delay: 100
- none separate
- Info : Unable to match requested speed 1000 kHz, using 950 kHz
- Info : Unable to match requested speed 1000 kHz, using 950 kHz
- Info : clock speed 950 kHz
- Info : STLINK v2 JTAG v29 API v2 SWIM v7 VID 0x0483 PID 0x3748
- Info : using stlink api v2
- Info : Target voltage: 3.231196
- Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
- Info : device id = 0x20036410
- Warn : STM32 flash size failed, probe inaccurate - assuming 128k flash
- Info : flash size = 128kbytes
- Info : Device Security Bit Set
- target halted due to breakpoint, current mode: Thread
- xPSR: 0x61000000 pc: 0x2000003a msp: 0xfffffffc
- stm32x unlocked.
- INFO: a reset or power cycle is required for the new settings to take effect.
- shutdown command invoked
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement