#Flashing Sonoff router IEEE address
1 messages · Page 1 of 1 (latest)
What OS? How'd you install Python?
Does python3 run?
it ran at first using the -h flag
I'll have to reboot the pi now I can't even ssh
I was reading that the IEEE that changes is a secondary one
and z2m just takes the first one, will this work in ZHA?
The IEEE is sent by the device, it has nothing to do with the integration itself
Input/output error sounds like an SD card failure
Especially since you mention it's a pi
that gives me an idea
maybe i messed with the USB adapter of the argon one case
indeed!
Oh, you let it pick. Yeah, that's probably not a good idea
ok i have plugged the sonoff (without pusshing any of the 2 buttons)
it's on /ttyUSB0
do i have to have the hex firmware in the same folder?
I don't think you need firmware
Just don't pass -e. Or re-flash firmware, it won't hurt
so i can try again ?
python3 cc2538-bsl.py --ieee-address 04:12:4b:00:24:c2:c0:04
I think so. To be safe, just re-flash the firmware too, I think the device stores its old IEEE address in a few other places and might get confused if it changes
./cc2538-bsl.py -e -w -v --ieee-address 04:12:4b:00:24:c2:c0:04
lik this?
(copied and pasted from the repo)
oh.. without the -e flag right?
Make sure to specify the serial port as well
The command was:
./cc2538-bsl.py /dev/ttyUSB0 --bootloader-sonoff-usb --ieee-address 04:12:4b:00:24:c2:c0:04
ERROR: [Errno 13] could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'
well somethin happened
it reads
CC1350 PG2.0 (7x7mm): 352KB Flash, 20KB SRAM, CCFG.BL_CONFIG at 0x00057FD8
Primary IEEE Address: 00:12:4B:00:24:C2:C0:03
Oh boy it worked!!