While running through the complete initial setup of Ardsub http://ardusub.com/raspi-setup/
, I took every step and now end up flashing pixhawk through Raspberry Pi.
I am waiting for the board to reload as the text says.
While the flashing command is running, you will see the script try to start the Pixhawk’s bootloader multiple times. The output will look like this:
<div class="highlighter-rouge">
<pre class="highlight">if the board does not respond, unplug and re-plug the USB connector.
attempting reboot on /dev/ttyACM0...
</div>
Eventually it should catch and reflash the board.
How long should I wait? I waited for approx 40 min's, without success. After unplugging the USB and also rebooting (repower) the devices, still QGC doesn't recognizes the Pixhawk.
I run the installation through Raspberry Pi connected with the Pixhawk via USB, and connected to my windows PC via an ethernet cable. I run Putty SSH.
As I was following the procedure, I wanted to flash through/from RPI.
If I have to do it now via USB directly, how should it work then in the future in the setup with RPI - FathomX - Tether cable - Top station… ?
I see that you are using the recommended process. I misread ‘QGC does not recognize the pixhawk’ as if you were trying to flash through qgc.
Please turn on the raspberry pi/pixhawk, ssh and do
‘ls /dev/tty*’
and
‘ls /dev/serial/by-id’
Please run these two commands both before and after running (then cancelling) the upload script. Let the upload script run for a couple of minutes, do you see the main led on the pixhawk turn off, then white for many seconds?
What is the behavior of the large, RGB led in the middle of the pixhawk during the flashing process?
Allow the pi and pixhawk to boot up, when powered on, the pixhawk led should turn white for many seconds, then eventually flash red and blue briefly before continually blinking yellow or blue. At this point the pixhawk has finished booting.
When the pixhawk has finished booting, observe the RGB led on the pixhawk when you run the script. Does anything change with that RGB led when you start the script? The led should turn off while the pixhawk is being flashed, or you may observe the pixhawk booting sequence several times while the script tries to catch the bootloader.
If you do not see mavproxy screen running, then there is an error in your startup script. Try running the mavproxy startup script in the terminal directly to get information on the failure.
Have you set up the required software on the Raspberry Pi? You can do that by downloading our image file or by setting up everything manually. The default Raspbian install doesn’t have the scripts needed to run ArduSub.
Some usb cables only have the wires to power devices and don’t have the data wires that are used to communicate. Can you verify that your usb cable has the data lines, or try another usb cable?
Hello Jacob, I used three different cables and I realized they were different but really the one to use is the one that can synchronize your phone with the computer but pixhawk card can not be recognized in my mac
now try to connect my mac to pixhawk card using the terminal mode without results
The first thing to check is the IP address settings on your Mac. Open “Network Preferences” on your Mac and select your Ethernet adapter on the left sidebar. Then make sure the following settings are set:
Configure IPv4: Manually
IP Address: 192.168.2.1
Subnet Mask: 255.255.255.0
Let me know if those are set properly. If they already are then we can investigate other causes.
Since it is in the same range, I thought that was OK.
But on second thoughts, maybe the video script is written with one specific IP address and must it be .1 ?