2025-04-23 5:12 AM
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
2025-06-10 10:00 AM
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?
2025-06-10 10:12 AM
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.