Skip to main content
Visitor II
June 14, 2024
Question

Initialize the bootloader on STM32L432KC

  • June 14, 2024
  • 2 replies
  • 1630 views

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/.

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    June 14, 2024

    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 

    AbijithAuthor
    Visitor II
    June 19, 2024

    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.

     

    Graduate II
    June 19, 2024

    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-...

    ST Employee
    June 17, 2024

    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