Just to be sure here: Does this now work somehow without big hacking on Linux properly?
~ Tectu
[New] Side project: ChibiToolchain
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: [New] Side project: ChibiToolchain
I use something very similar on Ubuntu but it does require hacking if you want to use ST-Link, and you have to build OpenOCD yourself.
Giovanni
Giovanni
Re: [New] Side project: ChibiToolchain
Hello,
I have just setup a toolchain with Eclipse+YAGARTO+OpenOCD for STM32 using the guide and works well:
http://hertaville.com/2012/05/28/gcc-ar ... discovery/
I have just found your ChibiStudio thorugh website.
It has a single 7z file and seems convenient to use. I would like to test it using an example project.
Where can I download a simple eclipse project for, e.g., stm32f4discovery?
I looked in the forum but I cannot find the eclipse project, only some files and makefiles.
I also would like to test ChibiOS. I am currently using FreeRTOS for some of my projects at work.
I read that FreeRTOS licence does not permit to publish comparison between it and other OS. How does ChibiOS performs, in general, with respect to FreeRTOS on a STM32 platform?
Kind regards
I have just setup a toolchain with Eclipse+YAGARTO+OpenOCD for STM32 using the guide and works well:
http://hertaville.com/2012/05/28/gcc-ar ... discovery/
I have just found your ChibiStudio thorugh website.
It has a single 7z file and seems convenient to use. I would like to test it using an example project.
Where can I download a simple eclipse project for, e.g., stm32f4discovery?
I looked in the forum but I cannot find the eclipse project, only some files and makefiles.
I also would like to test ChibiOS. I am currently using FreeRTOS for some of my projects at work.
I read that FreeRTOS licence does not permit to publish comparison between it and other OS. How does ChibiOS performs, in general, with respect to FreeRTOS on a STM32 platform?
Kind regards
Re: [New] Side project: ChibiToolchain
Hi Mallo,
When you open the IDE, you will find all STM32 sample projects in the ChibiOS/RT STM32 demos folder on the left hand side. You can choose your project from there, and right click and select 'Open' from the context menu.
Also, all of the sample projects are located in the chibios/demos folder inside the archive.
Best Regards
Abhishek
When you open the IDE, you will find all STM32 sample projects in the ChibiOS/RT STM32 demos folder on the left hand side. You can choose your project from there, and right click and select 'Open' from the context menu.
Also, all of the sample projects are located in the chibios/demos folder inside the archive.
Best Regards
Abhishek
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: [New] Side project: ChibiToolchain
There are two demos for the STM32F4-Discovery already imported, just compile and run 
Giovanni
Giovanni
Re: [New] Side project: ChibiToolchain
Hello,
I put the files in C:\ChibiStudio and import the workspace and I am able to find the examples.
I tested the stm32F4discovery ones, and they works good on OpenOCD 6 ans st-linkv2 dongle.
Great work!
I like the Eclipse customization with EmbSys Registers for STM32.
Thank you very much for your project.
Now, I will try to play a bit with the example and understand the OS. Will I be able to do some trace of ChibiOS using st-link v2 (swd)?
Kind regards
I put the files in C:\ChibiStudio and import the workspace and I am able to find the examples.
I tested the stm32F4discovery ones, and they works good on OpenOCD 6 ans st-linkv2 dongle.
Great work!
I like the Eclipse customization with EmbSys Registers for STM32.
Thank you very much for your project.
Now, I will try to play a bit with the example and understand the OS. Will I be able to do some trace of ChibiOS using st-link v2 (swd)?
Kind regards
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: [New] Side project: ChibiToolchain
You can, also try the ChibiOS debug plugin, it allows to inspect the status of the RTOS easily.
Giovanni
Giovanni
Re: [New] Side project: ChibiToolchain
jcbarlow wrote:Giovanni wrote:you could ask in the OpenOCD forum about this.
The OpenOCD forum on the Sparkfun site seems to have many unanswered questions these days. A better resource IMHO are the email lists that are now hosted on sourceforge.net
See <https://lists.sourceforge.net/lists/listinfo/openocd-user> and <https://lists.sourceforge.net/lists/listinfo/openocd-devel>
Hi,
Thanks for the reference. I got my answer there, and got OpenOCD v0.6.0 working with my Discovery board last Sunday.
The problem is in fact due to USB 3.0. Due a limitation in libusbx-1.0.12, it didn't support Intel USB 3.0 root hubs. Thus the device wasn't detected at all on my laptop, though it worked fine on other PCs with USB 2.0.
With OpenOCD v0.6.0 for windows compiled from the sources with the latest version of libusbx - libusb-1.0.13 it works well with the default drivers. The latest 32-bit binaries may be obtained from: http://code.google.com/p/picusb/downloa ... ingw32.zip (courtesy an OpenOCD and libusb developer) . It is however a bit larger than Freddie's binaries.
Hope this information is useful to someone.
Cheers
Abhishek