Shop OBEX P1 Docs P2 Docs Learn Events
Propeller loader for Java — Parallax Forums

Propeller loader for Java

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.

Comments

  • macca wrote: »
    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.
    Nice! However, to be fair, I imagine you based your code mostly on PLoadLib.c and that was written by jazzed.

Sign In or Register to comment.