After uploading, there is no prompt to reboot the power supply.

When completing Build and doing Upload, there is no action prompt to reboot.

omputer: MacBook Pro
Chip: Apple M3 Pro
macOS: Sequoia 15.2

platformio.ini information:
[env:STC89C52RC]
platform = intel_mcs51
board = STC89C52RC
upload_protocol = stcgal
monitor_speed = 115200
upload_speed = 256000
upload_port = /dev/cu.wchusbserial210

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.

You should open an issue in https://github.com/platformio/platformio-core/ about this.

:smiling_face_with_tear: :smiling_face_with_tear:

I didn’t realise you had met this.
Since then to date I have not been prompted to reboot.

I raised an issue here and I don’t know if it’s the right way to ask the question. English is too difficult for me.