Skip to main content
Graduate
April 23, 2025
Question

Application not starting correct after UART bootloader

  • April 23, 2025
  • 2 replies
  • 357 views

Hi,

I´ve a application (with RTOS) where I do a FW update via the internal UART bootloader (BOOT0 pin method).

After flashing is finished I set the Boot0 to GND and toggle the reset pin. The application starts, but I don´t get USART interrupts any more.

After Power cycle interrupts are working again.

Any idea?

Best regards,

Achim

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    June 10, 2025

    Hello,

    Are you sure the UART interrupts are enabled in your application?

    If you upload the application with ST link, do you have the same behavior?

    Graduate II
    June 10, 2025

    Double check the NVIC and SystemInit() configuration of SCB->VTOR

    Check the USART isn't flagging any other errors/status

    Use USART in polling mode to output diagnostic/telemetry data, perhaps dumping RCC, USART, NVIC etc so you can note differences between cases.

    Instrument Error_Handler / HardFault_Handler in case it ends up in either of those.