Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
projects:easyloader [2017/02/08 21:42]
darron
projects:easyloader [2020/10/20 13:38]
darron [Example]
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:
- -b N use TTY baud rate N + -a     arduino (DTR + CAP) reset 
- -d   hang up DTR after serial port open + -b N   use TTY baud rate N 
- -e   read EEPROM + -d     hang up DTR after serial port open 
- -f   read flash + -e     read EEPROM 
- -h   HELLO only + -f     read flash 
- -i N use CAN bus message id N + -h     HELLO only 
- -  do not run firmware on exit + -i N   use CAN bus message id N 
- -p   run pickle pctrl to reset device + -k N   send BRK for N ms after serial port open 
- -q   quiet + -l H|R log serial input when done (H = hex, R = raw) 
- -r   hang up RTS after serial port open + -n     do not run firmware on exit 
- -s   simulate erase/write + -p     run pickle pctrl to reset device 
- -t   time to wait in seconds after serial port open + -q     quiet erase/write 
- -v   verify+ -r     hang up RTS after serial port open 
 + -s     simulate erase/write 
 + -t     time to wait in ms after serial port open 
 + -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: 2+Version: 4
 </code> </code>
  
 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 RPi is first reset using `pctrl restore' and after
 a hex file image is uploaded at 57600 baud. a hex file image is uploaded at 57600 baud.
  
Line 60: Line 64:
 easy-loader -p -b 57600 /dev/ttyAMA0 myapp.hex easy-loader -p -b 57600 /dev/ttyAMA0 myapp.hex
 </code> </code>
 +