2022-12-06 03:52 AM
2022-12-07 12:26 AM
Hi, found the solution.. reset circuit must be connected and program is done using STM CUBE IDE.
we can program G series with st link v2 .
2022-12-06 11:11 AM
How exactly is this connected up, and what speed are you trying to connect at?
Perhaps a circuit diagram of what you're doing, and some screens/output from STM32 Cube Programmer
2022-12-06 06:44 PM
If the STM32G0B Nucleo has embedded STLinkV2, there is the answer....
However the G0 series has many low pincount packages and swd pins are shared with boot, reset can become gpio, etc... as such, once badly programmed, there are possible irrecoverable mistakes. First safety would be to have a short sw delay at power on to give a chance for debugger to take control before the gpios are reconfigured.
2022-12-06 10:31 PM
trying with 4MHZ swclk...
2022-12-06 10:31 PM
yes nucleo board have st link on board
2022-12-06 10:32 PM
2022-12-07 12:26 AM
Hi, found the solution.. reset circuit must be connected and program is done using STM CUBE IDE.
we can program G series with st link v2 .
2022-12-07 03:33 AM
You have masked the problem, not "found the solution". To connect to a G0, you must have SWD interface operational AND the cpu cannot be put to sleep with WFI or SleepOnExit - that's the peculiarity of M0+ core in its default setting. No Reset connection is needed.
In my G0 project, I usually turn on SleepOnExit in a timer ISR, some 5..10 seconds after device startup.
2022-12-07 04:50 AM
ohhh... thanx for the reply @gbm .. can you provide me some more details on that.