Issue with FDCAN and USB Interrupts in Non-Secure Loader
Hello,
I am working on the X‑CUBE‑AZURE TFM_Azure_IoT example for the B‑U585I‑IOT02A board and would like to replace the default UART loader with CAN and USB loaders. While the non-secure loader boots and runs correctly, the non-secure interrupts for FDCAN and USB do not trigger. In the application, both peripherals work with interrupts, but in the loader, they do not.
To make this change, I modified the loader's non-secure application size to accommodate the FDCAN and USB stacks. However, I am encountering issues with interrupts not firing.
I have verified that FDCAN works in polling mode in the non-secure loader application.
Environment:
Board: B‑U585I‑IOT02A (STM32U585)
X‑CUBE‑AZURE: TFM_Azure_IoT (v2.3.0)
Toolchain/IDE: STM32CubeIDE
What I've tried:
Adjusted the non-secure application size to fit the CAN and USB stacks.
Ensured the peripherals are initialized in the non-secure context.
Checked the interrupt enablement for CAN and USB, but no interrupts are firing.
Thanks in advance!
