#Flashing Sonoff stick

1 messages · Page 1 of 1 (latest)

drowsy sky
#

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

chrome kiln
#

ahhh cool

drowsy sky
#

Flashing Sonoff stick

chrome kiln
#

how to disable sonoff

drowsy sky
chrome kiln
#

done

#

next
pip install intelhex

#

or is

pip install intelhex git+https://github.com/JelmerT/cc2538-bsl the full command ?

drowsy sky
#

That's the full command

chrome kiln
#

pip not found

drowsy sky
#

What SSH addon are you using?

chrome kiln
#

I have the hex file and py file in my folder

#

ls

#

copied over with samba 🙂

#

ls -l /dev/serial/by-id/

drowsy sky
#

You're probably in the restricted SSH addon's environment, it's not going to work

chrome kiln
#

python cc2538-bsl.py --bootloader-sonoff-usb -evw -p /dev/ttyUSB0 firmware.hex

but use python3 ?

drowsy sky
#

Does python3 exist?

chrome kiln
#

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

chrome kiln
#

(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