-
Notifications
You must be signed in to change notification settings - Fork 32
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
write-mem seems not to be working? #44
Comments
write-mem is not for "write-flash". |
I am looking at Figure 1-2. Memory address map. |
Lines 495 to 508 in 59459e2
It's more complex. You cannot expect a command line tool to flash with complex erase and program sequence. |
something strange is going on.
the first time I did wlink dump 0x08003fc0 64 i got:
Then immediately I did it the second time: wlink dump 0x08003fc0 64
I got:
See the changes in chip id?
then I did wlink write-mem 0x08003fc0 0:
23:57:28 [INFO] WCH-Link v2.11 (WCH-LinkE-CH32V305) 23:57:28 [INFO] Attached chip: CH32V003 (ChipID: 0xffffffff) 23:57:28 [INFO] Write memory 0x00000000 to 0x08003fc0
Then I rechecked it with wlink dump 0x08003fc0 64 and got:
So, I tried once again: wlink write-mem 0x08003fc0 10 and got
After checking with wlink dump 0x08003fc0 64 I got:
What is going on with chip-id? am I doing something wrong?
The text was updated successfully, but these errors were encountered: