cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse and CodeSourcery ARM Sourcery G++ question

sharethl
Associate II
Posted on October 22, 2011 at 02:19

Hi

I have eclipse 3.6 with GNU ARM C/C++ development support configured.

However, it can generate hex file with warning: cannot find entry symbol Reset_Handler; defaulting to 08000000. Not sure will this effect the hex file.

So I download it to F4discovery board with STM32 ST-LINK utility, reset the board, the program can not run. 

And I program it with hex that from demo project of the board and it works.

The codes I wrote can work in atollic's truestudio.

I convert them to bin file with post-build command.

their size are totally different, it is sure that compile from eclipse has problem

Two files are attached

So I wander that is it due to my C/C++ build configuration errors or something else?

Is there any configure tutorial for cortex m4?

This one works for Cortex M3, but GNU ARM plugin is easier to use.

https://sites.google.com/site/stm32discovery/open-source-development-with-the-stm32-discovery/setting-up-eclipse-for-stm32-discovery-development

Thanks

10 REPLIES 10
sharethl
Associate II
Posted on May 19, 2012 at 16:30

Here is the Ubuntu development for stm32F4 Discovery board

http://shareee.netne.net/wordpress/?p=83