Shop OBEX P1 Docs P2 Docs Learn Events
Propeller GCC Status — Parallax Forums

Propeller GCC Status

jazzedjazzed Posts: 11,803
edited 2011-09-07 05:54 in Propeller 1
Ken Gracey asked me to provide a periodic update for the Propeller 2 GCC effort.

Let's all remember that Propeller 2 is an unofficial name; I also call it P2. Sometimes I refer to the current Propeller as P1 or P8x32a like I shoud. I get weary and lost saying Propeller and Propeller 2.

Since the P2 GCC project was announced, we have gathered team members for the development effort. We have been discussing Product Requirements and deliverables lightly until all the paperwork and walnuts are in order. Ken Gracey gave us a charter which includes some requirements, but more will be added.

Some Updates

Two things may be possible that were not part of the original requirement. I have discussed these possibilities briefly with Ken.
  1. A Native PASM COG code generator will probably be one of the first things created. You will most likely be able to write your PASM drivers in C.
  2. A P1 tool chain. The P1 P8x32a is essentially a sub-set of the P2. While it is not designed specifically for the LMM code like the P2, it can run LMM successfully as Bean, ImageCraft, Ross and others have shown.
Those items are of course subject to verification and Parallax approval.

Calling all GCC testers!

We will be needing testers as the product matures. Propeller GCC is still a twinkle in our eyes at this point, but once it's learned to walk, we will be getting serious about recruiting more early testers so we can exercise this baby once it can run.

The details of all this are to be determined. There will be a limited supply of P2s for testers, so if you're serious and have some background with GCC, speak up!


