Personally i think you need to research a bit more about GPL licensing.
A lot of the individuals/companies who submit time/code to the open source community also have to make a living. A good example is codesourcery, if it was not for them the cortex-m3 support in gcc would not exist. You can download the toolchain from them for free, but to get the full eclipse ide etc you have to purchase a licence. To me this is perfectly acceptable, as i said before they have to make a living somehow. The phrase ''you pay for what you get'' applies as usual. Regards sjo
Posted on May 17, 2011 at 12:17Rodrigo, you are right: the RIDE7 ''free'' debugger is limited up to 32KB and it requires the RLink adapter that is not free, but not so expensive (http://dkc3.digikey.com/PDF/EU071/P0421.pdf). I consider that 32KB is quite comfortable for many applications: all the applications available on the STM32circle.com website -including the CircleOS- can be debugged with the 32KB version. Regarding the stability: RIDE7 is young (it really came with the STM32) but it is quickly converging. I cannot say that I never crashed with RIDE7, but I say that I have worked many long days without any problem. Now, you are absolutely free not to use it.
I use OpenOCD and the anglias build of the gnu toolchain,
Its not size limited. I'm pretty sure it has thumb2 support (and i'm sure someone will correct me soon if not). Their idealist ide is simple enough to use. As far as debug hardware goes, i use an (olimex) parrellel port wiggler at work and a amontek tiny usb jtag at home (though i haven't yet tested the usb one with the stm32 the wiggler certainly works) both are around $30 if i remember right. If you don't want want to use the anglia ide just use a text editor, make files, and insight from command prompt without the ide (which is what i do).
I have no problem with reasonable license restrictions, and I'm quite sure it's not a problem to have a closed source IDE for GNU tools. The only GPL issue is that any changes to actual GNU code have to be made available publicly. An IDE is a totally separate application. I'm guessing there may be a few gcc and/or library tweaks for the STM32, probably related to debugging. Otherwise, the CodeSourcery changes to support Thumb2 code generation are probably adequate (I understand they've recently improved this so I hope these changes are brought forward for us to use).
But I have a question about RLink support on linux. Is there any? Or do we have to use a JTAGKey or the Olimex emulator? I assume third party emulators will work on the STM32 is the normal JTAG mode? Eric
I am working on getting my Eclipse + gcc system to work with the MCB2130 board that I won the ARM seminar. I am still working on getting gdb to work with eclipse. The plugin for zylin doesn't work with Fedora 8 so I am writing my own plugin. I have the compiler working correctly with interworks, even with the library.
My next task is to get my STM32 board (not received yet) to work with my working eclipse. I have support for Cortex in my GCC compiler but haven't tested it yet since I haven't received the STM32 board. I will write the support for the STM32 using the serial link. I will do something similar to what openocd does (gdb server). It will be on my web site when I am done. Just use google to find my web site. Sorry windows users, I have no plan to port my code to windows, someone else will have to do that. I draw the line with windows, OK at the office, but at home, when hell freezes over. Michel
All codesourcery gcc source is available. It will eventually make it into the mainline gcc branch, once it is validated and fully tested. Prebuilt binaries are also available from codesourcery for most common hosts. For open-source linux development you can use the olimex or any ftdi based jtag tool and openocd. These currently do not support the swd interface, but the standard jtag interface works ok. Cheers sjo
It must have been a while. It was working on Fedora 6 but on Fedora 8 the debugger calls gdb when using zylin. They must have broken it with the latest version unless is is an eclipse issue.
My plugin will be better and will work. I added support similar to that of the winarm plugin for creating makefiles. I don't put any support for windows in my plugin, it is strictly Linux. On windows I use IAR and only at work. Even if I had a free IAR I would not use it at home unless it was a Linux version. You're not serious are you? Openocd doesn't support the two wires debugging, only JTAG. I haven't decided yet whether it will be a fork of OpendOCD or an other option to OpenOCD. OpenOCD is JTAG only.
Magnus may have no plans, but as i am also a developer on openocd i have plans.
The first thing we are working on is a new jtag dongle, probably using the stm32. The ftdi type device are too limited. I am fully aware of what the swd is, i have been developing with it for about a year. Cheers sjo