Shop OBEX P1 Docs P2 Docs Learn Events
Propeller Activity Board. — Parallax Forums

Propeller Activity Board.

electromanjelectromanj Posts: 270
edited 2013-05-24 15:54 in Propeller 1
Hi folks. I was just wondering what the status was on the activity board that was mentioned during the live feed from the expo, as well as the new tutorials for PropGCC.
Thanks,
traVis.

Comments

  • Ken GraceyKen Gracey Posts: 7,392
    edited 2013-05-06 19:01
    Hey Travis,

    Tomorrow our marketing team will start making the announcements around this hardware and the associated program.

    [sales guy ON]. Order early, order many Propeller Activity Boards. They're going to be out of stock for a long time as our production tries to keep up. As a backup you can also run the programs with the PropBOE, the flagship. [sales guy OFF].

    But the program they'll announce isn't about the Propeller Activity Board, though it's a necessary ingredient. The real purpose is to educate all of our customers in multicore programming in a easy-to-use C language. The future is here and you'll be part of it.

    Ken Gracey
  • NWCCTVNWCCTV Posts: 3,629
    edited 2013-05-06 20:16
    Ah ha!!! So, Does this mean we can use standard C for programming, or is there going to be a "Parallax" verion of C?
  • 4x5n4x5n Posts: 745
    edited 2013-05-06 20:28
    NWCCTV wrote: »
    Ah ha!!! So, Does this mean we can use standard C for programming, or is there going to be a "Parallax" verion of C?

    Depends on how you look at it. The "C" is standard but libraries with specialized functions have been written.
  • frank freedmanfrank freedman Posts: 1,983
    edited 2013-05-06 20:53
    Can I get the C parts w/o the activity board? Got just the toy I want to play with coming in the next few days.......
  • NWCCTVNWCCTV Posts: 3,629
    edited 2013-05-06 21:02
    The "C" is standard
    So I can use any C like MS, etc.? Or MS Visual C#????
  • David BetzDavid Betz Posts: 14,516
    edited 2013-05-06 21:15
    4x5n wrote: »
    Depends on how you look at it. The "C" is standard but libraries with specialized functions have been written.
    There are standard C libraries supplied with Propeller C but there are also special "simple" libraries provided as part of the education offering. Either can be used separately or even together.
  • 4x5n4x5n Posts: 745
    edited 2013-05-06 21:30
    David Betz wrote: »
    There are standard C libraries supplied with Propeller C but there are also special "simple" libraries provided as part of the education offering. Either can be used separately or even together.

    That's of course correct and I didn't mean to imply any different.
  • 4x5n4x5n Posts: 745
    edited 2013-05-06 21:39
    NWCCTV wrote: »
    So I can use any C like MS, etc.? Or MS Visual C#????

    Hard to know. Will the ms C compiler cross compile C code into pasm or machine code that will run on a propeller? Remember C is a language not a compiler. There is a group (I think it's at least in part funded by Parallax) that's been working on making changes to GCC to allow it to cross compile C for the propeller. It's available for free.

    I don't know of any effort to port a C# compiler to cross compile for the prop.
  • Mike GreenMike Green Posts: 23,101
    edited 2013-05-06 21:54
    The Parallax GCC Propeller compiler has been available as a Beta release for some time now and works quite well. Ross Higson's Catalina C compiler has been available for quite a lot longer time. Both are free to use. There was a commercial C compiler, now no longer on the market, that was the first available. There are no other C compilers for the Propeller that I'm aware of.

    "ms C compiler cross compile" ... No. Compilers don't magically generate code for new machines. There's a lot of work involved, particularly to get efficient code out, and a lot of work to write the basic libraries that need to be in assembly for that particular machine and operating system along with modifications for other libraries written in C, but specific to whatever operating system is used.
  • 4x5n4x5n Posts: 745
    edited 2013-05-06 22:07
    Mike,

    Thanks for mentioning Catalina C. It had slipped my mind. I apologize to Ross for forgetting about it and for any confusion I may have caused.
  • SRLMSRLM Posts: 5,045
    edited 2013-05-06 22:09
    For the most part, you'll be able to use any C code that you find online that uses the standard C library, or no library functions at all. In particular, most algorithms coded in C would probably work without modification.
    Can I get the C parts w/o the activity board? Got just the toy I want to play with coming in the next few days.......

    You don't need the activity board to use PropGCC or any of the educational material. The activity board just fulfills the need for a standard platform to base the examples on, but it doesn't have anything special in the hardware.
  • NWCCTVNWCCTV Posts: 3,629
    edited 2013-05-06 22:31
    So from a learning perspective, would it be best to use SimpleIDE or PropGCC? In reading up on the Activity Board, it seems as though they are steering you towards SimpleIDE. I have programmed in C, C++ and C# but it has been a while and I want to start fresh so I do not confuse myself.
  • dgatelydgately Posts: 1,630
    edited 2013-05-06 23:01
    NWCCTV wrote: »
    So from a learning perspective, would it be best to use SimpleIDE or PropGCC? In reading up on the Activity Board, it seems as though thet are steering you towards SimpleIDE. I have programmed in C, C++ and C# but it has been a while and I want to start fresh so I do not confuse myself.

    PropGCC IS the compiler used by SimpleIDE for compiling C & C++ code. GCC has become a standard open-source compiler that has been ported to many systems and architectures. propgcc is a recent port developed for the propeller chip. You can download propgcc itself and use it from the command line on Windows, Mac OS X and Linux. It will compile your C or C++ sources and with the included propeller-load tool will download the compiled output to your propeller-based board.

    SimpleIDE's installation includes the propgcc compiler, tools and libraries that it also uses to compile and download to your propeller-based board. Propgcc and SimpleIDE work with many (almost all the typical) propeller boards, using config files for each board type. propgcc supports standard C, C++ as well as additional prop-specific features.

    The C example code may have dependence on some of the unique features of several boards. The Prop BOE and Activity board are similar in many but not all aspects, so I expect that most examples will work on either board. Any steering towards SimpleIDE is most likely intended because of the libraries that it includes supporting these boards.

    dgately
  • NWCCTVNWCCTV Posts: 3,629
    edited 2013-05-06 23:10
    @dgately, Thanks for clarifying.
  • __red____red__ Posts: 470
    edited 2013-05-07 07:12
    Strictly speaking, unless the compiler is running on the propeller itself, it is a cross-compiler.
  • IamretiredIamretired Posts: 56
    edited 2013-05-24 12:22
    I can't open the files in Open Source Release. The file types are 'schdoc', 'pcbdoc', 'prjpcb', 'outjob'. Can you help?
    John
  • Mike GreenMike Green Posts: 23,101
    edited 2013-05-24 12:28
    These are the design files for the printed circuit board. You don't need them unless you want to make your own boards.

    'schdoc' - Schematic
    'pcbdoc' - Printed Circuit Board
    'prjpcb' - Project file for Printed Circuit Board
    'outjob' - Job file for board
  • PublisonPublison Posts: 12,366
    edited 2013-05-24 15:54
    Iamretired wrote: »
    I can't open the files in Open Source Release. The file types are 'schdoc', 'pcbdoc', 'prjpcb', 'outjob'. Can you help?
    John

    Looks like Altuim extensions.

    I
    was under the impression all Parallax Open Source was going to be DipTrace. Evidently this is not the case.
Sign In or Register to comment.