Documentation‎ > ‎Tutorials‎ > ‎

Load PropGCC Code Images From the Command Line

This page details how to use the PropellerGCC tools to load a pre-compiled image. This is useful for teams where individuals may need to update the code on their Propeller based device but don't want to install and learn the full PropGCC tool chain.

With this tutorial you will be able to load .binary, .eeprom and .elf files to non-volatile EEPROM memory.

For a complete description of the functionality available in propeller-load take a look here.

Prerequisites

1. You should have a compiled .binary, .eeprom, or .elf file in your home folder.
2. A Propeller board, connected to your computer.
3. The FTDI drivers installed. If you have a package manager (Linux users), then you should use that. Otherwise, you can download the drivers from here.

Windows

1. Download the latest PropellerGCC package for your platform from the download pages here.
2. Extract the zip.
3. From the extracted files copy /parallax/bin/propeller-load to your home folder.
4. Open up a command terminal and type in the following:
$ propeller-load.exe -e main.elf

You should get output similar to:
Propeller Version 1 on COM3
Loading main.elf to EEPROM via hub memory
23068 bytes sent
Verifying RAM ... OK
Programming EEPROM ... OK
Verifying EEPROM ... OK

Mac/Linux

1. Download the latest PropellerGCC package for your platform from the download pages here.
2. Extract the zip.
3. From the extracted files copy /parallax/bin/propeller-load to your home folder.
4. Open up a command terminal and type in the following:
user@desktop:~$ ./propeller-load -e main.elf

You should get output similar to:
Propeller Version 1 on /dev/ttyUSB0
Loading main.elf to EEPROM via hub memory
22944 bytes sent                  
Verifying RAM ... OK
Programming EEPROM ... OK
Verifying EEPROM ... OK



Comments