2024-06-14 01:06 AM
I am a new embedded software engineer using STM32L432KC for my company's projects.
I have been tasked to install a bootloader into this MCU. I am not sure how to proceed. I do understand that the BOOT0 pin which is grounded has to be set HIGH and BOOT1 pin has to be set LOW. But I'm not sure how to program the chip to install the bootloader into memory.
Can someone assist me on this issue? I am using the Keil Microvision alongside STM32CubeMX.
It would be really helpful if you could prove the links to APIs/Headerfiles etc/.
2024-06-14 01:28 AM - edited 2024-06-14 01:28 AM
Hello @Abijith and welcome to the ST Community :smiling_face_with_smiling_eyes:.
I suggest you follow the instructions and recommendations of the AN2606. Also, you have to take a look at the chapter 2.6 of the RM0394.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-06-17 05:28 AM
Hi All,
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Regards,
Jake
ST Support
2024-06-19 06:19 AM
Hey, thanks for the reply.
Is it possible to flash the firmware using GPIO pins via UART? I would not want to use microUSB anymore. This is because my company is building a tool with other components and it will be difficult to open the packaging every time to connect the microUSB and flash.
2024-06-19 06:41 AM
Your inf is little chaos, from where you have here micro USB? But primary you can use own bootloader = any custom method and connection for fw, or sytem bootloaders as described in AN2606 actualy chapter 66 pages 329-...
2024-06-19 07:10 AM
Hello @Abijith
The bootloader is also available on the UART interface for the STM32L432KC:
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.