cancel
Showing results for 
Search instead for 
Did you mean: 

Application not starting correct after UART bootloader

AWack
Associate III

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

2 REPLIES 2
mƎALLEm
ST Employee

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?

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.

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..