2023-01-20 11:49 AM
I have a WIO-5 mini from Seeed. I bought STM-LINK V2 to program it. But I can't attach it to STM32 Cube Programmer; I read this page Wio-E5 mini - Seeed Wiki (seeedstudio.com), but I found it completely unusable. I tried to connect STM8 wires to that chip, but the cables on the photo are entirely different from those in my ST-LINK device. They have different colors, and the authors of this page don't explain which pin should be attached to WIO-5 pins. I tried to do it in many ways, but STM32 Cube Programmer doesn't;t react to Connect button (without success or fail message)
So I have a question, how to program a WIO-5 device using ST-LINK?
Solved! Go to Solution.
2023-01-22 04:19 AM
After several tries (button Boot pressed or PB13 connected to GND, VSS, or VCC) my WIO-5 mini doesn't respond on AT commands. So I guess that it isn't already in AT mode but still isn't in DFU mode.
2023-01-22 05:27 AM
What a stupid thing!
The command line shows that this board requires a software reset. I changed the reset mode to the hardware reset and shared it to enable, pressed, and hold the button Reset on the board, and I clicked on the Connect button in the STM32Cube Programmer IDE and...
Every source on the Internet mentions that the reset button should be held until clicking on the Connect button. So I click on the reset button and release it, and next click on the Connect button, and viola...
I think a little bit closer to my target now.
2023-01-22 05:58 AM
It's the final cut and the end of the story (but I have to change Read Protection Level to AA - no protection):
My WIO-5 board is ready for programming now (I hope :) )
PS. It's the worst thing we - all developers - do during the overall software build process, from the backlog to the move of product to the market: DOCUMENTATION! Poorly written, unclear, and outdated.