cancel
Showing results for 
Search instead for 
Did you mean: 

Question of STM32WB OTA reboot problem

SKmin
Associate

Hello, I have a question about OTA in the stm32wb series.

I'm testing to add the OTA function to the board I'm developing.

After full erase of MCU, I succeeded in downloading application bin file to MCU with STBLE Toolbox application.

Afterwards, to update another bin file, I sent 01 07 FF  to the application service and tried to download another bin file by entering OTA application mode.

However, when entering OTA application mode, it was confirmed through debugging that it enter low power mode and did not operate normally, and entered low power mode while the shci_send function was operating inside the APP_BLE_Init function.

I don't know why this is happening.
I have modified the linker file, checked the magic keyword, and modified SCR->VTOR, but do I need to more modify other sources?

If there's anything you need to check, I'll capture it and upload it right away.

10 REPLIES 10
tester
Associate III

This fixed my issue, I can now reboot into OTA:

https://community.st.com/t5/stm32-mcus-wireless/stm32wb-fota-practical-questions/m-p/601335#M16728

 

Strangely I can only send 20 byte packets when doing an OTA update, but that's another issue..