Can't connect to PX4 after flashing firmware

Hi there,

Can anybody help with a PX4 issue? I'm unable to connect to the board, even though I'm able to flash the firmware successfully.

The PX4 is brand new and I'm able to flash the firmware using APM Planner, the PX4 toolchain and QGroundControl. However, I'm absolutely unable to connect to the board afterwards. Here's the output in the terminal when I try to connect with APM Planner:

...

 INFO 2014-04-22T20:13:48.092 flashing: 771060 / 771480
DEBUG 2014-04-22T20:13:48.097 Done
DEBUG 2014-04-22T20:13:48.258 Remote CRC: "E8C44831"
DEBUG 2014-04-22T20:13:48.258 Local CRC: "E8C44831"
APMToolBar:CONNECT clicked calling signal
DEBUG 2014-04-22T20:13:58.729 APMToolBar: connectMAV  QObject(0x0)  with sLink SerialLink(0x38bbca0)
DEBUG 2014-04-22T20:13:58.729 APMToolBar: Connecting m_currentLink  SerialLink(0x38bbca0)
DEBUG 2014-04-22T20:13:58.732 Unknown type found on port "ttyS4" description: ""
 INFO 2014-04-22T20:13:58.743 SerialLink: hardwareConnect to  "ttyS4" with type "other"
DEBUG 2014-04-22T20:13:58.744 Port opened!
DEBUG 2014-04-22T20:13:58.744 Setting baud rate to: 115200
DEBUG 2014-04-22T20:13:58.744 Setting data bits to: 8
DEBUG 2014-04-22T20:13:58.744 Setting flow control to: 0
DEBUG 2014-04-22T20:13:58.745 Setting stop bits to: 1
DEBUG 2014-04-22T20:13:58.745 Setting parity to : 0
DEBUG 2014-04-22T20:13:58.745 CONNECTED LINK:  "ttyS4" with settings "ttyS4" 115200 8 0 1
DEBUG 2014-04-22T20:13:58.747 APMToolBar: connecting to link SerialLink(0x38bbca0)
DEBUG 2014-04-22T20:13:58.747 APMToolBar: updateLinkDisplay
DEBUG 2014-04-22T20:13:58.747 APMToolBar setConnection: true
APM Tool BAR QML: connected
APMToolBar:INITIAL SETUP clicked calling signal
DEBUG 2014-04-22T20:14:04.246 No data!!! Attempting reset via reboot command.
APMToolBar:CONFIG/TUNING clicked calling signal
DEBUG 2014-04-22T20:14:04.998 Loading widget: "PARAMETER_INTERFACE_DOCKWIDGET"
APMToolBar:INITIAL SETUP clicked calling signal
DEBUG 2014-04-22T20:14:09.746 No data!!! Attempting reset via DTR.
DEBUG 2014-04-22T20:14:15.246 No Data!! Tried reboot and DTR to no avail
DEBUG 2014-04-22T20:14:24.747 No Data!! Tried reboot and DTR to no avail
DEBUG 2014-04-22T20:14:41.247 No Data!! Tried reboot and DTR to no avail
DEBUG 2014-04-22T20:14:57.747 No Data!! Tried reboot and DTR to no avail
DEBUG 2014-04-22T20:15:14.247 No Data!! Tried reboot and DTR to no avail
DEBUG 2014-04-22T20:15:30.747 No Data!! Tried reboot and DTR to no avail
^C

And with QGroundControl:

LINK COUNT 0
WARNING: Settings loading for trail type (ByTimeElapsed) not implemented
WARNING: Settings loading for trail type (ByTimeElapsed) not implemented
qupgrade/libs/qextserialport/src/qextserialenumerator_linux.cpp 143 Found:  "/dev/ttyACM0"
qupgrade/libs/qextserialport/src/qextserialenumerator_linux.cpp 143 Found:  "/dev/ttyACM0"
WARNING: Settings loading for trail type (ByTimeElapsed) not implemented
Loading widget: "PRIMARY_FLIGHT_DISPLAY_DOCKWIDGET"
Loading widget: "UAS_INFO_INFOVIEW_DOCKWIDGET"
UDP Created  "UDP Link (port:14550)"
ADD LINK CALLED FROM SOMEWHERE
MAVLINK OK
create SerialLink  "" 57600 false false 8 1
m_portName  "ttyACM0"
ADD LINK
ADD LINK CALLED FROM SOMEWHERE
MAVLINK OK
current portName  "ttyACM0"
setPortName to  "ttyACM0"
SerialLink: hardwareConnect to  "ttyACM0"
CONNECTING LINK:  src/comm/SerialLink.cc 437 with settings "ttyACM0" 57600 8 0 1
No data!!! Attempting reset via reboot command.
No data!!! Attempting reset via DTR.
No data!!!
linkErrorCount too high: disconnecting!
disconnect
"ttyACM0"
running so disconnect "ttyACM0"
QThread::wait: Thread tried to wait on itself
Closing Port # 275 "ttyACM0"

What's going wrong here? I'm not able to do anything at all with the drone :(

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hey Daniel,


    I realize this post is rather older (in fact a month to the day), but I was googling the same issue as what you had mentioned. Couldn't find any helpful info, but I think I determined what caused my issue.

    I am working on trying to get my FatShark camera connected and using a small servo pan/tilt system. I just flashed the latest version of ArduPilot(v 3.0.3) to the plane, and downloaded the latest version of APM Planner (v 2.0.9). All went well, adjusted, calibrated, then disconnected. Connected my servo gimble and went back to APM Planner to configure the channels, I get the "No Data!! Tried reboot and DTR to no avail" message. Mind you, I have 1 servo connected on A10 and the other on A11. So I decided to try and unplug those 2 servos, see if that was the issue. Attempted a re-connect and APM connected without an issue. Not sure if the small servos draw to much power from the board or what. Also, as I forgot to mention earlier, I am running the APM 2.0 board, not the PX4. Hopefully, this might give you an idea to try if you are still having an issue.

    Mo

    • Hi Mo,

      Thanks for the reply :) that would be a great tip, but I don't have the autopilot connected to any servos - I'm just trying to connect to the autopilot itself, without any other hardware attached :(

      Daniel

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars It's just something that's easy to track with chroma keying. I ended up using different colors on th…
yesterday
DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
Nov 23
DIY Robocars via Twitter
Nov 23
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
More…