After installing the program with ST-LINK, when I turn off the power and return it, the last program I installed does not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-07 6:35 AM
Hi. I am using stm32L010C6Tx. After installing the program with ST-LINK, when I turn off the power and return it, the last program I installed does not work. I need to reload the code. I wondered if it wasn't writing to your Flash, but it looks full in cubeprogrammer. The NRST lead is connected to GND with a 100 nF capacitor. Boot0 end is idle. Any ideas as to why it might be?
Solved! Go to Solution.
- Labels:
-
ST-Link
-
STM32L0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-07 9:15 AM
Boot0 end is idle ??? Connect it to GND over 1k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-07 8:30 AM
Try:
- Disconnect STLink (STLink might be holding board in reset, there are options in the IDE and PRG software for STLink Reset/Program modes)
- Any Bootloader Required? You can debug code without the bootloader, but to run standalone will need Bootloader+App.
- Reset & programming circuit on PCB? Proper pulldowns/pullups/caps? Show your circuit/schematic.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-07 9:15 AM
Boot0 end is idle ??? Connect it to GND over 1k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-07 11:22 PM
Thank you for your help. Thanks to you, the program worked. This is the solution..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-07 11:23 PM
Hello, the solution is to connect boot0 to GND with a resistor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-07 11:27 PM
To be precise: BOOT0 must read logical 0, which can be achieved:
- either with a pull-down resistor (so that a 1 can later also be applied), or
- with permanent connection to GND
Regards
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-02-19 11:33 PM
Hi, I am having the same problem. I connected the reset to pull up with 10k and the Boot0 pin to pull down with 10k.
But this does not solve my problem.I need your help.
