#Flashing Sonoff stick
1 messages · Page 1 of 1 (latest)
After you've disabled ZHA, you should be able to run pip install intelhex git+https://github.com/JelmerT/cc2538-bsl and get the tool installed
@chrome kiln let's continue this in the thread here
ahhh cool
Flashing Sonoff stick
how to disable sonoff
You disable the integration: https://i.imgur.com/hIc0Sr3.png
done
next
pip install intelhex
or is
pip install intelhex git+https://github.com/JelmerT/cc2538-bsl the full command ?
That's the full command
pip not found
What SSH addon are you using?
I have the hex file and py file in my folder
ls
cc2528-bsl.py and firmware.hex in the folder I am presently in
copied over with samba 🙂
ls -l /dev/serial/by-id/
You're probably in the restricted SSH addon's environment, it's not going to work
python cc2538-bsl.py --bootloader-sonoff-usb -evw -p /dev/ttyUSB0 firmware.hex
but use python3 ?
Does python3 exist?
nope
this is so annoying
sorry ok, need to drop off my wife is demanding the PC
thanks for the help
I will try and setup a docker with linux on
(build 20220219)
yay
ok turn off VMWARE, python install that is pathed
python -m pip install --upgrade pip
pip install wheel pyserial intelhex python-magic
pip install zigpy-znp
python -m zigpy_znp.tools.nvram_read COM3 -o nvram_backup.json
this will backup current firmware if it bricks and install the bits you need
python cc2538-bsl.py -p COM3 -e -v -w --bootloader-sonoff-usb CC1352P2_CC2652P_launchpad_coordinator_20220219.hex
COM3 being your port and it worked