Data Sheet
where HEXFILE is the full or relative path to the HEX file you compiled. When you run this command, the
output should look something like:
Bootloader: Pololu P-Star 25K50 Bootloader
Serial number: 00108214
Erasing flash...
Progress: |##########################################################| Done.
Writing flash...
Progress: |##########################################################| Done.
Erasing EEPROM...
Progress: |##########################################################| Done.
The -w option tells p-load to write the flash and EEPROM memories with the values specified in the HEX file,
and then restart the device so that the application can run. The Pololu USB Bootloader Utility has many other
options available, and you can see them by running p-load with no arguments.
The p-load utility automatically looks for a supported bootloader connected to the computer via USB and will
operate on that bootloader. If you have multiple P-Stars in bootloader mode connected to your computer, you
must use the -d option followed by the serial number of the device to specify which bootloader you want to
write to.
To write to EEPROM, data should be placed in the HEX file starting at address 0xF00000 (0xF00000
corresponds to the first byte of EEPROM). This is compatible with the way XC8 treats EEPROM.
Pololu P-Star 25K50 Micro User’s Guide © 2001–2017 Pololu Corporation
5. Getting started Page 20 of 38