NUCLEO-WBA65RI BLE examples not working
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!


