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

Problem running the python script. #47

Open
ovcrash opened this issue Nov 15, 2022 · 4 comments
Open

Problem running the python script. #47

ovcrash opened this issue Nov 15, 2022 · 4 comments

Comments

@ovcrash
Copy link

ovcrash commented Nov 15, 2022

Hi,

The python script, doesn't seem to detect the device.

└──╼ $./ncp.py scan
Connecting to.. /dev/ttyUSB1 57600 True False
Exception: <class 'serial.serialutil.SerialException'> /dev/ttyUSB1
Connecting to.. /dev/ttyUSB0 57600 True False
Exception: <class 'serial.serialutil.SerialException'> /dev/ttyUSB0
{"ports": [{"port": "/dev/ttyUSB1", "vid": "10C4", "pid": "8A2A", "deviceType": "unknown"}, {"port": "/dev/ttyUSB0", "vid": "10C4", "pid": "8A2A", "deviceType": "unknown"}]}

I'm pretty sure i have everything setup correctly. Anyone else got this error?

@DustStormPettigrew
Copy link

I'm also getting this error. I'm running in an Ubuntu VM on VirtualBox, wondering if that has something to do with it not working correctly.

@DustStormPettigrew
Copy link

I was able to complete my flash without getting the "Found zigbee port" message. I just continued on with using /dev/ttyUSB1 as my target (assuming no other USB devices are installed except mouse and keyboard, this looks like it's pretty consistently the right device). I also had to follow the steps in #33 but after that, it seemed to work.

@mimimi0815
Copy link

you have to install the stuff.
pip3 install pyserial
and
pip3 install xmodem

(maybe with "sudo" prefix
after that start script agian

@stamandr
Copy link

stamandr commented Aug 1, 2023

I am getting the error "Permission denied" running the command below. I have installed pyserial and xmodem. Any suggestions ?

root@NUC:~# ./ncp.py scan
bash: ./ncp.py: Permission denied

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

4 participants