Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't communicate with the adapter #38

Open
aamiel1 opened this issue Mar 2, 2023 · 4 comments
Open

Couldn't communicate with the adapter #38

aamiel1 opened this issue Mar 2, 2023 · 4 comments

Comments

@aamiel1
Copy link

aamiel1 commented Mar 2, 2023

After update [TYZS13] (see log) I couldn't communicate with the adapter in Zigbee...

Elelabs_EzspFwUtility.py flash -f efr32mg13p-v8-6910-57600.gbl -p COM13
Elelabs_EzspFwUtility: Generic Zigbee EZSP adapter detected:
Elelabs_EzspFwUtility: Firmware: 6.5.0-188
Elelabs_EzspFwUtility: EZSP v7
Elelabs_EzspFwUtility: Launch in bootloader mode
Elelabs_EzspFwUtility: EZSP adapter in bootloader mode detected:
Elelabs_EzspFwUtility: Gecko Bootloader v1.8.0
Elelabs_EzspFwUtility: Successfully restarted into X-MODEM mode! Starting upload of the new firmware... DO NOT INTERRUPT(!)
.....
.....
.....
.....
.....
.....
.....
.....
.....
.....
.....
.....
.....
.....
.....
.....
.....
..
Elelabs_EzspFwUtility: Firmware upload complete
Elelabs_EzspFwUtility: Rebooting NCP...
Elelabs_EzspFwUtility: Couldn't communicate with the adapter in Zigbee (EZSP) mode, Thread (Spinel) mode or bootloader mode

I try to run: Elelabs_EzspFwUtility.py restart -m btl -p COM13
Response:
Elelabs_EzspFwUtility: Couldn't communicate with the adapter in Zigbee (EZSP) mode, Thread (Spinel) mode or bootloader mode

Also I try to run: Elelabs_EzspFwUtility.py restart -m nrml -p COM13
Response:
Elelabs_EzspFwUtility: Couldn't communicate with the adapter in Zigbee (EZSP) mode, Thread (Spinel) mode or bootloader mode

Any other idea?

@NilsBohr
Copy link
Member

NilsBohr commented Mar 2, 2023

based on the filename 57600.gbl
Your new firmware is using 57600 baudrate.
The default baudrate used by the utility is 115200.

try specifying the baudrate manually -b 57600

P.S. if that works I recommend you to find a fimrware with 115200 baudrate, as it's a more common one

@aamiel1
Copy link
Author

aamiel1 commented Mar 2, 2023

Thanks,

Now if I run the command: Elelabs_EzspFwUtility.py restart -m nrml -p COM13 -b 57600
It work OK...
Elelabs_EzspFwUtility: Generic Zigbee EZSP adapter detected:
Elelabs_EzspFwUtility: Firmware: 6.9.1-214
Elelabs_EzspFwUtility: EZSP v8
Elelabs_EzspFwUtility: Allready in normal mode. No need to restart

but if I run the command: Elelabs_EzspFwUtility.py restart -m btl -p COM13 -b 57600
I couldn't reset into bootloader mode...
Elelabs_EzspFwUtility: Generic Zigbee EZSP adapter detected:
Elelabs_EzspFwUtility: Firmware: 6.9.1-214
Elelabs_EzspFwUtility: EZSP v8
Elelabs_EzspFwUtility: Launch in bootloader mode
Elelabs_EzspFwUtility: Couldn't communicate with the adapter in Zigbee (EZSP) mode, Thread (Spinel) mode or bootloader mode

OR
Elelabs_EzspFwUtility.py restart -m btl -p COM13 -b 57600 -d RAW
Elelabs_EzspFwUtility: RESET FRAME
Elelabs_EzspFwUtility: [ ASH REQUEST ] 1a c0 38 bc 7e
Elelabs_EzspFwUtility: [ SPINEL REQUEST ]: 80 01
Elelabs_EzspFwUtility: [ HDLC REQUEST ]: 7e 80 01 02 92 7e
Elelabs_EzspFwUtility: [ HDLC RESPONSE ]: 7e 00 7e
Elelabs_EzspFwUtility: Couldn't communicate with the adapter in Zigbee (EZSP) mode, Thread (Spinel) mode or bootloader mode

and if I couldn't reset into bootloader mode I cannot flash the adapter

Any idea what the problem?

@NilsBohr
Copy link
Member

NilsBohr commented Mar 2, 2023

I think your current bootloader is also 57600.
Our utility is right now hardcoded to talk to the bootloader using 115200 baudrate.

Try using 3rd party utility like TeraTerm to talk to it and send your new file using TeraTerm XMODEM send.
Or you can wait when we add 57600 baudrate for the bootloader communication, but, that won't happen any time soon.

Or you can modify the Python utility to talk to the bootloader using 57600

@aamiel1
Copy link
Author

aamiel1 commented Mar 6, 2023

Hi,

I tried all the options you mentioned,
the problem seems to be that the adapter cannot be put into bootloader mode after I update it to efr32mg13p-v8-6910-57600.gbl firmware...

Maybe you have more ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants