I followed this tutorial http://dev.ardupilot.com/wiki/learning-the-ardupilot-codebase/learn...
I built the firmware through make px4-v2 and uploaded it through APM Planner (uploading from terminal was stuck on plug/unplug board, still debugging that). If I connect to Serial4/5 on my Pixhawk I can see this executed
::printf("Hello on debug console at %.3f seconds\n", hal.scheduler->millis()*0.001f);
However, none of the UARTs execute their prints (or at least I am not able to see them). I tried both Telemetry1 and Telemetry2. There were some strange symbols when I connected to the GPS, but nothing sensible. I get the same result on screen, MAVProxy and APM Planner
I guess I am missing some step. Here is what I do
1. Connect FTDI cable to Pixhawk (power as well, I don't plug USB)
2. On screen I use
screen /dev/ttyUSB0 57600
This is the right port, I checked it
On MAVProxy I use
Do I need to press any button or type some command to see the output from the UARTs?
Replies
Okay after a lot of time spent debuggin I found the answer. Published wiring tables and suggestions are wrong !!! If you assume numbering 1 - VCC and 6 GND on the Pixhawk UARTs, what you need to do is connect pin 2 to yellow on FTDI and pin 3 to orange. VCC and GND connected to FTDI as well.