1 | openocd -f interface/stlink-v2.cfg -f target/stm32l0.cfg -c "reset_config srst_only srst_nogate connect_assert_srst" -c init -c "reset halt" -c "program /media/silverserver/rnd/software2/MCU/projects/SUPERNOVA/build/debug/debug.bin verify exit 0x08000000" -c "shutdown"
|
2 | Open On-Chip Debugger 0.10.0
|
3 | Licensed under GNU GPL v2
|
4 | For bug reports, read
|
5 | http://openocd.org/doc/doxygen/bugs.html
|
6 | Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
|
7 | adapter speed: 300 kHz
|
8 | adapter_nsrst_delay: 100
|
9 | Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
|
10 | none separate
|
11 | srst_only separate srst_nogate srst_open_drain connect_assert_srst
|
12 | Info : Unable to match requested speed 300 kHz, using 240 kHz
|
13 | Info : Unable to match requested speed 300 kHz, using 240 kHz
|
14 | Info : clock speed 240 kHz
|
15 | Info : STLINK v2 JTAG v27 API v2 SWIM v0 VID 0x0483 PID 0x3748
|
16 | Info : using stlink api v2
|
17 | Info : Target voltage: 2.918068
|
18 | Info : stm32l0.cpu: hardware has 4 breakpoints, 2 watchpoints
|
19 | Info : Unable to match requested speed 300 kHz, using 240 kHz
|
20 | Info : Unable to match requested speed 300 kHz, using 240 kHz
|
21 | adapter speed: 240 kHz
|
22 | target halted due to debug-request, current mode: Thread
|
23 | xPSR: 0xf1000000 pc: 0x08000378 msp: 0x20002000
|
24 | Info : Unable to match requested speed 300 kHz, using 240 kHz
|
25 | Info : Unable to match requested speed 300 kHz, using 240 kHz
|
26 | adapter speed: 240 kHz
|
27 | target halted due to debug-request, current mode: Thread
|
28 | xPSR: 0xf1000000 pc: 0x08000378 msp: 0x20002000
|
29 | STM32L0: Enabling HSI16
|
30 | Info : Unable to match requested speed 2500 kHz, using 1800 kHz
|
31 | Info : Unable to match requested speed 2500 kHz, using 1800 kHz
|
32 | adapter speed: 1800 kHz
|
33 | ** Programming Started **
|
34 | auto erase enabled
|
35 | Info : Device: STM32L0xx (Cat. 2)
|
36 | Info : STM32L flash size is 16kb, base address is 0x8000000
|
37 | Warn : couldn't use loader, falling back to page memory writes
|
38 | wrote 4096 bytes from file /media/silverserver/rnd/software2/MCU/projects/SUPERNOVA/build/debug/debug.bin in 0.570634s (7.010 KiB/s)
|
39 | ** Programming Finished **
|
40 | ** Verify Started **
|
41 | Error: JTAG failure
|
42 | Error: Error setting register
|
43 | target halted due to breakpoint, current mode: Handler HardFault
|
44 | xPSR: 0x61000003 pc: 0x2000002e msp: 0x20002000
|
45 | verified 2088 bytes in 0.025757s (79.165 KiB/s)
|
46 | ** Verified OK **
|
47 | shutdown command invoked
|