Re: STM32L011K4 st-flash problem
Posted: Fri Dec 23, 2016 6:51 pm
No problem, I understand.
I have some time to spend now ,
so I will try to create one cfg while waiting yours.
I have some time to spend now ,
ChibiOS Web Boards
https://forum.chibios.org/
arm-none-eabi-gdb
GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) target remote localhost:3333
Remote debugging using localhost:3333
0x00000000 in ?? ()
(gdb) monitor reset halt
Unable to match requested speed 300 kHz, using 240 kHz
Unable to match requested speed 300 kHz, using 240 kHz
adapter speed: 240 kHz
stm32l0.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0xf0000000 pc: 00000000 msp: 00000000
(gdb) file ch.elf
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Reading symbols from ch.elf...done.
(gdb) load
Loading section .vectors, size 0xc0 lma 0x8000000
Loading section .text, size 0xbd6 lma 0x80000c0
Loading section .rodata, size 0xb0 lma 0x8000c98
Error finishing flash operation
source [find interface/stlink-v2-1.cfg]
transport select hla_swd
set WORKAREASIZE 0x0800
source [find target/stm32l0.cfg]
reset_config srst_only