/Designs/Measuring_instruments/AWS01A/SW/PIC16F887/bootloader887/bloader.c
1,9 → 1,9
/**** BootLoader for PIC16F887
 
After Reset PIC run this script with number of ttyUSBn:
echo uf > /dev/ttyUSB$1
sleep 5
Ussage:
ascii-xfr -s -v -l 100 ./bltest.hex > /dev/ttyUSB$1
 
Add "uf\n\r" to the first line of .HEX .
*/
 
#define ID "$Id$"
151,9 → 151,10
} data;
 
disable_interrupts(GLOBAL);
/*
putchar('@'); //Start Erase
 
//Erase program. Do not erase "jump to main" and BootLoader.
//Erase program memory is not necessary.
{
int8 i;
for(i=0;i<32;i++)buffer[i]=0xFF;
164,7 → 165,7
putchar('.');
restart_wdt();
}
 
*/
putchar('!'); //Erase completed
 
//---WDT