Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashing STC8H1K08 fails #109

Open
kolod opened this issue Oct 14, 2024 · 1 comment
Open

Flashing STC8H1K08 fails #109

kolod opened this issue Oct 14, 2024 · 1 comment

Comments

@kolod
Copy link

kolod commented Oct 14, 2024

"C:\Users\alexa\.platformio\penv\Scripts\python.exe" "C:\Users\alexa\.platformio\packages\tool-stcgal\stcgal.py" -D -Pstc8 -t6000 -b19200 -pCOM8 -a -P stc8 -p COM8 -t 11059 -a .pio\build\STC8H1K08\firmware.hex     
Cycling power: done
<- Packet data: 00
<- Packet data: 00
<- Packet data: 46 B9 68 00 38 50 FF FF FF FF C5 10 04 FF FF BF FD FF 26 DB F5 20 73 55 00 F7 34 0D 89 1C 9C C5 0F 1F 20 FF 00 30 00 20 04 A6 23 08 15 32 FF 6A 20 48 74 91 AC D8 FF 18 AC 16
Waiting for MCU: done
Target model:
  Name: STC8H1K08
  Magic: F734
  Code flash: 8.0 KB
  EEPROM flash: 4.0 KB
Target frequency: 0.000 MHz
Target BSL version: 7.3.13U
-> Packet data: 46 B9 6A 00 20 00 0C 00 00 17 00 2E 00 45 00 5C 00 73 00 8A 00 A1 00 B8 00 CF 00 E6 00 FF 00 06 86 16
Target wakeup frequency: 35.100 KHz
Target ref. voltage: 1190 mV
Target mfg. date: 2023-08-15
Target options:
  reset_pin_enabled=False
  clock_gain=high
  watchdog_por_enabled=False
  watchdog_stop_idle=True
  watchdog_prescale=64
  low_voltage_reset=False
  low_voltage_threshold=2
  eeprom_erase_enabled=True
  bsl_pindetect_enabled=False
  por_reset_delay=long
  rstout_por_state=high
  uart1_remap=False
  uart2_passthrough=True
  uart2_pin_mode=push-pull
  epwm_open_drain=True
  program_eeprom_split=8192
Loading flash: 106 bytes (Intel HEX)
<- Packet data: 46 B9 68 00 20 00 0C 18 41 19 FD 1B C2 1D 8A 1F 49 20 F0 22 76 24 14 25 AC 27 86 29 2A 2A F5 08 BF 16
-> Packet data: 46 B9 6A 00 20 00 0C 9F 00 A0 00 A1 00 9F 01 A0 01 A1 01 9F 02 A0 02 A1 02 9F 03 A0 03 A1 03 08 28 16
Trimming frequency: 11.062 MHz
<- Packet data: 46 B9 68 00 20 00 0C 23 F6 24 14 24 26 23 E7 24 11 24 0B 24 0B 24 02 24 20 23 F9 24 20 24 32 05 EC 16
-> Packet data: 46 B9 6A 00 0E 01 00 00 FE C8 02 A0 80 03 61 16
<- Packet data: 46 B9 68 00 07 01 00 70 16
-> Packet data: 46 B9 6A 00 0B 05 00 00 5A A5 01 79 16
Switching to 19200 baud: done
<- Packet data: 46 B9 68 00 07 05 00 74 16
-> Packet data: 46 B9 6A 00 0B 03 00 00 5A A5 01 77 16
Serial port error: read timeout
@kolod
Copy link
Author

kolod commented Oct 14, 2024

I am using platformio in VSCode on Windows 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant