2024-12-17 06:58 AM
I have been using the generic stm32f407vgt6 discovery board as a programmer to program another stm32 board[stm32f103ret6]. I am able to do this by removing the 2 jumpers on the discovery board. While this works, stm32cubeide is unable to recognize the programmer after it has been unplugged for longer periods of time which is often overnight and I am unable to push code nor debug code either. This is the error I get
Target no device found
Error in initializing ST-LINK device.
Reason: No device found on target.
After fiddling with the programmer it somehow "miraculously" works and I am able use it as a programmer again. But once I leave it unplugged for a longer perioed (usually overnight) I encounter the same error again the next time I wish to use it. Has anyone else experienced this issue before and how did you solve it.
PS:
Some of the fiddling I do include;