Skip to content

Error: The script writes the wrong area of ​​Flash on ST17H66B! #80

@pvvx

Description

@pvvx

The script writes the wrong area of ​​Flash on ST17H66B!

Image

Flash_st17h66.py log:

b'cmd>>:'
RESET MODE activated. Changing baudrate to 115200
Erase + Write
sent b'er512'
Response is: b'#OK>>:'
sent b'rdrev+'
Response is: b'0x01124485 6222M005 #OK>>:'
sent b'wrreg4000c890 ab000001 '
Response is: b'#OK>>:'
sent b'wrreg4000c838 ff010005 '
Response is: b'#OK>>:'
sent b'spifs 0 1 3 0 '
Response is: b'#OK>>:'
sent b'sfmod 2 2 '
Response is: b'#OK>>:'
sent b'cpnum ffffffff '
Response is: b'#OK>>:'
sent b'cpbin c0 002000 130 11002000'
Response is: b'by hex mode:'
sent c0 (len=304)
Response is: b'checksum is: 0x00010945'
sent checksum
Response is: b'#OK>>:'
sent b'cpbin c1 005000 3f50 11005000'
Response is: b'by hex mode:'
sent c1 (len=16208)
Response is: b'checksum is: 0x0015270a'
sent checksum
Response is: b'#OK>>:'
sent b'cpbin c2 020000 7088 11020000'
Response is: b'by hex mode:'
sent c2 (len=28808)
Response is: b'checksum is: 0x002a5483'
sent checksum
Response is: b'#OK>>:'

All ok.

But the recorded FW FindMy does not work!
After resetting the chip power supply, the previous FW starts, since FindMy recorded itself in the second half of the Flash!

And there are many such ST17H66B.
I'm not the only one getting this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions