2025-05-13 12:44 AM
I tried to run two examples on my new NUCLEO-WBA65RI. Specifically the 'BLE_p2pServer' and the 'BLE_HeartRate'. I followed this guide for the p2pServer:
https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32WBA_Build_BLE_Project
Building works but when I try to execute it, the program seems to get stuck using the non volatile memory. With debugging I found out that it might be related to the SNVMA_Init() function. Inside this loop:
/* Erase the bank */
while (EraseSector (((nvmOffset + addressOffset) / FLASH_PAGE_SIZE),
SNVMA_NvmConfiguration[nvmIdx].BankSize) == FALSE);
following the stack trace, I get at some point a write protected error. Is there an easy fix for that?
Thanks!
2025-05-13 2:20 AM
Hello,
which IDE do you use? Can you please share also which WBA package do you use?
Thank you.
Best regards,
ST support
2025-05-13 3:40 AM
Hi, I use the STM32CubeIDE and have the NUCLEO-WBA65RI board. I think it is the STM32WBA65RIV7TR.
2025-05-13 4:09 AM
Hello,
I'm sorry, I meant what firmware WBA package version do you use?
Best regards,
ST support
2025-05-13 4:36 AM
Ah I see :)
It's the STM32Cube_FW_WBA_V1.6.1
2025-05-13 4:54 AM
Thank you, could you please also send your option bytes? Do you use any memory protection?
Best regards,
ST support