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

Getting "invalid Intel HEX file (Invalid line start character (60))" when trying to flash #11

Open
sanderalewijnse opened this issue Oct 23, 2022 · 0 comments

Comments

@sanderalewijnse
Copy link

sanderalewijnse commented Oct 23, 2022

Hi helpful people,

I was trying to flash my cube with your firmware under ledcube8x8x8/firmware/v2/ledcube8.hex using stcgal on my linux machine.

I ran:
stcgal -P stc12 <path_to>/ledcube8.hex

The output I got:
Waiting for MCU, please cycle power: done
Protocol detected: stc12
Target model:
Name: STC12C5A60S2
Magic: D17E
Code flash: 60.0 KB
EEPROM flash: 2.0 KB
Target frequency: 23.962 MHz
Target BSL version: 7.1I
Target options:
reset_pin_enabled=True
low_voltage_reset=False
oscillator_stable_delay=32768
por_reset_delay=long
clock_gain=high
clock_source=external
watchdog_por_enabled=False
watchdog_stop_idle=True
watchdog_prescale=256
eeprom_erase_enabled=False
bsl_pindetect_enabled=False
Loading flash: I/O error: invalid Intel HEX file (Invalid line start character (60))
Disconnected!

Any idea what could be causing this? Thank you!

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