-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Upload Error: px_uploader.py: No such file or directory #11074
Comments
Looks like a regression after the board restructure. |
The boards are able to provide their own custom upload now. https://github.com/PX4/Firmware/blob/master/boards/intel/aerofc-v1/CMakeLists.txt I can review this on an aero this weekend. |
Looks like the aero upload script needs to know the path to px_uploader.py under Tools/ and not under the boards scripts directory. https://github.com/PX4/Firmware/blob/master/boards/intel/aerofc-v1/scripts/aero_upload.sh#L43 |
@dagar Thanks, let me try the new script. Should I re-clone and re-make it? |
I moved the py file to that folder, and now I have this issus: /dev/ttyS1: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I have the same issue with the "ValueError: No JSON object could be decoded" Any progress here? |
I figured it out. In my case, I was trying to flash the ".elf" file when it should have been the ".px4" file from the make command. Hope that helps others! |
Hi @trexgerratt How did you managed to select the ".px4" binary instead of the ".elf"? |
I think this has been resolved in latest master, right? |
I just cloned master and tried uploading it to my Intel drone and I've been having the exact same issue as @trexgerratt had. So far I haven't found a fix, but I'll try specifying the .px4 file for px_uploader.py |
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions. |
Here is the error message:
$ make intel_aerofc-v1_default upload
ninja: Entering directory `/cygdrive/c/PX4/home/Firmware/build/intel_aerofc-v1_default'
[3/4] uploading px4
Copying files to Aero board ([email protected])...
The authenticity of host '10.88.193.202 (10.88.193.202)' can't be established.
ECDSA key fingerprint is SHA256:xMmdPK4036rjoNP2mFfKF5j3KhO4QF8An2QnfAUY9s4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.88.193.202' (ECDSA) to the list of known hosts.
[email protected]'s password:
intel_aerofc-v1_default.elf 100% 13MB 20.6MB/s 00:00
/cygdrive/c/PX4/home/Firmware/boards/intel/aerofc-v1/scripts/px_uploader.py: No such file or directory
FAILED: boards/intel/aerofc-v1/CMakeFiles/upload
cd /cygdrive/c/PX4/home/Firmware/build/intel_aerofc-v1_default/boards/intel/aerofc-v1 && /cygdrive/c/PX4/home/Firmware/boards/intel/aerofc-v1/scripts/aero_upload.sh /cygdrive/c/PX4/home/Firmware/build/intel_aerofc-v1_default/intel_aerofc-v1_default.elf
ninja: build stopped: subcommand failed.
make: *** [Makefile:171: intel_aerofc-v1_default] Error 1
I have tried several times on different computer, same issue.
The text was updated successfully, but these errors were encountered: