stcgal icon indicating copy to clipboard operation
stcgal copied to clipboard

Can't STC8G use the tool?

Open XiaoPb opened this issue 4 years ago • 4 comments

Can't STC8G use the tool? When I used stcgal, I can't download program for my STC8G board.

Cycling power: done
Waiting for MCU: done
Protocol detected: stc8     
Target model:
  Name: STC8G1K17-20/16P    
  Magic: F757
  Code flash: 17.0 KB       
  EEPROM flash: 0.0 KB      
Target frequency: 32.009 MHz
Target BSL version: 7.3.10U 
Target wakeup frequency: 35.125 KHz
Target ref. voltage: 1193 mV
Target mfg. date: 2020-03-16
Target options:
  reset_pin_enabled=True
  clock_gain=high
  watchdog_por_enabled=False
  watchdog_stop_idle=True
  watchdog_prescale=256
  low_voltage_reset=True
  low_voltage_threshold=0
  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=29440
Loading flash: 354 bytes (Intel HEX)
Trimming frequency: Protocol error: frequency trimming unsuccessful
Disconnected!

XiaoPb avatar Feb 25 '21 04:02 XiaoPb

Grigorig is working on this issue. Probably duplicated with #63.

Kashouryo avatar Mar 04 '21 09:03 Kashouryo

Here is a solution: https://github.com/grigorig/stcgal/issues/63#issuecomment-824749718

yuyi1005 avatar Apr 22 '21 11:04 yuyi1005

I am working on another tool stc8prog for STC8G/STC8H flash programming.

IOsetting avatar Dec 24 '21 17:12 IOsetting

This issue is solved by CreativeLau's pull request. I made it available here: https://github.com/area-8051/stcgal-patched/

area-8051 avatar Jun 10 '22 16:06 area-8051

Fixed (merged stcgal-patched).

area-8051 avatar Jun 01 '23 17:06 area-8051