walthowd / husbzb-firmware

Nortek GoControl HUSBZB-1 / EM3581 Firmware update image
GNU General Public License v3.0
246 stars 40 forks source link

hangs after printing bootloader version, never updates #29

Open billyburly opened 3 years ago

billyburly commented 3 years ago

I'm trying to update my HUSBZB-1. Used sudo ./ncp.py flash -p /dev/ttyUSB1 -f ncp-uart-sw-6.7.8-115k.ebl and had it hang after the reading the bootloader verison.

Restarting NCP into Bootloader mode...
CEL stick
EM3581 Serial Bootloader v5.4.1.0 b962

If I interrupt it, I get the following traceback

Traceback (most recent call last):
  File "/home/durrw/husbzb-firmware/./ncp.py", line 484, in <module>
    flash(args.port,args.file)
  File "/home/durrw/husbzb-firmware/./ncp.py", line 351, in flash
    ser.readline() # BL > 1
  File "/usr/lib/python3.9/site-packages/serial/serialposix.py", line 483, in read
    ready, _, _ = select.select([self.fd, self.pipe_abort_read_r], [], [], timeout.time_left())
KeyboardInterrupt
billyburly commented 3 years ago

I was able to break out into the bootloader by adding an exit() after print(verBL.decode('ascii')) # show Bootloader version and upload the file via minicom. looks like something is broken waiting for the upload start prompt

lefebp commented 2 years ago

I have the same issue, I guess I'll try to see how to use minicom.

lefebp commented 2 years ago

I have the same issue, I guess I'll try to see how to use minicom.

For others with this issue, this solved it for me: https://github.com/walthowd/husbzb-firmware/issues/33