#Updating CC2652P firmware
1 messages · Page 1 of 1 (latest)
windows 11
All you really need to do is install Python: https://www.python.org/downloads/
already did that step
Open up a terminal window and run py -3 -V to make sure Python works
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'py' is not defined
Save it as cc2538-bsl.py
the wall of text ?
Yes
py -3 -m pip install intelhex pyserial will install the dependencies for the script
Successfully installed intelhex-2.3.0 pyserial-3.5
And you should be ready to flash:
py -3 cc2538-bsl.py -p socket://IP:6638 -evw CC1352P2_CC2652P_launchpad_coordinator_20220219.hex
just copy and past ?
First trigger bootloader via web front end on coord
ow yeah right
The prep for fw update
Well no, you have to be in the same folder as cc2538-bsl.py and the .hex file
And make sure the IP address is correct
okay just a sec
same folder check
bootloader triggerd
py -3 cc2538-bsl.py -p socket://IP:192.168.0.20 -evw CC1352P2_CC2652P_launchpad_coordinator_20220219.hex
is that how it should be ?
So just socket://192.168.0.20:6638
py -3 cc2538-bsl.py -p socket://IP:192.168.0.20:6638 -evw CC1352P2_CC2652P_launchpad_coordinator_20220219.hex
Get rid of IP:
py -3 cc2538-bsl.py -p socket://192.168.0.20:6638 -evw CC1352P2_CC2652P_launchpad_coordinator_20220219.hex
like this ?
its writting
who comes up with these things lol
still running no errors so far
Is it still flashing?
It’s slow over tcp
25 minutes ???
No should be like 5
Opening port socket://192.168.0.20:6638, baud 500000
Reading data from CC1352P2_CC2652P_launchpad_coordinator_20220219.hex
Your firmware looks like an Intel Hex file
Connecting to target...
CC1350 PG2.0 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8
Primary IEEE Address: 00:12:4B:00:25:90:64:F2
Performing mass erase
Erasing all main bank flash sectors
Erase done
Writing 360448 bytes starting at address 0x00000000
Write 104 bytes at 0x00057F988
Write done
Verifying by comparing CRC32 calculations.
Verified (match: 0xddfc152d)
it should be done now
Done 🎉
so what do i do next ?
should i reboot it to take effect or did it already do that ?
or can i just try to connect zigbee2mqtt to it now
Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby
and its still in the steal pot with the lid on

23:52:51 [D] [streamserver:074]
New client connected from 192.168.0.15
23:52:51 [D] [binary_sensor:036]
'TubesZB Serial Connected': Sending state ON
23:54:00 [D] [streamserver:102]
Client 192.168.0.15 disconnected
23:54:00 [D] [binary_sensor:036]
'TubesZB Serial Connected': Sending state OFF
so it's updated on everything and it still does not work
rebooted it and now it says 00:01:45 [D] [api:102]
Accepted ::FFFF:C0A8:F
00:01:45 [D] [api.connection:917]
Home Assistant 2023.1.1 (::FFFF:C0A8:F): Connected successfully
Are you planning to re join everything? If so delete the backup from z2m config folder and change pan id and maybe even channel - do an energy scan and see what’s free
yeah ill rejoin evrything
this is getting nuts
it sees home assistant os but refuses to work with it
Accepted ::FFFF:C0A8:F no idea what that means
there is no backup in the z2m folder
just a configuration file with almost nothing in it
homeassistant: true <<-- thats the only line in the configuration folder
Home assistant finds the coordinator and it accepts the link but it does not work
i dont even know where he is getting the the id's everything was reset and there is no backup in the z2M folder
is it possibol my neightbours are sending out so many signals it prevents the device from booting ?
or is that far fetcht
i even unscrewd the antenna so it's range would be limited
ill unplug it for a bit and try again 2 morrow maybe it will fix itself
there should be a configuration.yaml or similar in the z2m folder
that there is
deleted it
same result
there is only 1 line in the configuration.yaml
"homeassistant: true" thats all
hmm. z2m is not my specialty but I think at a minimum it needs more than that. are you using the addon? maybe just delete and re-install
i'm using the addon yes
already re-installed it like 4 times before asking for help 😢
i don't know where he is getting the data from to always use the same ap
and there is no way for me to adjust it
everything about my previous zigbee network should be all gone now
i even unplugged all the routers and so on to reduce chatter
run an energy scan: just address the coord same as you did in the flash socket://
if forming new should look for best channel and z2m will always default to 11
how do i order it to take evrything new ?
made my own basic config file
doesn't work either
it works it works
it's alive
fed it a fake config file and it works
@random violet @quaint lion thanks for all the help !
Z2M?
yes