Jum to Bootloader from application without PIN.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-21 11:06 AM
Hi,
I am developing a bootloader, I would like to flash the STM32 using another MCU using USART.
My question is, If it possible to enter into bootloader mode without using external pins? I would like to enter just by software, is that possible?
I see that all the bootloader activation patterns include PIN state. is there any other way to do it without pin?
Regards
Manuel
- Labels:
-
STM32U5 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-21 11:15 AM - edited ‎2024-05-21 11:17 AM
I mean yes. On some MCUs with detect fw required erase 0 sector before jump.
But when you develop own bootloader , this is based on your code... no problem.
For system bootloader read AN2606
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-21 11:33 AM
As start, e,g, check for warm reboot or some magic in RAM and go to the system bootloader or the application else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-21 11:37 AM
It's probably desirable to provide for a NRST, BOOT0 connection, along with the UART, to allow you significant control over the process.
You can write your OWN loader code to interact with another MCU, and update, completely independently of the ROM based System Loader. In many cases that will be simpler and more secure.
Ultimately the MCU can call and execute whatever code you direct it at.
Up vote any posts that you find helpful, it shows what's working..
