2008-10-06 09:17 AM
Eclipse & ST
2011-05-17 03:46 AM
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 Richard2011-05-17 03:46 AM
Hi,
I tried 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 . Tollchain I'm using is GNU . They have support for Cortex.2011-05-17 03:46 AM
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.2011-05-17 03:46 AM
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.2011-05-17 03:46 AM
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 ]2011-05-17 03:46 AM
Quote:
the result is not that great,
Would you care to expand on that? In what way(s) is it ''not great'' ?2012-01-08 02:43 PM
How on earth did you manage to get the ULINK working with Eclipse?!??
I would LOVE to know! :)2012-01-08 04:36 PM
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