---
** [tickets:#233] Issue flashing STM32L071 processor**
**Status:** new
**Milestone:** 0.9.0
**Created:** Thu Apr 25, 2019 03:49 PM UTC by Jim
**Last Updated:** Thu Apr 25, 2019 03:49 PM UTC
**Owner:** nobody
**Attachments:**
-
[OpenOCD-New.txt](https://sourceforge.net/p/openocd/tickets/233/attachment/OpenOCD-New.txt)
(1.4 MB; text/plain)
-
[OpenOCD-Old.txt](https://sourceforge.net/p/openocd/tickets/233/attachment/OpenOCD-Old.txt)
(1.9 MB; text/plain)
Using openOCD 0.9.0 we were able to program and debug our STM32L071 boards. We
had to upgrade to version 0.10.0 when the new L496 processor came out, but ever
since then we've been unable to program our L0 boards. We ended up forking and
modifying 0.9.0 to support the L496, but now that even newer shinier processors
are coming out and we still have issues with the latest version, I figured I'd
take a whole bunch of data and chime in.
I'm attaching two files, one of them is the openOCD log log from our custom
build based off of 2017-04-14 and one of them is the latest (2018-12-12). Both
of them have -d3 turned on.
The old version works every time. I can put a break point at the first
instruction of main() and I'll get there every time. The new version I don't
think ever works. It says it's done loading but it never hits the break point.
If I hit pause its lost off in the weeds and the processors registers don't
look like they have valid information: R0 through R12 all have a value of
0xffffffff. SP is 0x20004fe0. LR is 0xfffffffe. PC is 0xfffffffe.
If I program the processor with ST-Link and then attach to a running firmware,
then I can debug fine, it just appears to have issues with flashing it. I have
confirmed this using a Nucleo board and there is no firmware running on it (I
erase it with St-Link and power cycle the board before attempting to program
it).
---
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