niceboygithub / AqaraM1SM2fw

Aqara Gateway M1S (ZHWG15LM) , P3(KTBL12LM), H1(QBCZWG11LM), M2 (ZHWG12LM) Firmwares
164 stars 27 forks source link

Aqara P3 UART TTL and power pins #57

Closed 665465 closed 11 months ago

665465 commented 1 year ago

I just missed flash a wrong firmware into Aqara P3. Now the device doesn't boot anymore. I opened the case but the UART pins are n't labeled. Could someone share the UART and power pins position ? I want to try flash firmware by xmodem into P3. Thanks. image

Nismonx commented 1 year ago

I don't have one so can't help you much. Just though of mentioning if you lookup the MCU schematics and with the help of a multimeter you should be able to narrow it down. Or just wait for someone to come and help ¯_(ツ)_/¯

665465 commented 1 year ago

I don't have one so can't help you much. Just though of mentioning if you lookup the MCU schematics and with the help of a multimeter you should be able to narrow it down. Or just wait for someone to come and help ¯(ツ)

Thanks. I've found the GND/Power and Tx pin. Not sure about the Rx because the device stuck in boot loop and is not responding to key input. Baudrate is 38400. image

image

And it seems there is no option in aqaragateway tool for Aqara P3 gateway. Is there any other way I can flash the FW into the gateway? image

niceboygithub commented 1 year ago

Can you provide the log that can not boot up?

665465 commented 1 year ago

Please see the attachment for the full log. I flashed a Xiaomi gateway 3 firmware into P3 by mistake. Seems there is even no way to get into uboot? full_log.txt

niceboygithub commented 1 year ago

You can flash P3 firmware by choose M1S model.