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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: New STM32F0 devices (Cortex-M0)

Postby Giovanni » Mon May 21, 2012 3:01 pm

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: 141
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 48 times
Been thanked: 5 times

Re: New STM32F0 devices (Cortex-M0)

Postby Jacon » Mon May 21, 2012 7:33 pm

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: New STM32F0 devices (Cortex-M0)

Postby Giovanni » Mon May 21, 2012 7:57 pm

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: 141
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 48 times
Been thanked: 5 times

Re: New STM32F0 devices (Cortex-M0)

Postby Jacon » Sat May 26, 2012 10:20 am

STM32F0xx Standard Peripherals Library rel.1.0 just released by ST.
Contains examples for almost all of STM32F0 peripherals... :)

Jacon
Posts: 141
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 48 times
Been thanked: 5 times

Re: New STM32F0 devices (Cortex-M0)

Postby Jacon » Sat May 26, 2012 12:22 pm

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: New STM32F0 devices (Cortex-M0)

Postby Giovanni » Sat May 26, 2012 1:29 pm

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: 141
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 48 times
Been thanked: 5 times

Re: New STM32F0 devices (Cortex-M0)

Postby Jacon » Sat May 26, 2012 2:04 pm

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: New STM32F0 devices (Cortex-M0)

Postby Giovanni » Sat May 26, 2012 2:18 pm

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

Giovanni

Jacon
Posts: 141
Joined: Wed Dec 08, 2010 7:52 am
Has thanked: 48 times
Been thanked: 5 times

Re: New STM32F0 devices (Cortex-M0)

Postby Jacon » Sat May 26, 2012 3:34 pm

You asked, Giovanni - you got it :D
Pls go into my plugin topic...

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: New STM32F0 devices (Cortex-M0)

Postby Giovanni » Sat May 26, 2012 3:36 pm

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

Giovanni


Return to “Development and Feedback”

Who is online

Users browsing this forum: Bing [Bot] and 14 guests