---
** [tickets:#247] STM32L031K6 (NUCLEO-L031K6): flash mass erase fails**
**Status:** new
**Milestone:** 0.9.0
**Created:** Sun Jul 28, 2019 01:51 PM UTC by Karolis M
**Last Updated:** Sun Jul 28, 2019 01:51 PM UTC
**Owner:** nobody
**Attachments:**
-
[no_erase.log](https://sourceforge.net/p/openocd/tickets/247/attachment/no_erase.log)
(35.0 kB; text/x-log)
Hi,
Log with debug-level messages attached.
**Hardware: ** NUCLEO-L031K6 (using built-in STLink via micro USB)
**OpenOCD**: 0.10.0+dev-00921-g263deb38 (self-built, unmodified source)
**Invocation**: `src/openocd -d -s 'tcl/' -f 'board/stm32l0discovery.cfg' -c
'init; halt; wait_halt; stm32lx mass_erase 0; shutdown' -l no_erase.log`
**Issue**: Invocation fails with `stm32lx mass erase failed`
I narrowed the problem down slightly to 2nd invocation of
`stm32lx_obl_launch()` (src/flash/nor/stm32lx.c:1340), with corresponding log
entries starting at no_erase.log:413.
If you require any more details or if I could help debugging this in anyway, do
not hesitate to ask.
Regards,
Karolis
---
Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/openocd/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel