Elelabs / elelabs-zigbee-ezsp-utility

Elelabs Zigbee EZSP Utility to perform firmware update on a range of Elelabs EZSP products as well as other generic EZSP adapters.
Apache License 2.0
137 stars 27 forks source link

Does not flash EFR32MG1B232GG #22

Open solalex1 opened 2 years ago

solalex1 commented 2 years ago

At the stage of loading via xmodem, a hang occurs. Perhaps due to the exchange rate of 57600, the full log is lower

root@OpenWrt:/tmp/elelabs-zigbee-ezsp-utility# python3 Elelabs_EzspFwUtility.py flash -f efr32mg1b-v8-6801-57600.gbl -p /dev/ttyS1 -b 57600 -d RAW
2022/03/27 22:34:53 Elelabs_EzspFwUtility:   RESET FRAME
2022/03/27 22:34:53 Elelabs_EzspFwUtility:   [ ASH  REQUEST ] 1a c0 38 bc 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH RESPONSE ] 00 11 1a c1 02 0b 0a 52 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   sendVersion: V4
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ EZSP  REQUEST ] 00 00 00 04
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH  REQUEST ] 00 42 21 a8 50 ed 2c 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH RESPONSE ] 01 42 a1 a8 52 28 15 d0 c7 ec 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ EZSP RESPONSE ] 00 80 00 06 02 00 62
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH ACK ] 81 60 59 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   EZSP v6 detected
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   sendVersion: V6
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ EZSP  REQUEST ] 01 00 ff 00 00 06
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH  REQUEST ] 7d 31 43 21 57 54 2a 7d 33 15 a6 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH RESPONSE ] 12 43 a1 57 54 2a 13 b0 59 f6 96 04 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ EZSP RESPONSE ] 01 80 ff 00 00 06 02 00 62
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH ACK ] 82 50 3a 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   getValue: EZSP_VALUE_VERSION_INFO
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ EZSP  REQUEST ] 02 00 ff 00 aa 11
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH  REQUEST ] 22 40 21 57 54 80 04 ca 2a 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH RESPONSE ] 23 40 a1 57 54 80 15 b5 ca 94 4c 27 aa 55 38 da c5 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ EZSP RESPONSE ] 02 80 ff 00 aa 00 07 93 00 06 02 00 00 aa
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH ACK ] 83 40 1b 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   getMfgToken: EZSP_MFG_STRING
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ EZSP  REQUEST ] 03 00 ff 00 0b 01
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH  REQUEST ] 33 41 21 57 54 21 14 3c ee 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH RESPONSE ] 34 41 a1 57 54 21 05 4d a6 6b b5 da 55 aa 6d b6 63 b1 d8 54 12 31 98 16 a1 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ EZSP RESPONSE ] 03 80 ff 00 0b 10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH ACK ] 84 30 fc 7e
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   Generic Zigbee EZSP adapter detected:
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   Firmware: 6.2.0-147
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   EZSP v6
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   Launch in bootloader mode
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   RESET FRAME
2022/03/27 22:34:54 Elelabs_EzspFwUtility:   [ ASH  REQUEST ] 1a c0 38 bc 7e
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ ASH RESPONSE ] 00 11 1a c1 02 0b 0a 52 7e
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   sendVersion: V4
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ EZSP  REQUEST ] 00 00 00 04
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ ASH  REQUEST ] 00 42 21 a8 50 ed 2c 7e
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ ASH RESPONSE ] 01 42 a1 a8 52 28 15 d0 c7 ec 7e
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ EZSP RESPONSE ] 00 80 00 06 02 00 62
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ ASH ACK ] 81 60 59 7e
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   EZSP v6 detected
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   sendVersion: V6
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ EZSP  REQUEST ] 01 00 ff 00 00 06
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ ASH  REQUEST ] 7d 31 43 21 57 54 2a 7d 33 15 a6 7e
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ ASH RESPONSE ] 12 43 a1 57 54 2a 13 b0 59 f6 96 04 7e
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ EZSP RESPONSE ] 01 80 ff 00 00 06 02 00 62
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ ASH ACK ] 82 50 3a 7e
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   launchStandaloneBootloader: STANDALONE_BOOTLOADER_NORMAL_MODE
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ EZSP  REQUEST ] 02 00 ff 00 8f 01
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ ASH  REQUEST ] 22 40 21 57 54 a5 14 21 08 7e
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ ASH RESPONSE ] 23 40 a1 57 54 a5 15 ab 98 7e
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ EZSP RESPONSE ] 02 80 ff 00 8f 00
2022/03/27 22:34:55 Elelabs_EzspFwUtility:   [ ASH ACK ] 83 40 1b 7e
2022/03/27 22:34:57 Elelabs_EzspFwUtility:   RESET FRAME
2022/03/27 22:34:57 Elelabs_EzspFwUtility:   [ ASH  REQUEST ] 1a c0 38 bc 7e
2022/03/27 22:35:00 Elelabs_EzspFwUtility:   [ ASH RESPONSE ] 1a 38 bf 7f
2022/03/27 22:35:00 Elelabs_EzspFwUtility:   [ SPINEL   REQUEST ]: 80 01
2022/03/27 22:35:00 Elelabs_EzspFwUtility:   [ HDLC  REQUEST ]: 7e 80 01 02 92 7e
2022/03/27 22:35:03 Elelabs_EzspFwUtility:   [ HDLC RESPONSE ]: 7e fe f9 fa 9a ff 00 7e
2022/03/27 22:35:04 Elelabs_EzspFwUtility:   EZSP adapter in bootloader mode detected:
2022/03/27 22:35:04 Elelabs_EzspFwUtility:   EFR32 Serial Btl v6.2.1.3 b0
2022/03/27 22:35:08 Elelabs_EzspFwUtility:   Successfully restarted into X-MODEM mode! Starting upload of the new firmware... DO NOT INTERRUPT(!)
2022/03/27 22:35:29 Elelabs_EzspFwUtility:   Failed to restart into bootloader mode. Please see users guide.
Hedda commented 2 years ago

If not an official Elelabs product(?) then it is probably better to see if that discussion should be in these community repos instead:

https://github.com/walthowd/husbzb-firmware

https://github.com/grobasoz/zigbee-firmware/

https://github.com/xsp1989/zigbeeFirmware/

https://github.com/zha-ng/EZSP-Firmware

https://github.com/MattWestb/EFR32-FW