I have a Bafang BBSHD 1000W which uses the IAP15W4K61S4 controller
with a "Bafang USB Programming cable"
using the command as root
stcgal
output is
Protocol detected: stc15
Target model:
Name: IAP15W4K61S4
Magic: F56A
Code flash: 61.0 KB
EEPROM flash: 0.0 KB
Target frequency: 18.461 MHz
Target BSL version: 7.2.5T
Target wakeup frequency: 36.677 KHz
Target options:
reset_pin_enabled=False
clock_source=internal
clock_gain=high
watchdog_por_enabled=False
watchdog_stop_idle=False
watchdog_prescale=256
low_voltage_reset=True
low_voltage_threshold=4
eeprom_lvd_inhibit=True
eeprom_erase_enabled=False
bsl_pindetect_enabled=False
por_reset_delay=short
rstout_por_state=high
uart2_passthrough=False
uart2_pin_mode=normal
cpu_core_voltage=unknown
I then later flashed the controller with the following
stcgal -P stc15 -b 57600 -l 2400 -t 18432 /path/to/code_image.bin
i didn't save the output for that but it worked. I tried it with two controllers
The package I used on Arch Linux is here version 1.10 commit
I have a Bafang BBSHD 1000W which uses the IAP15W4K61S4 controller
with a "Bafang USB Programming cable"
using the command as root
stcgaloutput is
I then later flashed the controller with the following
stcgal -P stc15 -b 57600 -l 2400 -t 18432 /path/to/code_image.bini didn't save the output for that but it worked. I tried it with two controllers
The package I used on Arch Linux is here version 1.10 commit