Propeller loader for Java
macca
Posts: 783
in Propeller 1
Hi,
I don't know if a loader object for Java already exists so I wrote one and tought of sharing it with the community.
In the attachments you'll find:
PropellerLoader.java is the loader itself, it can load a binary image files or a byte buffer to the propeller attached to a serial port. It depends on the jSSC (Java Simple Serial Comunication) library, attached for completeness. The sample implementation mimics the propeller-load program output.
PropellerElfFile.java is a simple Elf file reader that can be used to extract binary images from propgcc compiled elf files.
The programs are intended to be integrated into existing tools rather than used as stand alone programs, so there isn't a command line parsing nor file type auto detection or other fancy features.
Both programs are based on the propeller-load code by David Betz.
Enjoy,
Marco.
I don't know if a loader object for Java already exists so I wrote one and tought of sharing it with the community.
In the attachments you'll find:
PropellerLoader.java is the loader itself, it can load a binary image files or a byte buffer to the propeller attached to a serial port. It depends on the jSSC (Java Simple Serial Comunication) library, attached for completeness. The sample implementation mimics the propeller-load program output.
PropellerElfFile.java is a simple Elf file reader that can be used to extract binary images from propgcc compiled elf files.
The programs are intended to be integrated into existing tools rather than used as stand alone programs, so there isn't a command line parsing nor file type auto detection or other fancy features.
Both programs are based on the propeller-load code by David Betz.
Enjoy,
Marco.
Comments