Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:easyloader [2017/02/08 21:07] – darron | projects:easyloader [2020/10/20 13:39] (current) – [Example] darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Easy-loader for Wellington and Oxford boot loaders ==== | + | ==== Easy-loader for Cowboy, |
<wrap right> | <wrap right> | ||
- | {{: | + | {{: |
</ | </ | ||
+ | |||
+ | Easy-loader uploads application hex files to either the [[: | ||
+ | |||
+ | Easy-loader also has a number of options to interrogate the boot loader to | ||
+ | inspect chip flash and EEPROM content. | ||
=== Install === | === Install === | ||
+ | |||
+ | Easy-loader is installed from source. | ||
< | < | ||
Line 13: | Line 20: | ||
</ | </ | ||
- | === Upload | + | === Usage === |
+ | |||
+ | Typing easy-loader alone will output the following help. | ||
< | < | ||
- | easy-loader | + | USAGE: |
+ | |||
+ | Invalid args. | ||
+ | |||
+ | Options: | ||
+ | | ||
+ | -b N use TTY baud rate N | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | -i N use CAN bus message id N | ||
+ | -k N send BRK for N ms after serial port open | ||
+ | -l H|R log serial input when done (H = hex, R = raw) | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | -w N | ||
+ | | ||
+ | -z A erase page at address A | ||
+ | |||
+ | Version: 4 | ||
</ | </ | ||
+ | |||
+ | The device can either be a serial interface of CAN Bus interface. Support for | ||
+ | CAN Bus is platform and boot loader dependent and is only available for Linux and the Wellington boot loader at present. | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | Here a device (which is attached to an RPi) is reset using `pctrl restore' | ||
+ | a hex file image is uploaded at 57600 baud. | ||
+ | |||
+ | < | ||
+ | easy-loader -p -b 57600 / | ||
+ | </ | ||
+ |