Cannot connect to BlueNRG M2SP with BlueNRG ST link utility SWD after upgrading firmware
Using AN5651 Update procedure and configuration in DTM firmware for X-NUCLEO-BNRG2A1, I upgraded the firmware image to the latest stack image. I connected the ST link V2 and flashed the "BLUENRG-M2SP_DTM_SPI.hex" file with the BlueNRG ST link utility. After the device was flashed successfully, the ST link V2 lost connection to the device and could no longer connect to the target. The SWD settings are the same as before: 100kHz, low power mode enabled, etc. I have tried restarting the application, power cycling the board, and trying different SWD frequencies, but nothing seems to work.
The interesting thing is that the M2SP is fully functional. The BLE application on my main nucleo board still functions with the BNRG2A1 as before, so I know that the new FW was flashed correctly. In fact, I verified the reported FW version from the M2SP had changed to the new version number when debugging my nucleo board application. It seems that the new FW image I flashed has somehow disabled SWD.
