New STM32F0 devices (Cortex-M0)

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: New STM32F0 devices (Cortex-M0)

Post by Giovanni »

It is called luck or, alternatively it is called "the problem is still hidden there waiting to happen" :-)

Bad choice of words from me, It is possible Versaloon also works, the Atollic GDB server is just what I used for tests, it was worth reporting that you need the latest version.

Giovanni
Jacon
Posts: 143
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 50 times
Been thanked: 5 times

Re: New STM32F0 devices (Cortex-M0)

Post by Jacon »

Giovanni wrote:Note, in order to debug the STM32F0xx you need the GDB server
from the Atollic toolchain 3.1.0 (or use Atollic itself).
Hi Giovanni,

How about size limitations in this new GDB - according to them,
only 32kB possible from now on in the Lite version... ;)
Do they really exist?

BTW. Just received mine F0-Discovery :mrgreen:
Tomorrow will start integration with my test system...
Xml files for plugin in the works, too :)
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: New STM32F0 devices (Cortex-M0)

Post by Giovanni »

I never tested the limit, may be it is not present at GDB level. Anyway OpenOCD (development version) already supports ST-Link and that will be a more open solution.

Giovanni
Jacon
Posts: 143
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 50 times
Been thanked: 5 times

Re: New STM32F0 devices (Cortex-M0)

Post by Jacon »

STM32F0xx Standard Peripherals Library rel.1.0 just released by ST.
Contains examples for almost all of STM32F0 peripherals... :)
Jacon
Posts: 143
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 50 times
Been thanked: 5 times

Re: New STM32F0 devices (Cortex-M0)

Post by Jacon »

Hi Giovanni,

Bugs found in latest trunk file changes:

1. In file STM32/serial_lld.c line 87 it should be:

Code: Select all

   STM32F0xx devices and newer have an enhanced peripheral with slightly

2. In file STM32F0xx/stm32_dma.h line 24 it should be:

Code: Select all

 * @note    This file requires definitions from the ST header file stm32f0xx.h.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: New STM32F0 devices (Cortex-M0)

Post by Giovanni »

Fixed thanks.

I am working on finishing the F0 support, the ADC is very interesting, it is simpler than the other STM32 ADCs but I think it is much improved. The I2C also seems to fix the issues with the old peripheral. This F0 is a positive surprise, a very nice small device IMO.

Giovanni
Jacon
Posts: 143
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 50 times
Been thanked: 5 times

Re: New STM32F0 devices (Cortex-M0)

Post by Jacon »

Giovanni wrote:... This F0 is a positive surprise, a very nice small device IMO....
Yep - came into same conclusion during (almost complete) work on plugin STM32F0 xml files :mrgreen:
Last edited by Jacon on Sat May 26, 2012 2:21 pm, edited 1 time in total.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: New STM32F0 devices (Cortex-M0)

Post by Giovanni »

Cool, let me know when it is done, I could use that right now.

Giovanni
Jacon
Posts: 143
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 50 times
Been thanked: 5 times

Re: New STM32F0 devices (Cortex-M0)

Post by Jacon »

You asked, Giovanni - you got it :D
Pls go into my plugin topic...
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: New STM32F0 devices (Cortex-M0)

Post by Giovanni »

Thanks, I am debugging the ADC driver, it will be helpful.

Giovanni
Post Reply