2024-07-11 03:35 AM
I am trying to program the STM8S001J3 microcontroller, on a custom board. I am using ST Visual Programmer tool for flashing the program but I’m running into the following error continuously.
I have tried using both ST-Link/V2(A) and ST-Link/V2(A) ISOL but it gives the same error. Since Reset pin is not available in this controller, connections I made are as follows:
ST-Link/V2(A) | Target MCU |
VDD | Pin 4 |
GND | Pin 2 |
Data | Pin 8 |
And I believe the configurations I made in STVP are correct:
So, I have these questions:
1. Are the connections with ST-Link correct? Should we be using another version of debugger/programmer? If yes, could you direct us to which device we should be using?
2. Is there any other way to simulate the reset condition other than Power-On Reset?