MarsTechHAN / ch552tool

An open sourced python tool for flashing WCH CH55x series USB microcontroller with bootloader v2.30, v2.31 & v2.40.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Mac OS

sabas1080 opened this issue · comments

commented

Hi @MarsTechHAN

I am testing this script and not work in Mac OS, python3 with CH559

Chip is always in mode boot

Thanks

Hi,
The script was tested on various macOS version,so it should work in macOS, but I actually didn't test on CH559 yet.
Can you upload the log here, you said the chip is always in boot mode, which means that you did finish the whole process of the script? And also, did you make sure your program file is working and not corrupted.

commented

The script support file .hex or only .bin?

Oh, it's now only support bin... I might add it when I got time. You can use convert hex to bin by objdump

objcopy --input-target=ihex --output-target=binary code00.hex code00.bin