I want to know if some of you have try to program the nucleo32 board with the mcu STM32L011K4.
I can't by using the folowing methods:
- st-flash
- st-utils
- openocd
Here are the resulting errors I got:
st-util
2016-12-22T23:37:14 INFO src/stlink-common.c: Loading device parameters....
2016-12-22T23:37:14 WARN src/stlink-common.c: unknown chip id! 0x10086457
st-flash write build/ch.bin 0x8000000
2016-12-22T23:37:48 INFO src/stlink-common.c: Loading device parameters....
2016-12-22T23:37:48 WARN src/stlink-common.c: unknown chip id! 0x10086457
openocd -f /usr/local/share/openocd/scripts/interface/stlink-v2.cfg -f /usr/local/share/openocd/scripts/target/stm32l0.cfg
Open On-Chip Debugger 0.10.0-dev-00322-g406f4d1 (2016-06-18-08:00)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
adapter speed: 300 kHz
adapter_nsrst_delay: 100
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
none separate
Info : Unable to match requested speed 300 kHz, using 240 kHz
Info : Unable to match requested speed 300 kHz, using 240 kHz
Info : clock speed 240 kHz
Error: open failed
in procedure 'init'
in procedure 'ocd_bouncer'
The st-* tools don't seems to kown this chip and I'm not used to openocd.