Shop OBEX P1 Docs P2 Docs Learn Events
Loader.exe coming for .elf? — Parallax Forums

Loader.exe coming for .elf?

SRLMSRLM Posts: 5,045
edited 2013-07-12 16:42 in Propeller 1
I noticed that there is now a GUI loader for .binary and .eeprom images. Is there any plans to make it work for .elf as well?

https://code.google.com/p/propgcc/downloads/list

Comments

  • jazzedjazzed Posts: 11,803
    edited 2013-07-04 20:48
    Anything is possible given enough time, enthusiasm, and coffee :)

    Someone requested a simple GUI loader so I hacked one up using tcl/tk.
    It is possible to use the program on all platforms with a little more effort.
    Tcl/tk is even more obscure than PERL, but has a following.

    The source is in https://code.google.com/p/tclbits/
  • David BetzDavid Betz Posts: 14,516
    edited 2013-07-05 14:20
    SRLM wrote: »
    I noticed that there is now a GUI loader for .binary and .eeprom images. Is there any plans to make it work for .elf as well?

    https://code.google.com/p/propgcc/downloads/list
    I keep thinking about making a GUI version of propeller-load and/or p2load but I'm not sure it's really needed since everyone seems to use SimpleIDE and it already knows how to invoke propeller-load.
  • jazzedjazzed Posts: 11,803
    edited 2013-07-05 17:28
    I found that while programming in tcl/tk was pretty painful, it produces relatively very small self-contained binaries.

    I've recently added a logic analyzer to tclbits. GUI source is here SimpleIDE analyzer source is here.
    The project is mostly a test of some SimpleIDE libraries. It is also multi-platform-able. Documentation is TBD LOL.

    attachment.php?attachmentid=102660&d=1373070356
    812 x 530 - 25K
  • David BetzDavid Betz Posts: 14,516
    edited 2013-07-05 19:45
    You're too fast for me Steve! I guess I'll leave the GUI programming to you. :-)
  • jazzedjazzed Posts: 11,803
    edited 2013-07-11 07:42
    SRLM wrote: »
    I noticed that there is now a GUI loader for .binary and .eeprom images. Is there any plans to make it work for .elf as well?

    https://code.google.com/p/propgcc/downloads/list

    What exactly would you need for a .elf file? It would be fairly easy to load a CMM/LMM .elf as a .binary in the existing program.
  • SRLMSRLM Posts: 5,045
    edited 2013-07-11 23:21
    jazzed wrote: »
    What exactly would you need for a .elf file? It would be fairly easy to load a CMM/LMM .elf as a .binary in the existing program.

    Just a simple gui. About the only options that I use regularly are propeller-load's -r, -t, and -e. Maybe with -t a terminal window could pop up?

    But at minimum all I really care about is -e. Something like:

    attachment.php?attachmentid=102749&d=1373610093
    440 x 200 - 17K
  • jazzedjazzed Posts: 11,803
    edited 2013-07-12 03:52
    Loader3.exe added. https://code.google.com/p/propgcc/downloads/detail?name=Loader3.exe

    It will not run a program loaded to .eeprom immediately. You have to reset the chip.
    All source is here: https://code.google.com/p/tclbits/source/browse/trunk/Loader3.tcl

    Wiki for tclbits is here: https://code.google.com/p/tclbits/w/list
  • SRLMSRLM Posts: 5,045
    edited 2013-07-12 04:06
    @Jazzed

    Cool! I've sent it off to my testers to give a shot.
  • SRLMSRLM Posts: 5,045
    edited 2013-07-12 04:18
    And it's cross platform! I just tested it on Ubuntu. A few notes:
    1. I ran it with tclsh Loader3.tcl
    2. I had to make a symlink to propeller-load (ln -s /opt/parallax/bin/propeller-load)

    I have a few requests:
    1. Can it check to see if propeller-load is available, and use that (instead of ./propeller-load)? Or package propeller-load with it?
    2. Can the "Load" text change to something like "Load RAM"?
    3. Can we get a Linux and Mac executable that just needs to be clicked?

    I just want to say thanks. It works great, and is exactly what I need. It's much easier for the uninitiated to use than the command line.
  • jazzedjazzed Posts: 11,803
    edited 2013-07-12 07:22
    Can I recommend this?

    $ svn checkout https://tclbits.googlecode.com/svn/trunk/ tclbits
    $ cd tclbits
    $ sed 's/\"Load\"/\"Load RAM\"/g' Loader3.tcl > Loader4.tcl
    $ cp propeller-load-lin32 propeller-load
    $ ./kit.sh Loader4 propeller-load
    $ ./Loader4

    https://code.google.com/p/tclbits/wiki/Loader?ts=1373626908&updated=Loader
  • JonnyMacJonnyMac Posts: 9,107
    edited 2013-07-12 16:42
    I keep thinking about making a GUI version of propeller-load and/or p2load but I'm not sure it's really needed since everyone seems to use SimpleIDE and it already knows how to invoke propeller-load.

    I'm guilty of making that request of Steve. As developer of Propeller-powered products, I would like to be able to provide updates without forcing a customer to install a developer tool, something that would probably make them nervous. On products with an SD card I have the Propeller reprogram itself, but that option is not always available.
Sign In or Register to comment.