platformio / platform-intel_mcs51

Intel MCS-51 (8051): development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/intel_mcs51
Apache License 2.0
56 stars 44 forks source link

The default "- a" parameter in the "UPLOADERFLAGS" variable in "main. py" will cause the "STC89c516RD+" MCU to fail to upload normally #47

Open StarChenPy opened 1 year ago

StarChenPy commented 1 year ago

The default "- a" parameter in the "UPLOADERFLAGS" variable in "main. py" will cause the "STC89c516RD+" MCU to fail to upload normally.

When "UPLOAD" is executed, the process card is in "Cycling power: done", At this time, the microcontroller will lose power supply.

After trying to delete the "- a" parameter, the upload is normal, and you need to manually restart the power supply of the microcontroller.

image

If this problem occurs with other SCM, should you delete this default parameter?

ryan4yin commented 1 year ago

same problem here, and as you described in this issue, I resolved this by run stcgal.py without -a manually.