2025-07-03 8:36 AM - last edited on 2025-07-03 8:50 AM by Andrew Neil
Moved from MPUs section - STM32L100 is an MCU, not an MPU
I compare this my layout board (with outer st-linkv2 connected), and stm32l100c disco.
stm32l100c disco does not have such a question.
It will show "Error 57: Illegal Address(0x8000000)".
And I disable download to flash, this error is disappeared.
However, the program runs in 0x1ffffxxxx,not flash (0x8000000). It won't run my codes (no flash could be found?).
I could not run my codes after download, either.
But I am totally sure these codes could be executed in stm32l100c disco.
And help?
Solved! Go to Solution.
2025-07-03 8:41 AM - edited 2025-07-03 8:42 AM
Is BOOT0 pulled down?
0x1FFFxxxx indicates it's running the system bootloader. See AN2606 for all ways that can happen. Usually it's because BOOT0 is floating or pulled up.
You can change option bytes such that user flash is always executed, if that's what you want. Connect over SWD in STM32CubeProgrammer and use the OB tab to change.
2025-07-03 8:41 AM - edited 2025-07-03 8:42 AM
Is BOOT0 pulled down?
0x1FFFxxxx indicates it's running the system bootloader. See AN2606 for all ways that can happen. Usually it's because BOOT0 is floating or pulled up.
You can change option bytes such that user flash is always executed, if that's what you want. Connect over SWD in STM32CubeProgrammer and use the OB tab to change.
2025-07-03 8:49 AM
Welcome to the forum.
@huang wrote:
this my layout board
You mean you're working on a custom-designed board?
Then you need to show your schematic - see: How to write your question to maximize your chances to find a solution.
How to take a screenshot:
https://www.techrepublic.com/article/how-to-take-screenshots-in-windows-10/
this will give much better results than a photograph of the screen!
#HowToTakeAScreenshot