Hardware Semaphores for SBSFU in STM32WB
Hello guys,
I've implemented SBSFU along side with an USB standalone loader for my project using a STM32WB. My question is, should i implement hardware semaphores and shci_notification for CPU2 during flash erasing and writing operations on my USB external loader? I don't use BLE in this loader, but the user app will and the microcontroller CPU2 will have a running ble stack.
I'm not sure how the "reset" of CPU2 works, if my userapp call for "NVIC_SYSTEM_RESET()", will CPU2 reset aswell? After reset, will CPU2 only start when my application call appe_init() or will it start automatically? I'm considering that because if CPU2 reset when microcontroller get a software reset and only runs after the call of appe_init(), i wouldn't need any hardware semaphores in my external loader, since CPU2 would be halted, right?
So, should or shouldn't implement hardware semaphores and shci_notification in my USB loader?
