pvvx / THB2

Custom firmware for Tuya devices on the PHY622x2 chipset
Other
92 stars 13 forks source link

TH-05 after flashing BOOT_TH05_v10.hex not visible via BT #12

Open BubbleRep opened 5 months ago

BubbleRep commented 5 months ago

Hi,

flashed the BOOT_TH05_v10.hex

PS H:\Downloads\THB2-1.0> python rdwr_phy62x2.py -p COM9 -e -r wh  .\bin\BOOT_TH05_v10.hex
=========================================================
PHY62x2 Utility version 25.01.24
---------------------------------------------------------
Connecting...
PHY62x2 - Reset Ok
Revision: b'001364c8 6222M005'
FlashID: 1364c8, size: 512 kbytes
PHY62x2 - connected Ok
---- Segments Table -------------------------------------
Segment: 11003000 <- Flash addr: 00003000, Size: 00009100
Segment: 1fff0000 <- Flash addr: 0000c100, Size: 00000400
Segment: 1fff1838 <- Flash addr: 0000c500, Size: 00002de2
----------------------------------------------------------
Erase Flash work area... ok
Segment Table[03] <- Flash addr: 00002000, Size: 00000130
Write 0x00000130 bytes to Flash at 0x00002000... ok
Segment: 11003000 <- Flash addr: 00003000, Size: 00009100
Write 0x00002000 bytes to Flash at 0x00003000... ok
Write 0x00002000 bytes to Flash at 0x00005000... ok
Write 0x00002000 bytes to Flash at 0x00007000... ok
Write 0x00002000 bytes to Flash at 0x00009000... ok
Write 0x00001100 bytes to Flash at 0x0000b000... ok
Segment: 1fff0000 <- Flash addr: 0000c100, Size: 00000400
Write 0x00000400 bytes to Flash at 0x0000c100... ok
Segment: 1fff1838 <- Flash addr: 0000c500, Size: 00002de2
Write 0x00002000 bytes to Flash at 0x0000c500... ok
Write 0x00000de2 bytes to Flash at 0x0000e500... ok
----------------------------------------------------------
Write Flash from file: .\bin\BOOT_TH05_v10.hex - ok.
Send command 'reset' - ok
PS H:\Downloads\THB2-1.0>

looke successful for me, but the PHY62x2BTHome.html tool doesn't see the devices, neither does the nrf connect scan on an android device.

The PCB seems to be a bit different version:

2024-02-04 00 27 16 2024-02-04 00 26 35

Any idea how to proceed?

BR

pvvx commented 5 months ago

README Кнопка используется для быстрого подключения к старым BT-адаптерам. Нажатие кнопки переключает интервал BLE рекламы на более короткий период (1562.5 мс). Действие продолжится 60 секунд, затем интервал восстановится на установленный в настройках.

The button is used to quickly connect to old BT adapters (and for Linux). Pressing the button switches the BLE advertising interval to a shorter period (1562.5 ms). The action lasts 60 seconds, then the advertising interval set in the device will work.

dromie commented 1 month ago

I got almost the same board, mine is TH05Y_V1.1 And my guess is that you used a bad BOOT image, and firmware, I'll try with the instructions for https://pvvx.github.io/TH05F/ And yes, the LCD does not look the same.....but the board is...