ST-Link V3 works well with BlueNRG2 when used from IDE like Keil uVision, but fails in BlueNRG1 ST-Link Utility
- March 14, 2021
- 1 reply
- 2033 views
Hello,
I've started to suspect that something is not quite right with the BlueNRG-1 ST-Link Utility. I have a ST-Link V3 connected to STEVAL-IDB008V1M. I can flash and debug the module from Keil uVision5, but when I try to flash the module from BlueNRG Utility, I get "Can not connect to target!" error.
When I open the settings the SWD frequency shows "Old Firmware" (see attached image). When I go to Firmware update menu and click Decive Connect, I get "The content of the ST-Link is corrupt" error. ST-Link utility for STM32 works OK, including the Firmware update menu.
My ST-Link has the latest FW version V3.J7.M3.B5.S1. Version information of BlueNRG-1 ST-Link Utility is in attachments.
So in summary:
- ST-Link with BlueNRG in Keil uVision 5 works
- ST-Link in STM32 ST-Link Utility works
- ST-Link in BlueNRG1 ST-Link Utility does not work
What could be the issue?
Edit: I checked from the logs and trace.log looks suspicious. It has lots of following errors: "The detected STM32 firmware version (V3.J0) does not support the SWCLK frequency selection. Default frequency kept.". See full log in the attachments.
