From a991b2f0616cfac586a0603570169ce457172987 Mon Sep 17 00:00:00 2001 From: Mr McHugh Date: Sun, 7 Jul 2013 13:15:55 +1000 Subject: [PATCH] Add support for the PIC16F877 --- ProgramPIC/ProgramPIC.pde | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ProgramPIC/ProgramPIC.pde b/ProgramPIC/ProgramPIC.pde index 06b0052..9d5f358 100644 --- a/ProgramPIC/ProgramPIC.pde +++ b/ProgramPIC/ProgramPIC.pde @@ -103,6 +103,7 @@ const char s_pic16f883[] PROGMEM = "pic16f883"; const char s_pic16f884[] PROGMEM = "pic16f884"; const char s_pic16f886[] PROGMEM = "pic16f886"; const char s_pic16f887[] PROGMEM = "pic16f887"; +const char s_pic16f877[] PROGMEM = "pic16f877"; // List of devices that are currently supported and their properties. // Note: most of these are based on published information and have not @@ -144,7 +145,7 @@ struct deviceInfo const devices[] PROGMEM = { {s_pic16f628, 0x07C0, 2048, 0x2000, 0x2100, 8, 128, 0, 0, FLASH, EEPROM}, {s_pic16f628a, 0x1060, 2048, 0x2000, 0x2100, 8, 128, 0, 0, FLASH4, EEPROM}, {s_pic16f648a, 0x1100, 4096, 0x2000, 0x2100, 8, 256, 0, 0, FLASH4, EEPROM}, - + // http://ww1.microchip.com/downloads/en/DeviceDoc/41287D.pdf {s_pic16f882, 0x2000, 2048, 0x2000, 0x2100, 9, 128, 0, 0, FLASH4, EEPROM}, {s_pic16f883, 0x2020, 4096, 0x2000, 0x2100, 9, 256, 0, 0, FLASH4, EEPROM}, @@ -152,6 +153,9 @@ struct deviceInfo const devices[] PROGMEM = { {s_pic16f886, 0x2060, 8192, 0x2000, 0x2100, 9, 256, 0, 0, FLASH4, EEPROM}, {s_pic16f887, 0x2080, 8192, 0x2000, 0x2100, 9, 256, 0, 0, FLASH4, EEPROM}, + // http://ww1.microchip.com/downloads/en/DeviceDoc/39025f.pdf + {s_pic16f877, 0x09A0, 8192, 0x2000, 0x2100, 8, 256, 0, 0, FLASH4, EEPROM }, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0} };