Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
projects:easyloader [2017/02/08 21:06] – created darron | projects:easyloader [2020/10/20 13:39] (current) – [Example] darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | === Upload | + | ==== Easy-loader for Cowboy, Wellington and Oxford boot loaders |
+ | <wrap right> | ||
+ | {{: | ||
+ | </ | ||
- | In this final step you now take the application for your target device | + | Easy-loader uploads |
- | and upload it to the boot loader | + | |
+ | Easy-loader also has a number of options | ||
+ | inspect chip flash and EEPROM content. | ||
+ | |||
+ | === Install === | ||
+ | |||
+ | Easy-loader is installed from source. | ||
- | First install easy-loader. | ||
< | < | ||
hg clone http:// | hg clone http:// | ||
Line 12: | Line 20: | ||
</ | </ | ||
- | Now upload application to target. | + | === 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 / | ||
+ | </ | ||
+ |