Closed totollo closed 2 years ago
Not sure what is going on but it seems nobody maintains mcs51 repository. If you want to flash STC8 chips you need to manually update the stcgal in PlatformIO tool package folder.
I was trying to upload code to an STG8G1 chip, but it seems stcgal 1.6 has a bug where it either silently fails after not waiting for the device to be reset, or shows a warning: WARNING: Unknown model F754!
.
Flashing manually with the newest version of stcgal works.
Unfortunately, the "tool-stcgal" repo is nowhere to be found (at least after 10 minutes of looking for via github and google), so I cannot make an attempt to bump the version myself.
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/intel_mcs51/STC8C2K32S2.html
PLATFORM: Intel MCS-51 (8051) (2.1.0) > Generic STC8C2K32S2
HARDWARE: STC8C2K32S2 11MHz, 2.25KB RAM, 32KB Flash
PACKAGES:
please update stcgal to 1.6 and sdcc to 4.0 . without stcgal 1.6 I can not flash to stc8 chips. thx~~~