eivindbohler / tinyllama2

A tiny x86 retro computer
GNU General Public License v3.0
74 stars 7 forks source link

Programming the CH559 instructions #2

Open siffland opened 1 year ago

siffland commented 1 year ago

I was trying to program my CH559 following the instructions and kept getting the following error (note I installed the WHCISPStudio application and changed nothing, just selected the Object File 1).

19:36:08:325>> [#Dev0]Begin to download...
19:36:08:344>> Jump to BOOT from the user area,configuration bits cannot be modified!
19:36:08:345>> BTVER:02.40
19:36:08:346>> UID:E2-4D-5D-BC-0-0-0-0
19:36:08:359>> Verify CfgBitVal failure.
19:36:08:362>> Failed!

After trying multiple times (not changing things in the app, just reconnecting the board a few times on different USB ports on my computer, not like that would really help) and worrying I had something wrong I hit the following button "Restore Default Configuration" in the WHCISPStudio application and

19:36:33:250>> [#Dev0]Begin to download...
19:36:33:268>> Jump to BOOT from the user area,configuration bits cannot be modified! 
19:36:33:270>> BTVER:02.40 
19:36:33:272>> UID:E2-4D-5D-BC-0-0-0-0 
19:36:33:283>> Erasing... 
19:36:33:369>>  complete 
19:36:33:371>> Programing... 
19:36:34:100>>  complete 
19:36:34:103>> Verifying... 
19:36:34:465>> complete 
19:36:34:472>> Succeed!

I have no idea why i had to restore default configuration on a new install with a blank chip, but I just wanted to report it in case anyone else got the error. Not sure if it is something that needs integrated into the instructions or if I am a one off issue.

Thanks, Sean