Hi Everyone,
I have a curly one, and I have spent a lot of time on this with little success so far but have a bunch of information as a result of my tinkering, I get the feeling the issue I'm having is its not a Tuya device so the partitions are in the wrong please, I have tried taking a look at the binary dump in Ghidra but I'm no firmware reverse engineer. Any help would be appreciated! Even if its to tell me its not possible so I know to stop
I have uploaded the firmware dump in the attached zip.
Flashing results in it not booting from what I can tell, both tx\rx lines display only "□" each time i perform a reset
Have Tried the following
* Flashing several versions of openbeken for BK7231N
* Flashing a Tuya backup from another basic device, then flashing OpenBeken firmware.
* Have been able to flash back to original firmware each time and it seems to be happy again.
Flash information: mid: 1560EB, icName: TH25Q_16HB, manufacturer: TH, szMem: 1000000, szSR: 2, cwUnp: 0, cwEnp: 7, cwMsk: 407C, sb: 2, lb: 5, cwdRd: 05-35-FF-FF, cwdWr: 01-FF-FF-FF
Entering SetProtectState(True)...
sr: 4
sr: 4004
final sr: 4004
msk: 407c
cw: 0, sb: 2, lb: 5
bfd: 0
sr: 0
sr: 0
final sr: 0
msk: 407c
cw: 0, sb: 2, lb: 5
bfd: 0
Some of the serial output from alt set of tx\rx pins when dogness firmware loads.
R0:0x00800000R1:0x00000000
R2:0x005AA000
R3:0x00000006
R4:0x00400001
R13:0x00401C1C
R14(LR):0x000033AC
ST:0x00000000
[32;22m[I/FAL] Fal(V0.4.0)success[0m
[36;22m[I/OTA] RT-Thread OTA package(V0.2.4) initialize success.[0m
go os_addr(0x10000)..........
0
prvHeapInit-start addr:0x40ff70, size:131216
[Flash]id:0xeb6015
[Flash]init over
sctrl_sta_ps_init
SDK Rev: 3.0.46
[THD]app:[tcb]411250 [stack]410248-411248:4096:5
[THD]extended_app:[tcb]411ac0 [stack]4112b8-411ab8:2048:4
[THD]idle:[tcb]411f30 [stack]411b28-411f28:1024:0
[THD]timer_thd:[tcb]412cb8 [stack]4120b0-412cb0:3072:2
OSK Rev: F-3.0.28
cset:0 0 0 0
/********flash_get_addr*******/
read addr:1fd000
00 99 33 41 0b 8d
bandgap_calm_in_efuse=0x3c
[load]bandgap_calm=0x20->0x1c,vddig=4->5
[FUNC]rwnxl_init
chip id=7231c device id=20521028
IP Rev: W4-3.0.46-P0
txdesc flush
[FUNC]intc_init
[FUNC]calibration_main
get rfcali_mode:1
device_id=0x20521028
Device purchased here, for specs etc
https://www.pbtech.co.nz/product/PETDON0003/D...ss-D07-Smart-18L-Fountain-Smart-Pet-Water-Dis
Also found a copy of the Belon Writer V1.55 if anyone wants it, it seems to only have write not read, does have compare though
All the images I have taken, would be keen to know if anyone has a good place to get a cheap bdm frame or similar, I like the look of PCBite probe kit but its too expensive for my use cases.
Helpful post? Buy me a coffee.
I have a curly one, and I have spent a lot of time on this with little success so far but have a bunch of information as a result of my tinkering, I get the feeling the issue I'm having is its not a Tuya device so the partitions are in the wrong please, I have tried taking a look at the binary dump in Ghidra but I'm no firmware reverse engineer. Any help would be appreciated! Even if its to tell me its not possible so I know to stop

I have uploaded the firmware dump in the attached zip.
Flashing results in it not booting from what I can tell, both tx\rx lines display only "□" each time i perform a reset
Have Tried the following
* Flashing several versions of openbeken for BK7231N
* Flashing a Tuya backup from another basic device, then flashing OpenBeken firmware.
* Have been able to flash back to original firmware each time and it seems to be happy again.
Flash information: mid: 1560EB, icName: TH25Q_16HB, manufacturer: TH, szMem: 1000000, szSR: 2, cwUnp: 0, cwEnp: 7, cwMsk: 407C, sb: 2, lb: 5, cwdRd: 05-35-FF-FF, cwdWr: 01-FF-FF-FF
Entering SetProtectState(True)...
sr: 4
sr: 4004
final sr: 4004
msk: 407c
cw: 0, sb: 2, lb: 5
bfd: 0
sr: 0
sr: 0
final sr: 0
msk: 407c
cw: 0, sb: 2, lb: 5
bfd: 0
Some of the serial output from alt set of tx\rx pins when dogness firmware loads.
R0:0x00800000R1:0x00000000
R2:0x005AA000
R3:0x00000006
R4:0x00400001
R13:0x00401C1C
R14(LR):0x000033AC
ST:0x00000000
[32;22m[I/FAL] Fal(V0.4.0)success[0m
[36;22m[I/OTA] RT-Thread OTA package(V0.2.4) initialize success.[0m
go os_addr(0x10000)..........
0
prvHeapInit-start addr:0x40ff70, size:131216
[Flash]id:0xeb6015
[Flash]init over
sctrl_sta_ps_init
SDK Rev: 3.0.46
[THD]app:[tcb]411250 [stack]410248-411248:4096:5
[THD]extended_app:[tcb]411ac0 [stack]4112b8-411ab8:2048:4
[THD]idle:[tcb]411f30 [stack]411b28-411f28:1024:0
[THD]timer_thd:[tcb]412cb8 [stack]4120b0-412cb0:3072:2
OSK Rev: F-3.0.28
cset:0 0 0 0
/********flash_get_addr*******/
read addr:1fd000
00 99 33 41 0b 8d
bandgap_calm_in_efuse=0x3c
[load]bandgap_calm=0x20->0x1c,vddig=4->5
[FUNC]rwnxl_init
chip id=7231c device id=20521028
IP Rev: W4-3.0.46-P0
txdesc flush
[FUNC]intc_init
[FUNC]calibration_main
get rfcali_mode:1
device_id=0x20521028
Device purchased here, for specs etc
https://www.pbtech.co.nz/product/PETDON0003/D...ss-D07-Smart-18L-Fountain-Smart-Pet-Water-Dis
Also found a copy of the Belon Writer V1.55 if anyone wants it, it seems to only have write not read, does have compare though
All the images I have taken, would be keen to know if anyone has a good place to get a cheap bdm frame or similar, I like the look of PCBite probe kit but its too expensive for my use cases.


















