Stand-Alone Binary Image Loader

in Propeller 1
I have a client in TX that frequently asks for code updates that I send as a binary image. It would be nice if there was a simple loader program (Windows) that they could use to download the new image into their board -- they always get nervous when opening Propeller Tool. Essentially, I'd love the dialog we get with F8 as a standalone program.
Thanks!
Thanks!
Comments
https://forums.parallax.com/discussion/123664/binary-executable-file/p1
eleventh post under hover1
Mike
https://www.parallax.com/downloads/propellent-library-and-executable-source-code
https://www.parallax.com/downloads/propeller-p8x32a-software
I should have been clear: I'd like nice, simple GUI that allows my client to select a file and then handles the download to RAM and EEPROM. I may be forced to build a little app (locking at Lazarus) that can use and external loader (like BSTL).
With these installation packages, I wonder if it's possible to make it omit selecting the installation folder and all the other stuff that installation packages typically do.
-Phil
https://forums.parallax.com/discussion/142444/propellent-tricks
-Phil
I see your need for a gui,,,, can it be that hard to make one for ....
I must mention the non-gui tool here, since no one has yet... (MIchael actually did, but proploader, is a single executable, no other programs or files are required)
PropLoader ! (wifi support also!)
Its not a GUI yet, but its active in development for the Propeller, AND WIFI.. ALSO!
Parallax has already provided you with the code, i would imagine it would be easy to code a VB front end for it.... (mabee, don't know how involved that is.)
https://github.com/parallaxinc/PropLoader
https://github.com/parallaxinc/PropLoader/releases
https://github.com/parallaxinc/PropLoader/releases/download/v1.0-37/proploader-win.zip
PropLoader v1.0-37 (2018-03-31) usage: proploader [options] [<file>] options: -b <type> select target board and subtype (default is 'default:default') -c display numeric message codes -D var=value define a board configuration variable -e program eeprom (and halt, unless combined with -r) -f <file> write a file to the SD card -i <ip-addr> IP address of the Parallax Wi-Fi module -I <path> add a directory to the include path -n <name> set the name of a Parallax Wi-Fi module -p <port> serial port -P show all serial ports -r run program after downloading (useful with -e) -R reset the Propeller -s do a serial download -t enter terminal mode after the load is complete -T enter pst-compatible terminal mode after the load is complete -v enable verbose debugging output -W show all discovered wifi modules -? display a usage message and exit file: binary file to load (.elf or .binary) Target board type can be either a single identifier like 'propboe' in which case the subtype defaults to 'default' or it can be of the form <type>:<subtype> like 'c3:ram'. Module names should only include the characters A-Z, a-z, 0-9, or '-' and should not begin or end with a '-'. They must also be less than 32 characters long. Variables that can be set with -D are: clkfreq clkmode reset baudrate rxpin txpin tvpin loader-baud-rate fast-loader-baud-rate program-baud-rate sdspi-do sdspi-clk sdspi-di sdspi-cs sdspi-clr sdspi-inc sdspi-start sdspi-width spdspi-addr sdspi-config1 sdspi-config2 Value expressions for -D can include: rcfast rcslow xinput xtal1 xtal2 xtal3 pll1x pll2x pll4x pll8x pll16x k m mhz true false an integer or two operands with a binary operator + - * / % & | or unary + or - or a parenthesized expression.
A few minutes later....
C:\MyPrograms\PropLoader>proploader -s -p COM41 -e -r cylon.binary Opening file 'cylon.binary' Downloading file to port COM41 1488 bytes sent Verifying RAM Programming EEPROM ERROR: EEPROM checksum failed ERROR: Download failed
Hmmm... seems easy enough, but something is amiss. I can open and download the same binary image in Propeller Tool without issue.A choice to read-back to a file, or verify against a file, is often very useful in MCU programmers.
Not sure this supports either yet ?
I did a test with my own (simple) binary and serial port, and it worked for me... hmm..
:\>proploader -s -p COM4 -e -r vb.binary Opening file 'vb.binary' Stepping down to 460800 baud Stepping down to 230400 baud Stepping down to 115200 baud Using single-stage download Downloading file to port COM4 1292 bytes sent Verifying RAM Programming EEPROM Verifying EEPROM Download successful! :\>
I tried the same port to see if some bug...
:\>proploader -s -p COM41 -e -r vb.binary Opening file 'vb.binary' Stepping down to 460800 baud Stepping down to 230400 baud Stepping down to 115200 baud Using single-stage download Downloading file to port COM41 1292 bytes sent Verifying RAM Programming EEPROM Verifying EEPROM Download successful! :\>
Odd that yours didn't say stepping down, or single stage download....
https://forums.parallax.com/profile/49778/David Betz might be able to help.?
Did you download the latest version of proploader, (that would explain the missing steps in the output)?
No idea, the binary is generated by PropellerTool --- https://www.parallax.com/sites/default/files/downloads/P8X32A-Setup-Propeller-Tool-v1.3.2.zip
Using F8 ---> Save Binary. So whatever propeller tool does with unused area is what I have.
I think there must have been some intentional obfuscation going on there...
Then, the traffic looked to be encrypted in a strange way for some reason...
Unfortunately the source got broken and I am not sure yet when we will get around to it so you can’t modify the looks of it yet.
We use Synaser serial library, with Lazarus, not seen any issues....
What code size do they download ?
I don't think these other tools can do that, right?