Skip to content

THB1 flashing: Write 0x00002000 bytes to Flash at 0x00003000... error! #80

Answered by jlmayoral
jlmayoral asked this question in Q&A
Discussion options

You must be logged in to vote

I finally got it!

From my experience the key is to make sure that the wires are well connected to the contacts, without errors.
The sleep 5-10 option gives me some time to bridge between reset and gnd. When the 3 dots appear, I wait 2-3 seconds and remove the bridge. Well-made contacts allow reading or writing the entire flash.
I used v18 first, now I put v19. I have recovered the 3 sensors!

sleep 5 && python3 rdwr_phy62x2.py -p /dev/tty.wchusbserial14610 -b 115200 -e -r wh ./bin/BOOT_THB1_v19.hex

PHY62x2 Utility version 11.03.24

Connecting...
PHY62x2 - Reset Ok
Revision: b'001364c8 6222M005'
FlashID: 1364c8, size: 512 kbytes
PHY62x2 - connected Ok
---- Segments Table --------------------…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jlmayoral
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant