2023-02-05 12:38 PM
I bought ST-LINK/V2 from a certified reseller, and I have WIO-5E mini with STM32WL5JC from [Seeed.com](https://Seeed.com) on the board. This WIO-5E was already programmed by another ST-LINK/V2. I connected WIO-5E to ST-LINK as required. I want to reprogam WIO-5MINI using this programator. But STM32Programmer answered:
What should I do so STM32Programmer will see STM32WL5CJ from the WIO-5E mini board?
2023-02-05 02:53 PM
Get a current version of STM32 Cube Programmer, v2.6.0 is a bit old
2023-02-06 12:04 AM
I upgraded to the latest version.
Then I tried to connect with normal mode and I get the message
When I changed to HotPlug mode and pressed the Restet button on the WIO-5E mini, the programmer responded with several messages:
08:53:48 : ST-LINK SN : 38FF6E0630354E3953271743
08:53:48 : ST-LINK FW : V2J37S7
08:53:48 : Board : --
08:53:48 : Voltage : 3.28V
08:53:48 : SWD freq : 4000 KHz
08:53:48 : Connect mode: Hot Plug
08:53:48 : Reset mode : Hardware reset
08:53:48 : Device ID : 0x497
08:53:48 : Revision ID : Rev Z
08:53:48 : Debug in Low Power mode is not supported for this device.
08:53:49 : UPLOADING OPTION BYTES DATA ...
08:53:49 : Bank : 0x00
08:53:49 : Address : 0x58004020
08:53:49 : Size : 96 Bytes
08:53:49 : Bank : 0x01
08:53:49 : Address : 0x58004080
08:53:49 : Size : 8 Bytes
08:53:49 : UPLOADING ...
08:53:49 : Size : 1024 Bytes
08:53:49 : Address : 0x8000000
08:53:49 : Read progress:
08:53:49 : Data read successfully
08:53:49 : Time elapsed during the read operation is: 00:00:00.008
But, when I depress this button, it responds with messages:
08:55:38 : Error: Unable to get core ID
08:55:38 : Error: Unable to get core ID
08:55:38 : Error: Unable to get core ID
08:55:38 : Warning: Connection to device 0x497 is lost
08:55:39 : Disconnected from device.
I still can't program my WIO-5E mini device.
I saw this message above:
Debug in Low Power mode is not supported for this device.
So I have a question. Should I switch to 5V VCC? @Community member
2023-02-06 12:28 AM
We have already discussed the issue of ST-LINK/V2 and "certified resellers" several times. Please check your ST-LINK/V2 carefully to make sure it is not another counterfeit.
You can find discussions about fakes e.g. here, there or there.
Good luck!
Regards
/Peter
2023-02-06 01:25 AM
> Should I switch to 5V VCC?
NO , no , never ! would kill the chip ! only 3v3 is ok.
here > 08:53:48 : Device ID : 0x497 < STlink is connected to target : = Device ID : 0x497 Revision ID : Rev Z Device name : STM32WLxx
and now you can load program to flash also; (dont press reset now, it will stop connection ).
now click download symbol and select xx.bin file, you want to flash:
2023-02-06 02:27 AM
@Peter BENSCH
I bought it from a certified reseller, Waveshare. I wrote this above.
2023-02-06 02:33 AM
@AScha.3
"and now you can load program to flash also; (dont press reset now, it will stop connection )."
The problem is that when I release the reset button, ST-LINK disconnects from the WIO-5E min. I can't connect to WIO-5 min when I only press the button once and depress it. And, of course, I can't download any program to it in both case. That is my problem.
2023-02-06 03:11 AM
Well, Waveshare also sells counterfeit ST-LINK/V2, e.g. this or that one - so much for being a Certified Reseller.
The 2nd URL (chinese version with the woman and the yellow background) is remarkably often a clone. So if you want to be sure, you should check the ST-LINK/V2: often trying to update the firmware to the latest version does not show a meaningful serial number, or you open the ST-LINK and look at the STM32F103 in use, as the previously linked threads show.
Good luck!
/Peter
2023-02-06 03:30 AM
What do you mean when you say: "does not show a meaningful serial number"?
Is this serial number meaningful or not?
12:28:41 : ST-LINK SN : 38FF6E0630354E3953271743
12:28:41 : ST-LINK FW : V2J37S7
2023-02-06 04:19 AM
Well, so far the serial number looks unsuspicious.
Were you able to successfully upgrade the ST-LINK/V2 to V2J40S7?