Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hangs after printing bootloader version, never updates #29

Open
billyburly opened this issue Jul 23, 2021 · 3 comments
Open

hangs after printing bootloader version, never updates #29

billyburly opened this issue Jul 23, 2021 · 3 comments

Comments

@billyburly
Copy link

billyburly commented Jul 23, 2021

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
Copy link
Author

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
Copy link

lefebp commented Mar 31, 2022

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

@lefebp
Copy link

lefebp commented Mar 31, 2022

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:
#33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants