Shop OBEX P1 Docs P2 Docs Learn Events
bstc and bstl etc, question — Parallax Forums

bstc and bstl etc, question

T ChapT Chap Posts: 4,223
edited 2011-03-23 13:02 in Propeller 1
Can either of these or some other option take the content of a text file from an editor, compile, program, AND save the .eeprom?

I know that the bstl will program the Prop from a saved binary, but not sure if bstc will do the whole batch.

Comments

  • BradCBradC Posts: 2,601
    edited 2010-09-14 21:24
    T Chap wrote: »
    but not sure if bstc will do the whole batch.

    Yes it will.

    -p[012] to load the prop and -e to save the eeprom.
  • T ChapT Chap Posts: 4,223
    edited 2010-09-14 23:50
    Yes, I see the manual you posted. Many thanks Brad, this is exactly what I needed.
  • T ChapT Chap Posts: 4,223
    edited 2010-09-15 19:33
    Brad, I have the latest bstl and still can't find higher com ports. I can load to com3 but not 22. XP pro. I thought this as solved a while back. I may try to delete the ports and get the number back down if possible.

    Solved: went into device manager and assinged port 22 to port 2, now loads.

    After reading over the site, it says to always use the files with the link, but actually the linked files are not the latest snap shots with the updates. So with the snapshots the higher ports are reachable.
  • BradCBradC Posts: 2,601
    edited 2010-09-16 06:25
    Ahh, yeah it's been a while since I cut a release compiler.
  • T ChapT Chap Posts: 4,223
    edited 2010-09-16 15:03
    Using the CMD window, -h produces the response. Using the GUI and buttons to send strings, I can program the ram or eeprom with bstl. When I run -h in the GUI and attempt to get a response back in a text pane, there is no response. But, when I run a string "dir" instead of -h, I can produce the directory. Is there some reason that the app cannot retrieve the help list when it can retrieve the directory easily? Thanks

    Edit:
    Many programs don't output to stdout. The cmd window knows how to retrieve their output and display it as if it had been printed to stdout, but it really isn't. Shell can't do that.

    Someone gave this advice on another forum.


    Using -h on bstc DOES get a response, but -h on bstl does not get a response. Perhaps Brad has a different method of returning the output.

    No big deal, since bstc is the critical requirement for feedback anyway.
  • PropGuyPropGuy Posts: 1
    edited 2011-03-23 13:02
    Does BSTL handle binary files greater than 32K?

    My hardware has a 64K EEPROM. I'd like to take an executable binary built with bstc (which is < 32K), append a data file to it, and then store that in EEPROM. The combined result is greater than 32K.

    I tried this with bstl, and it gave me a "binary checksum invalid" error.
Sign In or Register to comment.