cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse & ST

richard2
Associate
Posted on October 06, 2008 at 18:17

Eclipse & ST

8 REPLIES 8
richard2
Associate
Posted on May 17, 2011 at 12:46

Hello,

Has anyone had any experience of writing, compiling, downloading and debugging code for the STM32 in Eclipse? If so what tools & compilers did you use?

I have tried the IAR compiler with its eclipse plugin but it only debugs in IAR Workbench. I have also tried compiling with IAR and then trying to debug with the IAR/Segger JLink (am using the segger GDB Server with the Yagarto GDB tools). With this set up I can compile and flash but I can't debug - which I suspect is due to the yagarto GDB not supporting the cortex core.

Does anyone have experience they could share that would help me?

Thanks

Richard

nickich
Associate II
Posted on May 17, 2011 at 12:46

Hi,

I tried

http://www.emedt.com/armdt/

with Wiggler type JTAG for debug. I was able to connect the target and read memory only. Unfortunatelly I was not able to debug code or view registers. I don't know what is the reason. The situation is the same with the

http://www.rowley.co.uk/

.

Tollchain I'm using is GNU

http://www.codesourcery.com/

. They have support for Cortex.

tibo
Associate II
Posted on May 17, 2011 at 12:46

I have worked for four weeks with Sourcery G++ (Eclipse 3.3, CDT4.0, GNU C)

and the Keil JTAG device ULINK-ME. You can compile, link, flash and debug

your code. The framework, the editor and the project management are excellent,

but debugging is very slow and not straight.

My opinion is that eclipse is not suitable for embedded software development

at the moment, because of the bumpy integration of the debugging features. There

are some subprojects in the eclipse community for the embedded developing, but

I think they will need one or two years to have really a good IDE.

stm322
Associate II
Posted on May 17, 2011 at 12:46

I ve been using Eclipse, with GNU codesourcery and a ARM-USB-OCD to program the STM3210E eval board.

I can, compile, link, program and debug.

It is working but because the result is not that great, I came back to others development tools.

The only thing I'm missing from Eclipse is the IDE. It's the best to develop. But for the others parts, welcome the headache.

16-32micros
Associate III
Posted on May 17, 2011 at 12:46

Hi,

You can try this demo : {FreeRTOS.org STM32 demo using Eclipse, OpenOCD and GCC}

http://sites.google.com/a/stf12.net/developer-sw-fw/eclipse-demo

and then provide some feed-backs if you like the idea ...

Cheers,

STOne-32.

[ This message was edited by: STOne-32 on 05-10-2008 15:59 ]

st3
Associate II
Posted on May 17, 2011 at 12:46

Quote:

the result is not that great,

Would you care to expand on that?

In what way(s) is it ''not great'' ?

valvo
Associate II
Posted on January 08, 2012 at 23:43

How on earth did you manage to get the ULINK working with Eclipse?!??

I would LOVE to know! 🙂

valvo
Associate II
Posted on January 09, 2012 at 01:36

And by the way, does anyone know if ST is finally planning to do a proper, serious port for STM32 on Eclipse with STlink prog/debugger and devices support? All the dvlper I can talk to are waiting for that... I'm even considering moving to NXP just to be able to use Eclipse (and a little for the M0). Even microchip is doing its Eclipse IDE... ST should catch up.

 

When you code all day, seriously the ctrl+space make such a difference in your productivity and comfort! It feels like hell when I come back to MDK or Ride after Visual studio or Eclipse.

By ''anyone'' I may well mean STone indeed.

Regards,

Vince