2023-04-04 03:25 AM
2023-04-04 05:10 AM
Welcome, @PGall.4, to the community!
If you are talking about the internal bootloader in each STM32, its activity cannot be indicated with an LED.
However, if you write your own bootloader, you have all the freedom, but also the disadvantage of losing user flash.
Does it answer your question?
Regards
/Peter
2023-04-04 05:10 AM
Welcome, @PGall.4, to the community!
If you are talking about the internal bootloader in each STM32, its activity cannot be indicated with an LED.
However, if you write your own bootloader, you have all the freedom, but also the disadvantage of losing user flash.
Does it answer your question?
Regards
/Peter
2023-04-04 05:17 AM
Have a GPIO / LED that lights after reset, have your code clear it.
2023-04-04 05:17 AM
Hi Peter!
Yes, I was talking about internal bootloader. We wanted to ensure that the MCU wasn't in that state with a visual indication,
Many thanks!
2023-04-04 06:13 AM
Good idea, but requires a little extra hardware, e.g. an external flipflop.
2023-06-12 07:34 AM
I know this is a 2 month old thread resurrected probably by this badly handled spamming wave, but maybe this is a topic worth another answer.
The default bootloader sets pullups/pulldowns on some pins. AN2606 probably does not deal with this adequately and ST for whatever weird reason refuses to publish the bootloader sources, but you can disassemble/single-step the bootloader to see which ones - e.g. UART Rx pins. The pullups/pulldowns are nominally 40kOhm, and these days there are LEDs out there which light up quite adequately with currents like that.
Whether it's worth to spend a pin on this function is a question for OP to decide.
JW
2023-06-12 07:58 AM
Very good idea that is worth pursuing.