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]
iscle Posted: 12 Sep 2022, 10:09 PM
Avatar


Member
Posts: 6
Joined: 23-January 21
That's interesting! I had completely forgot about this thread/device but being able to talk to it with a CH341 is awesome!

I'll play with it if I have some time in the future :D

-------------
[top]
shenron Posted: 26 Oct 2022, 04:10 PM
Avatar


Member
Posts: 1
Joined: 26-October 22
Hi, i bought a JDY-31 SPP-C.
The chip on the PCB is a BK3431S.
Do you think i could update the firmware to RN42 ?
Can it be done with a Arduino Mega 2560 R3 or a Arduino Leonardo ?
Do you know a good tutorial to perform the task ?

(User posted image)


(User posted image)


Last edit by shenron at 26 Oct 2022, 04:10 PM

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

« PreviousPages: 1 2 3 [4]

Sign in to post a reply.