mitxela.com forum
Welcome. Please log in or register.

« PreviousPages: 1 2 3 [4]

Beken BK3231
timschu Posted: 24 Jul 2022, 10:07 AM
Avatar


Member
Posts: 2
Joined: 23-July 22
FYI. You can read/erase/write the JDY-31 BK3231S flash with a CH341A programmer.

(User posted image)


(User posted image)


Last edit by timschu at 24 Jul 2022, 10:07 AM

-------------
[top]
timschu Posted: 24 Jul 2022, 05:07 PM
Avatar


Member
Posts: 2
Joined: 23-July 22
BK3231

erase chip
W 31 02 A5
W 31 03 C3
W 25
wait 100 ms
W 31 02 00
W 31 03 00

erase sector
W 31 02 A5
W 31 03 C3
W 24 aa aa
wait 50 ms
W 31 02 00
W 31 03 00

read 4 bytes
W 22 aa aa
R dd dd dd dd

program 4 bytes
W 31 02 A5
W 31 03 C3
W 21 aa aa dd dd dd dd
W 31 02 00
W 31 03 00

"aa aa" is address / 4, high byte first

"dd dd dd dd" is 4 bytes of data

1 sector is 0x1000 bytes, sector containing specified address will be erased

JDY-30 BK3231 firmware is read-protected, returns FF FF FF FF ... :(

MSB of programmed bytes 0, 4, 8, 12, 16, 20, 24, ... flip ~50% of the time, not sure why. Maybe BK3231 is not 100% compatible with my CH341A programmer.

-------------
[top]

« PreviousPages: 1 2 3 [4]

Sign in to post a reply.