1,9 → 1,20 |
/**** BootLoader for PIC16F887 |
|
Ussage: |
ascii-xfr -s -v -l 100 ./bltest.hex > /dev/ttyUSB0 |
|
ascii-xfr is part of 'minicom' package |
|
Add "uf\n\r" to the first line of .HEX. or use this script: |
echo uf > /dev/ttyUSB$1 |
ascii-xfr -s -v -l 100 ./bltest.hex > /dev/ttyUSB$1 |
|
Add "uf\n\r" to the first line of .HEX . |
|
Or add "uf\n\r" and add some dummy characters at end or begin of each line (for 100 ms delay) and use: |
cp ./bltest.hex > /dev/ttyUSB0 |
|
For adding characters you can use this: |
echo uf > /dev/ttyUSB0; sed 's/^/pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp/' ./bltest.hex > /dev/ttyUSB0 |
|
*/ |
|
#define ID "$Id$" |