I’m using vs-code to learn the STC89C52RC microcontroller with the PlatformIO plugin, which is very handy.
But today I’m having a problem, as shown in the picture, before it would prompt me to reboot, now it keeps showing Uploding …, only after I power off. May I ask what is the situation?
I want to be prompted to reboot, not I don’t know what to do and go try rebooting.
I have made no changes to the settings, configuration, and I want to be prompted to reboot.
Thank you all so much for your help.
The problem remains unresolved, but in my attempts to solve it, I have discovered another phenomenon.
When I burn manually, I get a reboot prompt with the following command:
stcgal -P stc89 -p /dev/tty.wchusbserial210 /Users/shawnmao/Documents/PlatformIO/Projects/Test/.pio/build/STC89C52RC/firmware.hex
However, there is still no prompt using PlatformIO, and I’m wondering why there was a prompt a few days ago, has anyone else had a similar problem?
I’ve seen those things multiple times, and the problem is likely that the stcgal program does not flush its partial stdout output, and thus PlatformIO does not pick up on it. It could also be that since there is no ending newline, PlatformIO does not pick it up.