2024-02-06 10:01 AM
I had a board assembled through JLCPCB, which included mounting an STM32L071. When the PCB arrived, I loaded a program with a blinking LED in an infinite loop. Unfortunately, the program didn't behave as expected, and during debugging, I encountered what is shown in the image.
However, when I load the same program onto another board with an STM32 from Farnell, everything works as it should. This made me wonder if the MCU might be a clone. How can I tell? What does the error actually mean? Could it have a different vector table? I can step through a few lines, but once the program is running, I can't pause it to see where the program currently is.
Solved! Go to Solution.
2024-02-06 11:58 AM
Check the connection of BOOT0 to GND once again.
2024-02-06 10:06 AM
Pictures of the device, large, close, sharp and in-focus would be most telling.
The error is more indicative of the BOOT0 pin not being pulled low, or some intrinsically different Option Bytes settings related to the boot mode, nBoot or whatever.
Open a connection to the device with STM32 Cube Programmer, screen shot of that, and the option bytes tab.
2024-02-06 11:28 AM
BOOT0 pin is tied to GND:
and footprint:
2024-02-06 11:58 AM
Check the connection of BOOT0 to GND once again.
2024-02-06 12:14 PM
Holy s**t, Really there is no connection to GND - My mistake in layout
Thank you - solved.