Cheers to all!
--Steve
«13456

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-06-20 19:06
    jazzed wrote:
    I get weary and lost saying Propeller and Propeller 2.
    Just don't call it the "Prop chip" in any official-looking capacity. Ken might correct you, as he did me awhile back. :) It's a hard habit to break, but I'm trying, even in this rather unofficial venue. (I wonder if I can program Alt-P to spell out "Propeller.")

    -Phil
  • ctwardellctwardell Posts: 1,716
    edited 2011-06-20 20:09
    jazzed wrote: »
    A Native PASM COG code generator will probably be one of the first things created. You will most likely be able to write your PASM drivers in C.

    Most Excellent.

    C.W.
  • kwinnkwinn Posts: 8,697
    edited 2011-06-20 20:24
    Just don't call it the "Prop chip" in any official-looking capacity. Ken might correct you, as he did me awhile back. :) It's a hard habit to break, but I'm trying, even in this rather unofficial venue. (I wonder if I can program Alt-P to spell out "Propeller.")

    -Phil

    Say what! Does this mean I can't refer to them as the PC1 and PC2 without being corrected ;-)
  • Ken GraceyKen Gracey Posts: 7,407
    edited 2011-06-20 21:47
    Just don't call it the "Prop chip" in any official-looking capacity. Ken might correct you, as he did me awhile back. :) It's a hard habit to break, but I'm trying, even in this rather unofficial venue. (I wonder if I can program Alt-P to spell out "Propeller.")

    -Phil

    Whack, whack with a scope probe! Actually, I can't berate you too firmly for using such terms when they are also common inside of Parallax. At a recent company meeting Jen addressed the subject of shorter names for Parallax Semiconductor. Inside we tend to use ParaSemi, but never PSemi since it belongs to other companies and products. She was simply engraving our brains before the PSemi name became commonplace.

    Jazzed, thanks for making the update. Without your involvement we'd have a very difficult time getting this project underway.

    Ken Gracey
  • __red____red__ Posts: 470
    edited 2011-06-23 19:28
    You know, a software emulated P2 would make unit testing of the compiler trivial.

    Of course, actually building unit tests for the compiler that interfaces to hardware shouldn't be that hard either.
  • Luis DigitalLuis Digital Posts: 371
    edited 2011-06-26 16:37
    jazzed wrote: »
    Calling all GCC testers!

    We will be needing testers as the product matures. Propeller GCC is still a twinkle in our eyes at this point, but once it's learned to walk, we will be getting serious about recruiting more early testers so we can exercise this baby once it can run.

    The details of all this are to be determined. There will be a limited supply of P2s for testers, so if you're serious and have some background with GCC, speak up!


    Cheers to all!
    --Steve

    As always, I am available to be "guinea pigs".
  • jmspaggijmspaggi Posts: 629
    edited 2011-06-26 17:12
    Of course, I'm available too!

    Even if my I'm not a pro in prop ;)

    JM
  • jazzedjazzed Posts: 11,803
    edited 2011-06-27 19:40
    This week's status installment.
    1. Agreements for consultants are being signed this week.
    2. Dave Hein's excellent spinsim simulator is being expanded for Propeller 2 use.
    3. Development hardware access plan is in progress.
    4. Requirements Document is still in process.
    We still need more tester and demo application volunteers.
    I would like to say thanks to Luis Digital and jmspaggi for their interest in alpha testing.

    Answering questions about Java: the GNU Compiler Collection includes GCJ. It is not clear at this point if GCJ will be supported. It and other languages such as Objective C, Fortran, and Ada may be considered. The main emphasis however at this point is C/C++.

    Some initial discussion on an Open Source Hardware Propeller 2 Demo board have started in the forum. It is not an officially sanctioned project ... yet. I hope that all the excellent hardware talent we have here can contribute to that thread.
  • Mike GMike G Posts: 2,702
    edited 2011-06-27 21:08
    I'd be more than happy to help test.
  • max72max72 Posts: 1,155
    edited 2011-06-28 05:44
    I'm just an hobbyist, and my GCC skills are extremely limited, but I would gladly be put (on the bottom) of the list.
    Massimo
  • jmspaggijmspaggi Posts: 629
    edited 2011-06-28 05:59
    hi Jazzed,

    I'm not sure I was clear, but I will be very happy to be part of the testers ;)

    And as yhou know, I will be volonteer to test or try to adapt the GCJ procedure ;)

    Having another language than spin will be a real pleasure (as long as it's not emulated...)

    Thanks!

    JM
  • Kevin WoodKevin Wood Posts: 1,266
    edited 2011-06-28 20:06
    jazzed, if you're still looking for help, I'm willing to lend a hand.
  • jazzedjazzed Posts: 11,803
    edited 2011-06-29 20:15
    Thanks Kevin, Massimo, and Mike for volunteering. The more the merrier.
    JM, I got ya :) - GCJ might be a hard sell though.
  • ctwardellctwardell Posts: 1,716
    edited 2011-06-29 20:17
    Jazzed,

    Please add me to the list of potential testers.

    Thanks,

    C.W.
  • mindrobotsmindrobots Posts: 6,506
    edited 2011-06-30 07:21
    Jazzed,

    Sign me up for testing/documenting/sweeping up afterwards. I'm not a professional micro-engineer and I'm not a GCC person at all but I've been programming, using tools, reading instructions and trying to make all different sorts of computer things work for a long, long time. Maybe I can contribute somewhere along the line.

    Thanks!
  • DaveJensonDaveJenson Posts: 375
    edited 2011-06-30 09:54
    I too, would be willing to test in any capacity needed.
  • jazzedjazzed Posts: 11,803
    edited 2011-06-30 18:03
    Thanks ctwardell, mindrobots, and DaveJenson. I look forward to the time when you and everyone else can enjoy Propeller GCC. Your effort and feedback will help us all.
  • jmspaggijmspaggi Posts: 629
    edited 2011-06-30 19:07
    jazzed wrote: »
    JM, I got ya :) - GCJ might be a hard sell though.

    I will already be happy with GCC anyway ;)

    JM
  • jazzedjazzed Posts: 11,803
    edited 2011-07-18 15:04
    Hello Everyone.

    There has been an official change in the Propeller GCC project.

    We are targeting Propeller 1 (today's PX832A) for GCC first.
    Then we will port that to Propeller 2.

    This makes sense because PX832A hardware is shipping now.
    Customers who demand GCC will get it for both chips.

    GCC porting work is in progress.

    Daniel Harris at Parallax is now on the GCC project.

    Thanks!
    --Steve
  • jmspaggijmspaggi Posts: 629
    edited 2011-07-18 15:47
    The more you are talking about it, the better it is ;)

    Do you have any ETA for the first beta release?

    JM
  • RossHRossH Posts: 5,549
    edited 2011-07-18 15:50
    jazzed wrote: »
    Hello Everyone.

    There has been an official change in the Propeller GCC project.

    We are targeting Propeller 1 (today's PX832A) for GCC first.
    Then we will port that to Propeller 2.

    This makes sense because PX832A hardware is shipping now.
    Customers who demand GCC will get it for both chips.

    GCC porting work is in progress.

    Daniel Harris at Parallax is now on the GCC project.

    Thanks!
    --Steve

    A very sensible change. I always thought that it was a bit ambitious to start writing a code generator for a chip that doesn't even have an instruction set yet. Also, we know quite a lot about how to do LMM on the Prop I, so you're not just shooting in the dark and hoping things work out when the chip is eventually released.

    Ross.
  • jazzedjazzed Posts: 11,803
    edited 2011-07-18 19:09
    RossH wrote: »
    A very sensible change. I always thought that it was a bit ambitious to start writing a code generator for a chip that doesn't even have an instruction set yet. Also, we know quite a lot about how to do LMM on the Prop I, so you're not just shooting in the dark and hoping things work out when the chip is eventually released.

    Ross.
    I agree with almost all of this. I was an advocate of doing Prop I from the beginning. Inertia :)
  • RossHRossH Posts: 5,549
    edited 2011-07-18 20:16
    jazzed wrote: »
    I was an advocate of doing Prop I from the beginning. :)

    Yes, I always wondered about that particular decision - especially since 90% of the work has already been done for you on the Prop I (sorry, couldn't resist! :smile:)

    Ross.
  • jazzedjazzed Posts: 11,803
    edited 2011-07-18 20:42
    RossH wrote: »
    Yes, I always wondered about that particular decision - especially since 90% of the work has already been done for you on the Prop I (sorry, couldn't resist! :smile:)

    Ross.
    Yes. And it would have been even better if you had started with the right tool chain ;-)
  • TubularTubular Posts: 4,726
    edited 2011-07-19 00:10
    Hey Steve,

    Just a quick note to say thanks for the regular updates.

    I'm really at "user" level for this sort of thing so not much use contributing to the development path, but I know enough to like the direction its heading.

    cheers
    Lachlan
  • Heater.Heater. Posts: 21,230
    edited 2011-07-19 02:08
    On the one hand:
    Bah, someone is trying to make Zog redundant. It won't work I tell you.
    On the other hand:
    Sounds like a emminantly sensible idea. Not very practically useful on the Prop I but a solid stepping stone to the goal.
  • __red____red__ Posts: 470
    edited 2011-07-19 05:09
    jazzed wrote: »
    Hello Everyone.
    Customers who demand GCC will get it for both chips.

    I think this is key.

    We keep calling the new chip under development "Propeller 2" which makes people think that it's going to replace our original prop. It's kinda interesting we do that since we don't do the same with the PIC number 76 or AVR number 432 :-)

    Having both chips use the same toolchain means that I can choose the right hardware for a specific design without having to worry about using different languages or toolchains.
  • Bill HenningBill Henning Posts: 6,445
    edited 2011-07-19 06:55
    I agree, it is a good idea...

    don't worry, Zog will still have a place - for some programs, small code size is more imporant than raw speed :)
    Heater. wrote: »
    On the one hand:
    Bah, someone is trying to make Zog redundant. It won't work I tell you.
    On the other hand:
    Sounds like a emminantly sensible idea. Not very practically useful on the Prop I but a solid stepping stone to the goal.
  • RossHRossH Posts: 5,549
    edited 2011-07-19 15:41
    I agree, it is a good idea...

    don't worry, Zog will still have a place - for some programs, small code size is more imporant than raw speed :)

    And when you do need raw speed, Catalina will be there :)

    Ross.
  • Bill HenningBill Henning Posts: 6,445
    edited 2011-07-19 16:37
    I think Catalina is great; and given how hard you work on it I KNOW it will get even better :)

    I also suspect that Catalina will beat the GCC port on compilation speed as LCC is leaner/meaner then GCC/bintools.
    RossH wrote: »
    And when you do need raw speed, Catalina will be there :)

    Ross.
Sign In or Register to comment.