[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - USB connection problem
Page 1 of 2

USB connection problem

PostPosted: Tue Apr 19, 2016 11:14 am
by luckpl
Hi everyone,
I have some problems on QGC connection.

When I use the USB to connect the QGC, at first, everything is normal, I can see the artificial horizon move and get telemetry data. But when I save the modified parameters to permanent memory (write to flash), sometimes it can save successfully, but most of the times the MAV lost connection with QGC. Below are some pictures about the problem.

This is my QGC mavlink setting:
Image
This is the Tip box when connection gets lost:
Image
Need help :) :)

Re: USB connection problem

PostPosted: Fri Apr 22, 2016 12:42 pm
by Mullet
Two things:

Have you tried using a different USB cable? Some USB cables that I have strangely can't keep a good connection. Jiggle the cable around and see if you lose connection.

Have you tried using a different computer?

Hopefully one of the two fixes your issue.

Re: USB connection problem

PostPosted: Sat Apr 23, 2016 2:54 am
by luckpl
thanks for your suggestion,Mullet. :)
I have tried a different USB cable and a different computer,but the problem still persists. :?
I don't think the USB or USB drive has problem,as it is normal when I use the USB to update the firmware,so I suspect that the QGC has some bugs.

Re: USB connection problem

PostPosted: Sat Apr 23, 2016 4:20 am
by Max
Do the LEDs on the M4 keep blinking when this happens? Can you reconnect to it, or does it always require restarting the M4? Do you have the M4 powered some other way besides the USB cable? Which firmware and QGC versions?

After the disconnect happens, you can check to see if that COM port is still available on the system (eg. in Device Manager). I'm guessing that it is not, which is why QGC reports errors. I'm also guessing that it is the M4 which has a problem, perhaps crashing when trying to write to flash RAM.

-Max

Re: USB connection problem

PostPosted: Sat Apr 23, 2016 11:19 am
by luckpl
my mistake, i thought it is AQ6 at first :lol: :lol:

Re: USB connection problem

PostPosted: Sat Apr 23, 2016 11:40 am
by aBUGSworstnightmare

Re: USB connection problem

PostPosted: Sat Apr 23, 2016 7:55 pm
by Max
Yea, what are you trying to, and how do you plug a USB cable into an AQ6?

How is the QGC screenshot showing an AQ/MSC connection?

:?

-Max

Re: USB connection problem

PostPosted: Sun Apr 24, 2016 8:29 am
by luckpl
Is my board M4? My god!! I am confused :shock:

Re: USB connection problem

PostPosted: Sun Apr 24, 2016 12:26 pm
by aBUGSworstnightmare

Re: USB connection problem

PostPosted: Sun Apr 24, 2016 1:04 pm
by luckpl
Oh,it is M4.
I got it from my brother, he used it at first, maybe i need to read the Wiki, I think I miss something important. :D