STM32L010K4T loses flashed program after reset or power off
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-21 9:22 AM
Hi,
I'm quite new to STM32 MCUs as I just switched from PSoC MCUs. I'm using a STM32L010K4T6 and I cannot get it to work as the problem seems to "disappear" after reset or power off. I went through the configuration (I'm using STM32CubeIDE) and I cannot find anything related that could solve the problem. When I flash the MCU it works perfectly until I remove the power or just reset manually. I was thinking that it could be the reset vectors or bootloader that are not jumping to the correct memory address or not jumping at all.
I attached the test project I'm running.
Thank you!
Solved! Go to Solution.
- Labels:
-
Flash
-
RESET
-
STM32L0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-21 9:31 AM
Are you sure you just don't have the BOOT0 pin or options set wrong? How have you checked the Flash content? Show in STM32 Cube Programmer
Make sure BOOT0 pin is pulled to ground in your design.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-21 9:31 AM
Are you sure you just don't have the BOOT0 pin or options set wrong? How have you checked the Flash content? Show in STM32 Cube Programmer
Make sure BOOT0 pin is pulled to ground in your design.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-21 9:39 AM
Hi! BOOT0 was not grounded. Now it is working, I remember reading about boot modes but I totally missed it when drawing my schematics. Thank you so much!!
