[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/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 - Crossworks 3.3.1 -After compiling does not work

Crossworks 3.3.1 -After compiling does not work

News, Setup, Compiling, Flashing, Development

Crossworks 3.3.1 -After compiling does not work

Postby s_sergiu » Sun Jan 11, 2015 10:17 pm

Hi,

I have installed both Crossworks 2.3.5 and 3.3.1.
For 3.3.1, according with info here in forum I copied the two stm32f4xx files (viewtopic.php?f=31&t=3825&start=10#p26961).
I use AQ6 rev1 with DIMU.
While compiling and downloading with Crossworks 2.3.5 all working fine,
with 3.3.1, it compiles fine without errors but after downloading to MCU, only red led is ON. No any activity in QGC also.


Any suggestions?

Sergiu
s_sergiu
 
Posts: 49
Joined: Fri Jul 06, 2012 5:51 pm

Re: Crossworks 3.3.1 -After compiling does not work

Postby Max » Sun Jan 11, 2015 10:34 pm

Use 2.3.5. :)

It probably has to do with the startup script (STM32_Startup.s in CW package) and/or the loader definitions (autoquad.ld in source folder). Basically the compiler and IDE version shouldn't matter, it's all about which files are included. If you can get 3.3 to use all those files from 2.3, then it should work. Easier to use 2.3 at that point though, if you can.

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

Re: Crossworks 3.3.1 -After compiling does not work

Postby s_sergiu » Mon Jan 12, 2015 10:16 am

Hi Max,

What I found is that in debug mode, under 3.3.1, program stops in main_ctl.c at
void HardFault_Handler(void).

I was wondering if others here in forum compiling with latest crossworks had run in similar problem.

Sergiu
s_sergiu
 
Posts: 49
Joined: Fri Jul 06, 2012 5:51 pm

Re: Crossworks 3.3.1 -After compiling does not work

Postby aBUGSworstnightmare » Mon Jan 12, 2015 11:10 am

aBUGSworstnightmare
 
Posts: 1460
Joined: Fri Jun 22, 2012 5:24 pm

Re: Crossworks 3.3.1 -After compiling does not work

Postby s_sergiu » Mon Jan 12, 2015 2:07 pm

Hi,

I was compiling "release version" always.
I use SWD connector for programming.
Under 2.3.5 , after starting debugging, program is running continuously, while under 3.3.1 remain at HardFault_Handler.
In both cases I use same autoquad source files folder.
s_sergiu
 
Posts: 49
Joined: Fri Jul 06, 2012 5:51 pm

Re: Crossworks 3.3.1 -After compiling does not work

Postby s_sergiu » Sun Feb 08, 2015 9:35 pm

Hi
Just made fresh WIN 7 installation. Installed Crossworks 3.3.1 latest version. Then I follow this steps:
1 - Copied two files stm32f4xx.h and system_stm32f4xx.h in ...v3/.../Include, according with info in forum
2 - Open solution autoquad.hzp
3 - Compile solution .... no errors.
4 - Upload hex to Autoquad ---- only red led ON :oops:

I also installed older Crossworks 2.3.5. Follow steps 2 to 4 Aq works normally ! :shock:

I know that I can use older 2.3.5. :D But I can not understand how other folks here in forum are using 3.3.1 !
What I'm doing wrong ? The reason I bought 3.3.1 was AQ.

Any help is appreciated.
Sergiu
s_sergiu
 
Posts: 49
Joined: Fri Jul 06, 2012 5:51 pm

Re: Crossworks 3.3.1 -After compiling does not work

Postby kurthu » Mon Feb 09, 2015 6:29 pm

Same problem here. Using Crossworks 3.3.0 on Mac, building for AQ M4. Builds ok, downloads ok in debug mode via ST-Link/V2.
Runs in main() to CoStart(),then ends in HardFault_Handler().
Same for debug and release version.
Anyone found a solution?
kurthu
 
Posts: 1
Joined: Mon Feb 09, 2015 6:08 pm

Re: Crossworks 3.3.1 -After compiling does not work

Postby bn999 » Mon Feb 09, 2015 7:08 pm

Officially, AQ is compiled with Crossworks ver 2.3.5. I have not attempted to compile with ver 3 or higher, but have heard that there are problems.
bn999
 
Posts: 1559
Joined: Thu Jun 21, 2012 11:40 pm


Return to AQ Firmware

Who is online

Users browsing this forum: No registered users and 15 guests

cron