So, I do not understand when you say you press the RESET button of the STM-32.geostein8888 a écrit : ↑13 déc. 2020 06:53 yes i used the same ST-Link V2 i used for the linking test and the echo test before
During the programming of the STM-32, using the USB ST-link v.2 programmer and the ST-link utility, you normally do not have to press this button. If you have to do it, it means you have an issue to connect the ST-link utility to the STM-32.
If it is the case, I suggest you check your USB ST-link v.2 programmer have not a bad internal wiring. One French member, at least, have received an USB ST-link v.2 programmer bad wired. See "Quick and easy programming method", STEP 1, point 7 from the sub-manual dedicated to the STM-32 programming that you can find at the end of the assembly manual of the RS-CNC32. Here is the sub-manual extracted from the assembly manual of the RS-CNC32.
In the case you USB ST-link v.2 programmer have correct internal wiring. I suggest you try to update it with the last available firmware. You do not have to connect the STM-32 to the USB ST-link v.2 programmer for that. "Quick and easy programming method", STEP 1, points 3, 4, 5, and 6 from the sub-manual dedicated to the STM-32 programming.
Once all this done and supposing you still have to press RESET button to connect the ST-link utility to the STM-32, try to completely erase the STM-32. Here is the procedure :
- take off the STM-32 from the 32bits GRBL board,
- connect it to the USB ST-link v.2 programmer, like explained at "Quick and easy programming method", STEP 1, point 9,
- open ST-link utility,
- press and hold down the RESET button of the STM-32,
- click Target>Connect in the ST-link utility, and release the RESET button of the STM-32,
- click Target>Erase Chip in the ST-link utility,
- in the bottom window of the ST-link utility, you should see the following message: "Flash memory erased."
Now you can program the STM-32 following the easy way or customized method. Be aware that I didn't updated the STM-32's firmware links yet. So, you have to download the already compiled version or the modified version (depends of the programming method you want to use) from the MakerFr's website pages. For the customized programming method, you also can download the firmware from the mstrens' GitHub page.
See ya