/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/bootloader887/bloader.c
1,20 → 1,9
/**** 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
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
Add "uf\n\r" to the first line of .HEX .
*/
 
#define ID "$Id$"