[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/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 - Onboad program didn't work after compiled the AQ solution

Onboad program didn't work after compiled the AQ solution

News, Setup, Compiling, Flashing, Development

Onboad program didn't work after compiled the AQ solution

Postby EX_TRUE » Mon Nov 10, 2014 9:39 am

Greetings

I have compiled the source code on repository, and build complete.
But after I download autoquad.hex to AQ6.1a hardware and reset, all led is off except the Power LED, which indicate the onboard program didn't run successfully.

1.the CrossStudio version is 3.3 ,the st firmlib is STM32F4xx_DSP_StdPeriph_Lib_V1.3.0
2.I modfied the aq.h
#ifndef BOARD_REVISION
#define BOARD_REVISION 1
#endif
add #define DIMU_VERSION 11
3. the Qroundcontrol could not connet the AQ successfully.
4. I have compiled the solution of trunk and the 6.9 in branches both, but all failed to run after download completed.
5. my thumb setting is THUMB RELEASE.

Many thanks for your help.
Last edited by EX_TRUE on Mon Nov 10, 2014 9:53 am, edited 1 time in total.
EX_TRUE
 
Posts: 51
Joined: Mon Nov 10, 2014 8:57 am

Re: Onboad program didn't work after compiled the AQ solutio

Postby sandmen » Mon Nov 10, 2014 9:44 am

Check for "Thumb Debug" settings in XStudio, it should be "Thumb Release".
sandmen
 
Posts: 997
Joined: Fri Jun 22, 2012 7:25 am

Re: Onboad program didn't work after compiled the AQ solutio

Postby EX_TRUE » Mon Nov 10, 2014 9:49 am

yes, my Thumb setting is Thumb Release
EX_TRUE
 
Posts: 51
Joined: Mon Nov 10, 2014 8:57 am

Re: Onboad program didn't work after compiled the AQ solutio

Postby kinderkram » Mon Nov 10, 2014 10:19 am

Hi and welcome to AQ!

You did pull the boot plug before restarting, right? ;)
Did you try a pre-compiled version from our FTP? If not - give it a shot:
ftp://ftp.autoquad.org/3/334693_22529/a ... -dimu-1.1/

Norbert
kinderkram
 
Posts: 2911
Joined: Fri Jun 22, 2012 7:47 am

Re: Onboad program didn't work after compiled the AQ solutio

Postby EX_TRUE » Mon Nov 10, 2014 10:29 am

EX_TRUE
 
Posts: 51
Joined: Mon Nov 10, 2014 8:57 am

Re: Onboad program didn't work after compiled the AQ solutio

Postby Max » Mon Nov 10, 2014 10:56 am

Hi, perhaps post/thread this will help? viewtopic.php?f=31&t=3825&start=10#p26961

-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: Onboad program didn't work after compiled the AQ solutio

Postby JussiH » Mon Nov 10, 2014 11:18 am

Use Crossworks 2.3
JussiH
 
Posts: 2103
Joined: Thu Jun 21, 2012 9:25 pm

Re: Onboad program didn't work after compiled the AQ solutio

Postby EX_TRUE » Mon Nov 10, 2014 3:01 pm

EX_TRUE
 
Posts: 51
Joined: Mon Nov 10, 2014 8:57 am

Re: Onboad program didn't work after compiled the AQ solutio

Postby EX_TRUE » Tue Nov 11, 2014 2:28 am

EX_TRUE
 
Posts: 51
Joined: Mon Nov 10, 2014 8:57 am

Re: Onboad program didn't work after compiled the AQ solutio

Postby Kisssys » Tue Nov 11, 2014 3:18 pm

You need to look at the communications output to see if you are getting through any of the initialization and where it's stopping or now that you have debug available use it a little deeper.

While in debug go to aq_init.c and set break points to see how far it's getting. The jpg show's I've set 4 breakpoints, it should go to each break point and stop. If it goes to telemetry init and stops and you hit GO again and it doesn't stop at the next break point you're stuck in telemetryInit somewhere.

My guess is your stuck in imuInit();

Capture.JPG
Capture.JPG (30.32 KiB) Viewed 13546 times
Steve
Kisssys
Kisssys
 
Posts: 1340
Joined: Sat Jun 23, 2012 9:23 pm

Next

Return to AQ Firmware

Who is online

Users browsing this forum: No registered users and 21 guests

cron