Firmware is fine, but then Mavlink won't connect.

Hello All,

This is a brand new pixhawk, just received yesterday.

I flashed my copter firmware without difficulty and immediately afterward, mavlink won't connect.   I was pulling my hair out and then remembered (from reading here ALOT) to look at the log.  The boot log just says that the magnetometer could not calibrate.  I have a ublox  (just received today, with an inspection sticker of 2/3/14).  It is connected to the gps for the gps part, (no problems there) and connected to the I2C for the mag part.   It sounds off the everything is ok sound with the two beep everything is NOT ok sound.  When I look at the log it states it could not do the magnetometer calibration. 

I have attached the log..

Mark Miner

By the way if I disconnect the I2C cable, it will boot just fine, no bad news beeps and mavilink will connect no problems.  I cannot do a separate compass calibration with the I2c connected because mavlink will not connect.

The log file is attached, but all that is says is this....

hmc5883 calibrate failed

Thank you in advance for your help and I hope I did all the right things in this question.   (log, proper description etc....)  

FWIW, I think this pixhawk rules compared to the NAZA and I cannot wait to get it properly configured.

BOOT.LOG

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

Join diydrones

Email me when people reply –

Replies

  • Ok,  I was using the five pin cable that came with the ublox.  I needed the six wire cable.  the connector is the same in both cases, just the number of wires is different.

    Solved...

    • i have the same problem...brand new board , just installed frimware and then cant connect ...and without I2C cable connected the n i can.... how can you fix it ? i am not sure what you mean...cause the GPS end (MAG) and board end (I2C) both  is 4 pin.....why i need a six wire cable? would you please advise. thx

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
yesterday
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
yesterday
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
yesterday
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
yesterday
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Sunday
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Sunday
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
DIY Robocars via Twitter
RT @a1k0n: Fully autonomous wipeout in the corkscrew at Laguna Seca @selfracingcars today. Got some tuning to do; this car is very fast, bu…
Oct 13
More…