Loader.exe coming for .elf?
SRLM
Posts: 5,045
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
https://code.google.com/p/propgcc/downloads/list
Comments
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/
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.
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:
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
Cool! I've sent it off to my testers to give a shot.
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.
$ 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
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.