Shop OBEX P1 Docs P2 Docs Learn Events
Parallax Assembler or C Compiler for P24 or PX — Parallax Forums

Parallax Assembler or C Compiler for P24 or PX


Anybody know if there are any of these in some dusty corner of the Parallax archives

you could still get to run on a current PC?

I know there is an SX Assembler just wondering if they ever made one for higher level Stamps2's.

Comments

  • jmgjmg Posts: 15,140
    edited 2017-06-01 20:18
    Anybody know if there are any of these in some dusty corner of the Parallax archives

    you could still get to run on a current PC?

    I know there is an SX Assembler just wondering if they ever made one for higher level Stamps2's.

    Every Microcontroller on the planet, usually has an assembler.
    The question is less about Assembler availability, and more about how to usefully get the code into the MCU.
    Any part that is not OTP, could be erased and reprogrammed with any valid code, but then you have lost what makes a Stamp, a Stamp....

    If you need ASM and a Stamp form factor, you are probably smarter to swap in a newer, better MCU into the same PCB form factor, but that is a new PCB design.

  • microcontrollerusermicrocontrolleruser Posts: 1,194
    edited 2017-06-01 20:54

    Thanks.

    I'm trying to find out if they ever made these.

    I think their are a bunch of languages for the Basic Stamp.

    Or am I thinking of something else. The Javelin Stamp or something?



  • There's only one language for the BASIC Stamps: PBASIC.

    -Phil

  • I will have to double check what kind of chip is underneath

    before deciding to overwrite it.

    If it is a Ubicom that would make it unusable. No language to program it in now.

    If it is a PIC C series that makes it unusable. New programmers won't program EPROM chips.

    Only worthwhile if it is a PIC F series with flash programmable memory.

    If it is kept Stamp will keep it to pull out once and a while and putter with.
  • jmgjmg Posts: 15,140
    Only worthwhile if it is a PIC F series with flash programmable memory.
    Note that PIC16F57 needs 12V Vpp applied to MCLR/VPP, as in http://www.microchip.com/forums/m613050.aspx


  • Thanks.

    Did not know you could program C series PIC's with a PICKit3.

    Probably keep any Stamps the way they are.

    Any circuits can be duplicated with a PIC.

    I think it's the SPIN Stamp and the Propellor that have

    other languages users have come up with.

    Probably a Basic for Progellor.
  • Remember that there's no going back. Once you overwrite the PBasic interpreter, you'd have to send the Stamp back to Parallax to have them restore the PBasic interpreter.
  • Mike GreenMike Green Posts: 23,101
    edited 2017-06-02 03:21
    The Spin Stamp is just a Propeller on a Stamp pinout module (with 3.3V logic I/O ... not 5V)
    You could use C or Spin or PAsm or Forth or FemtoBasic or PropBasic

  • Mike

    Great!

    'You could use C or Spin or PAsm or Forth or FemtoBasic or PropBasic '

    Okay. Biting my tongue on any 'follow up' questions.




  • Mike Green wrote: »
    The Spin Stamp is just a Propeller on a Stamp pinout module (with 3.3V logic I/O ... not 5V)
    You could use C or Spin or PAsm or Forth or FemtoBasic or PropBasic
    The Spin Stamp is no longer available. I guess the closest substitute is the PropMini.


  • David

    Thanks.

  • jmgjmg Posts: 15,140
    David Betz wrote: »
    The Spin Stamp is no longer available. I guess the closest substitute is the PropMini.

    Why not FLiP ?

  • jmg wrote: »
    David Betz wrote: »
    The Spin Stamp is no longer available. I guess the closest substitute is the PropMini.

    Why not FLiP ?
    That would be a good choice as well but it's physically bigger than the SpinStamp/PropMini. I thought he was looking for something that was stamp sized.


  • 'looking for something that was stamp sized.'

    Not hardware. Software.

    Did Parallax ever make a C Compiler for Stamp or PIC?

    Did they ever make an Assembler for Stamp or PIC?

    What got me going was seeing an old Parallax PGM PIC programmer(hardware).

    Parallax SX Compiler is a very good piece of software.

    So is tutorial that goes with it.

    Parallax bunch in early PIC days were a sharp little bunch.


  • Found it!

    http://www.tech-tools.com/CVASM16.htm

    This is the outfit that bought it from Parallax.

    Tip: Will not run on Windows 7 Pro 64bit.

    I am going to install Windows 7 Pro 32bit on it's own hard drive to get it going.

  • 'looking for something that was stamp sized.'

    Not hardware. Software.

    Did Parallax ever make a C Compiler for Stamp or PIC?

    Did they ever make an Assembler for Stamp or PIC?

    What got me going was seeing an old Parallax PGM PIC programmer(hardware).

    Parallax SX Compiler is a very good piece of software.

    So is tutorial that goes with it.

    Parallax bunch in early PIC days were a sharp little bunch.
    Microchip has a C compiler and assembler for the PIC. I doubt it's even possible to make a C compiler or even an assembler for the Stamp since it runs a BASIC VM.

  • microcontrollerusermicrocontrolleruser Posts: 1,194
    edited 2017-06-03 00:56
    David

    'BASIC VM.'

    What's that?

    How does it work please.

    Do you have some links to their C compilers. Not finding it Googling.
  • As far as I know, Parallax has never released a description of the VM in the BASIC Stamp. That's their "special sauce".

  • I get it now.

    ' I doubt it's even possible to make a C compiler or even an assembler for the Stamp'

    Better to you wholesale replace Basic Stamp with PIC and just use existing compilers.

    Is that Basic Stamp module dip socket PIC size?

    I have always thought it is too wide.
  • Here is a link to the MicroChip tools for PIC.

    http://www.microchip.com/mplab/compilers

  • MPLAB.

    This is my break from that.

    SFR's.W register.Constants. Big fun!:)

    Does not look like a PIC will fit in there.

    Width is 600ml probably like PIC16F59 40 pin and whatnot.

    24 pins? Maybe a 20 pin PIC will fit. Then there is the pinout issue.

    'Can you say Prroprietary?:)

    As of right now. No go.
  • microcontrollerusermicrocontrolleruser Posts: 1,194
    edited 2017-06-03 01:47
    Any body have a link to the last known location of Parallax C Compiler for PIC?

    Maybe there is a backdoor to Basic Stamp in it.

    Reason I am looking is Parallax has a nice touch with documentation.

    With MPLAB is more of an 'Anti-touch'.

    Written like they are running scared from liability or something.

    'Our ______ wouldn't work because of what you wrote and it cost us 10's of thousands of dollar'

    Sounds like a personal problem to me.:)
  • Any body have a link to the last known location of Parallax C Compiler for PIC?

    Maybe there is a backdoor to Basic Stamp in it.
    Parallax never created a C compiler for the PIC. The only C compiler they've ever created as far as I know is the one I worked on for the Propeller.


  • You wrote Microchip and I was seeing Parallax.

    Yes they did make an Assembler.

    It's in that link above and it's available today but they sold it awhile ago.

    Obviously it does not say Parallax on it anymore.

  • The point is they could do it if they wanted to.

    In my opinion they probably should have or should now.

    MPLAB IDE's are no walk in the park.

    It's well known it's a long and steep learning curve.
  • jmgjmg Posts: 15,140
    MPLAB.

    This is my break from that.

    If you want to avoid MPLAB, there are also other assemblers.
    Google finds this
    https://board.flatassembler.net/topic.php?t=18607
    and I experimented with fasmg for P1 Opcodes, with help from the fasmg author, as it has powerful but nor-trivial macro engine.
    Width is 600ml probably like PIC16F59 40 pin and whatnot.
    24 pins? Maybe a 20 pin PIC will fit. Then there is the pinout issue.
    It is unlikely the Stamp cloned any real MCU pinout, but if you have stamp sockets out there to fill, and enough volume, you could make an equivalent PCB with your choice of MCU.

    Digikey show 13,813 active/stocked MCUs, so there are a lot to choose from ;)
    ( Some are 5V operation with USB bootloaders )

  • Snapped out of it and remember the goal here.

    Will get current Parallax Assembler running.

    It is now Tech Tools Assembler.

    Will not run on Win 7 and probably later.

    Will install Windows 2000 32 bit on it's own hard drive and see if Tech Tools runs.

    I think it is Basic and Assembler for PIC.

    Very historic.:) The ancestor of PBasic.


  • Conclusion:

    Just have to use Stamp Editor better Stamps: BS2e, BS2p24 and 40, BS2Pe, BS2PX

    The SX editor is the way to go for learning the most about MCU's.

    Actually a darn good product if it wasn't so old.
Sign In or Register to comment.