Unable to complete PX4 support packages setup due to unresponsive firmware upload menu in Linux Ubuntu 22.04?
Show older comments
During Hardware setup for PX4 support packages, there is a compulsion intrduced to upload the firmware, but it became unresponsive and didn't stop or close unless I kill that terminal process manually. When I searched for the solution the help page only covers for Windows users, since I am on Ubutntu 22.04, I can't apply the solution, Kindly help me as soon as possible.
Answers (1)
Arun Mathamkode
on 2 May 2024
0 votes
Which hardware you are using? What happens when you remove and reconnect the hardware when the hardware setupscreen becomes unresponsive? Ensure that when you are removing and reconnecting the hardware over USB its getting reflected properly in the Ubuntu machine first. My guess is that the process to upload is waiting for the hardware to appear and that is not happening as expected.
5 Comments
Karukkuvel Raj
on 2 May 2024
Arun Mathamkode
on 3 May 2024
Look LIke your baord might have different bootloader and communication serial ports. You might need to find these port names (/dev/ttyXYZ) and then we can specify it manually in setupscreens. This documentation will be helpful here.
You will have to do the same in Simulink as well if the firmware upload is stuck. Refer the 'Manually Set COM Port for Upload and Communication' in this documentation.
Karukkuvel Raj
on 7 May 2024
Ankur Bose
on 10 Jun 2024
You can find the serial port by typing
ls /dev/tty*
on the console. Follow below steps
- Keep terminal ready.
- Connect your board. Immiditely switch to terminal and run ls /dev/tty*
- After a few mins, run the above command again on terminal.
Compare the two outputs. You should one serial port absent in second run. That is your bootloader port
Karukkuvel Raj
on 12 Jun 2024
Categories
Find more on Guidance, Navigation, and Control in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
