Shop OBEX P1 Docs P2 Docs Learn Events
Source code for BST — Parallax Forums

Source code for BST

wpdwpd Posts: 10
edited 2012-08-27 02:54 in Propeller 1
Is the source code for BST available anywhere? I notice that the last time http://www.fnarfbargle.com/bst.html was updated was 23/04/2010, which is eons ago in computer years. I am asking because I have the 5V FTDI USB<->Serial cable that brings out RTS instead of DTR to the reset pin on my propeller board. I would like to modify it to use RTS to reset the board instead of DTR. (At the moment, I'm using the propeller-load tool, but the terminal emulation in that tool is not sufficient to my needs.)

I would also like to modify the compiler so that it produces more informative error messages than "Binary too large for RAM by 1 Longs".

Thanks

Feel free to tell me that propeller-gcc compiles spin code just as well as it does C code, I'll go down that path instead.

--wpd

Comments

  • Heater.Heater. Posts: 21,230
    edited 2012-08-26 05:53
    wpd,

    No the BST source code is not available. Sadly BradC has been absent from here for a long time.

    propeller-gcc does not compile Spin code. BUT I would suggest trying out SimpleIDE. Have a search for it on the Propeller GCC Beta thread.
    The SimpleIDE package include the PropTool/BST like editor, the properller GCC compiler and a spin compiler. It has options for selecting DTR/RTS for prop reset.
  • wpdwpd Posts: 10
    edited 2012-08-26 14:02
    Thanks. I have tracked down (and installed) SimpleIDE. I was hoping to fix a few "gotchas" I've run into with bstc and to increase my understanding of the propeller chip by wandering through the source code for bstc.

    --wpd
  • Heater.Heater. Posts: 21,230
    edited 2012-08-26 15:54
    What "gotchas" have you found in BST? I have used it for ages with no problems.
  • wpdwpd Posts: 10
    edited 2012-08-26 17:43
    The "gotchas" are all related to my ignorance regarding the propellor chip, and programming it. (See http://forums.parallax.com/showthread.php?142048-Binary-too-large-for-RAM-by-1-Longs-(again)). Basically, it would have been helpful to me to get get more informative error messages (and less disinformative reports of the amount of code space used) when I added one extra byte to the code.

    Having the source code would have helped me track down my issue more quickly (and with less traffic on the forum). maybe.

    --wpd
  • SapiehaSapieha Posts: 2,964
    edited 2012-08-27 02:54
    Hi wpd.

    In BST You can enable Compiled listing file --- And can track in that way every BYTE used in Yours program --

    wpd wrote: »
    The "gotchas" are all related to my ignorance regarding the propellor chip, and programming it. (See http://forums.parallax.com/showthread.php?142048-Binary-too-large-for-RAM-by-1-Longs-(again)). Basically, it would have been helpful to me to get get more informative error messages (and less disinformative reports of the amount of code space used) when I added one extra byte to the code.

    Having the source code would have helped me track down my issue more quickly (and with less traffic on the forum). maybe.

    --wpd
Sign In or Register to comment.