Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:easyloader [2017/02/18 00:53] – [Usage] darronprojects: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, Wellington and Oxford boot loaders ====
 <wrap right> <wrap right>
 {{:projects:oxford2.jpg?200}} {{:projects:oxford2.jpg?200}}
 </wrap> </wrap>
  
-Easy-loader uploads application hex files to either the [[:projects:wellington:|Wellington]] boot loader +Easy-loader uploads application hex files to either the [[:projects:cowboy|Cowboy]] boot loader for enhanced PIC12/PIC16, [[:projects:wellington:|Wellington]] boot loader for PIC18 or [[:projects:oxford:|Oxford]] boot loader for dsPIC/PIC24.
-for PIC18 or [[:projects:oxford:|Oxford]] boot loader for dsPIC/PIC24.+
  
 Easy-loader also has a number of options to interrogate the boot loader to Easy-loader also has a number of options to interrogate the boot loader to
Line 31: Line 30:
  
 Options: Options:
- -a   arduino (DTR + CAP) reset + -a     arduino (DTR + CAP) reset 
- -b N use TTY baud rate N + -b N   use TTY baud rate N 
- -d   hang up DTR after serial port open + -d     hang up DTR after serial port open 
- -e   read EEPROM + -e     read EEPROM 
- -f   read flash + -f     read flash 
- -h   HELLO only + -h     HELLO only 
- -i N use CAN bus message id N + -i N   use CAN bus message id N 
- -k N send BRK for N ms after serial port open + -k N   send BRK for N ms after serial port open 
- -n   do not run firmware on exit + -l H|R log serial input when done (H = hex, R = raw) 
- -p   run pickle pctrl to reset device + -n     do not run firmware on exit 
- -q   quiet + -p     run pickle pctrl to reset device 
- -r   hang up RTS after serial port open + -q     quiet erase/write 
- -s   simulate erase/write + -r     hang up RTS after serial port open 
- -t   time to wait in ms after serial port open + -s     simulate erase/write 
- -v   verify + -t     time to wait in ms after serial port open 
- -w N winklepicker mode N (1 or 2) reset+ -v     verify 
 + -w N   winklepicker mode N (1 or 2) reset 
 + -x     drain serial output after each transmitted byte 
 + -z A   erase page at address A
  
 Version: 4 Version: 4
Line 52: Line 54:
  
 The device can either be a serial interface of CAN Bus interface. Support for The device can either be a serial interface of CAN Bus interface. Support for
-CAN Bus is boot loader dependent and this is not available for Oxford boot loader +CAN Bus is platform and boot loader dependent and is only available for Linux and the Wellington boot loader at present.
-at present.+
  
 === Example === === Example ===
  
-Here a device attached to RPi is first reset using `pctrl restore' and the+Here a device (which is attached to an RPiis reset using `pctrl restore' and then
 a hex file image is uploaded at 57600 baud. a hex file image is uploaded at 57600 baud.
  
Line 63: Line 64:
 easy-loader -p -b 57600 /dev/ttyAMA0 myapp.hex easy-loader -p -b 57600 /dev/ttyAMA0 myapp.hex
 </code> </code>
 +