The SPC5xx/MPC5xxx topic

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

Re: The SPC5xx/MPC5xxx topic

Postby Giovanni » Tue Nov 06, 2012 10:59 am

SPCs/MPCs from ST and FSL are exactly the same chip, they are co-developed by a joint venture.

Giovanni

mobyfab
Posts: 483
Joined: Sat Nov 19, 2011 6:47 pm
Location: Le Mans, France
Has thanked: 21 times
Been thanked: 30 times

Re: The SPC5xx/MPC5xxx topic

Postby mobyfab » Mon Nov 19, 2012 7:05 pm


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

Re: The SPC5xx/MPC5xxx topic

Postby Giovanni » Thu Dec 13, 2012 9:09 am

Hi,

Just an update about this family.

The support in ChibiOS/RT is going to improve, in the trunk we already support 3 different sub-families and the set of device drivers is going to grow quickly. Soon there will be the same level of support we already have for the STM32.

Those curious should check out the copyright notice into the SPC5xx drivers source files.

Giovanni

mabl
Posts: 417
Joined: Tue Dec 21, 2010 10:19 am
Location: Karlsruhe, Germany
Been thanked: 1 time
Contact:

Re: The SPC5xx/MPC5xxx topic

Postby mabl » Mon Dec 17, 2012 8:14 am

Yeah, also noticed this earlier. So these are under "ST Liberty SW License Agreement V2", so you are seriously working with ST? From what I have read from the licence, I don't like it that much but OK :twisted: As long as you think it is compatible with the GPL code?

In any case, it's very cool to get official ST backing soon :mrgreen:

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

Re: The SPC5xx/MPC5xxx topic

Postby Giovanni » Mon Dec 17, 2012 9:07 am

Backing is a huge word, but ChibiOS will be offered with this new environment :) there will be resources allocated on improving driver support for the SPC5xx family and that is not just me. I will also add support for the STM32 but that is not related to ST, normal ChibiOS development.

I am confident this new IDE has an enormous potential. I am just a bit worried about the current lack of a really free compiler and debugger for PPC.

Giovanni

mabl
Posts: 417
Joined: Tue Dec 21, 2010 10:19 am
Location: Karlsruhe, Germany
Been thanked: 1 time
Contact:

Re: The SPC5xx/MPC5xxx topic

Postby mabl » Mon Dec 17, 2012 10:47 am

Giovanni wrote:I am confident this new IDE has an enormous potential. I am just a bit worried about the current lack of a really free compiler and debugger for PPC.


Wait. There isn't even a working gcc for it? Can't we just use standard PPC?

EDIT: Found these:
http://www.cygwin.com/ml/crossgcc/2003-04/msg00009.html
http://mcs.woodward.com/support/wiki/in ... h_MotoHawk

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

Re: The SPC5xx/MPC5xxx topic

Postby Giovanni » Mon Dec 17, 2012 11:21 am

We can use standard GCC because it supports the Book-E instruction set, in fact I am using CodeSourcery without problems.

The problem is that there is another instruction set called VLE, look at it like the Thumb equivalent for PPCs, GCC is not able to generate this code currently. Some devices, those using the e200z0 core, only support this VLE so standard GCC is not usable. Cores e200z3, e200z4 and e200z7 can run on Book-E without problems.
The problem exists only for smallish e200z0 devices (Cortex-M3 class stuff).

Patches regarding VLE have been committed in the GCC mailing lists but not yet accepted so it will not make it in time for GCC 4.8 because it is already in stage 3. Support could come in GCC 4.9 which is one year far away at earliest.

I put something is in motion for the debugger but it could take months without help. I am also looking into a Discovery equivalent mounting a monstrous dual core e200z4 device. I am really looking forward to implementing SMP support in ChibiOS, it will be fun :)

Giovanni


Return to “Development and Feedback”

Who is online

Users browsing this forum: Baidu [Spider] and 70 guests