X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fpic16%2Fdevices.inc;h=13f0b2c518f587c1a7254aad2560655a648c0ad7;hb=392c1fa33992bd16e6d98895b70d19428686902f;hp=e1b5e578817b96f4c110279d3bb11ad620d970ee;hpb=7da20a7926c4d5b4b3b54bbf2a97fbaa852d8140;p=fw%2Fsdcc diff --git a/src/pic16/devices.inc b/src/pic16/devices.inc index e1b5e578..13f0b2c5 100644 --- a/src/pic16/devices.inc +++ b/src/pic16/devices.inc @@ -293,6 +293,29 @@ { 0, 0 }, { 0, 0 }, { 0, 0 } } } }, + { + {"p18f2221", "18f2221", "pic18f2221", "f2221"}, // also: 2321, 4221, 4321 + 0, /* always 0 */ + 0x200, /* RAM in bytes */ + 0x80, /* access bank split */ + 0, /* always 0 */ + { 0xf80, 0xfff }, /* range of SFR's */ + { + /* configuration words */ + 0x300001, /* first address */ + 0x30000d, /* last address */ + { { 0xcf, 0, 0x37 } /* 1 */ , { 0x1f, 0, 0xff } /* 2 */ , { 0x1f, 0, 0xff } /* 3 */ , + { -1 , 0, 0xff } /* 4 */ , { 0x87, 0, 0xfb } /* 5 */ , { 0xf5, 0, 0x8f } /* 6 */ , + { -1 , 0, 0xff } /* 7 */ , { 0x03, 0, 0xff } /* 8 */ , { 0xc0, 0, 0xff } /* 9 */ , + { 0x03, 0, 0xff } /* a */ , { 0xe0, 0, 0xff } /* b */ , { 0x03, 0, 0xff } /* c */ , + { 0x40, 0, 0xff } /* d */ } + }, + /* IDLOCs --- always 0 */ + { 0x200000, 0x200007, + { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 } } + } + }, { {"p18f2320", "18f2320", "pic18f2320", "f2320"}, 0, @@ -315,6 +338,29 @@ { 0, 0 }, { 0, 0 }, { 0, 0 } } } }, + { + {"p18f2321", "18f2321", "pic18f2321", "f2321"}, // also: 2221, 4221, 4321 + 0, /* always 0 */ + 0x200, /* RAM in bytes */ + 0x80, /* access bank split */ + 0, /* always 0 */ + { 0xf80, 0xfff }, /* range of SFR's */ + { + /* configuration words */ + 0x300001, /* first address */ + 0x30000d, /* last address */ + { { 0xcf, 0, 0x37 } /* 1 */ , { 0x1f, 0, 0xff } /* 2 */ , { 0x1f, 0, 0xff } /* 3 */ , + { -1 , 0, 0xff } /* 4 */ , { 0x87, 0, 0xfb } /* 5 */ , { 0xf5, 0, 0x8f } /* 6 */ , + { -1 , 0, 0xff } /* 7 */ , { 0x03, 0, 0xff } /* 8 */ , { 0xc0, 0, 0xff } /* 9 */ , + { 0x03, 0, 0xff } /* a */ , { 0xe0, 0, 0xff } /* b */ , { 0x03, 0, 0xff } /* c */ , + { 0x40, 0, 0xff } /* d */ } + }, + /* IDLOCs --- always 0 */ + { 0x200000, 0x200007, + { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 } } + } + }, { {"p18f2455", "18f2455", "pic18f2455", "f2455"}, 0, @@ -425,6 +471,29 @@ { 0, 0 }, { 0, 0 }, { 0, 0 } } } }, + { + {"p18f4221", "18f4221", "pic18f4221", "f4221"}, // also: 2221, 2321, 4321 + 0, /* always 0 */ + 0x200, /* RAM in bytes */ + 0x80, /* access bank split */ + 0, /* always 0 */ + { 0xf80, 0xfff }, /* range of SFR's */ + { + /* configuration words */ + 0x300001, /* first address */ + 0x30000d, /* last address */ + { { 0xcf, 0, 0x37 } /* 1 */ , { 0x1f, 0, 0xff } /* 2 */ , { 0x1f, 0, 0xff } /* 3 */ , + { -1 , 0, 0xff } /* 4 */ , { 0x87, 0, 0xfb } /* 5 */ , { 0xf5, 0, 0x8f } /* 6 */ , + { -1 , 0, 0xff } /* 7 */ , { 0x03, 0, 0xff } /* 8 */ , { 0xc0, 0, 0xff } /* 9 */ , + { 0x03, 0, 0xff } /* a */ , { 0xe0, 0, 0xff } /* b */ , { 0x03, 0, 0xff } /* c */ , + { 0x40, 0, 0xff } /* d */ } + }, + /* IDLOCs --- always 0 */ + { 0x200000, 0x200007, + { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 } } + } + }, { {"p18f4320", "18f4320", "pic18f4320", "f4320"}, 0, @@ -447,6 +516,29 @@ { 0, 0 }, { 0, 0 }, { 0, 0 } } } }, + { + {"p18f4321", "18f4321", "pic18f4321", "f4321"}, // also: 2221, 2321, 4221 + 0, /* always 0 */ + 0x200, /* RAM in bytes */ + 0x80, /* access bank split */ + 0, /* always 0 */ + { 0xf80, 0xfff }, /* range of SFR's */ + { + /* configuration words */ + 0x300001, /* first address */ + 0x30000d, /* last address */ + { { 0xcf, 0, 0x37 } /* 1 */ , { 0x1f, 0, 0xff } /* 2 */ , { 0x1f, 0, 0xff } /* 3 */ , + { -1 , 0, 0xff } /* 4 */ , { 0x87, 0, 0xfb } /* 5 */ , { 0xf5, 0, 0x8f } /* 6 */ , + { -1 , 0, 0xff } /* 7 */ , { 0x03, 0, 0xff } /* 8 */ , { 0xc0, 0, 0xff } /* 9 */ , + { 0x03, 0, 0xff } /* a */ , { 0xe0, 0, 0xff } /* b */ , { 0x03, 0, 0xff } /* c */ , + { 0x40, 0, 0xff } /* d */ } + }, + /* IDLOCs --- always 0 */ + { 0x200000, 0x200007, + { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, + { 0, 0 }, { 0, 0 }, { 0, 0 } } + } + }, { {"p18f4331", "18f4331", "pic18f4331", "f4331"}, 0,