pic16f1933sip6.py 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. #
  2. # THIS FILE WAS AUTOGENERATED BY makeSip6.py
  3. # Do not edit this file manually. All changes will be lost.
  4. #
  5. """
  6. # TOP2049 Open Source programming suite
  7. #
  8. # Microchip PIC16F1933 sip6
  9. #
  10. # Copyright (c) 2013 Pavel Stemberk <stemberk@gmail.com>
  11. #
  12. # This program is free software; you can redistribute it and/or modify
  13. # it under the terms of the GNU General Public License as published by
  14. # the Free Software Foundation; either version 2 of the License, or
  15. # (at your option) any later version.
  16. #
  17. # This program is distributed in the hope that it will be useful,
  18. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. # GNU General Public License for more details.
  21. #
  22. # You should have received a copy of the GNU General Public License along
  23. # with this program; if not, write to the Free Software Foundation, Inc.,
  24. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  25. """
  26. from .microchip8_splittedPMarea_hasResetPC import *
  27. class Chip_Pic16F1933sip6(microchip8_splittedPMarea_hasResetPC):
  28. nLatches = 8
  29. hasEEPROM = True
  30. def __init__(self):
  31. microchip8_splittedPMarea_hasResetPC.__init__(self,
  32. chipPackage = "DIP10",
  33. chipPinVCC = 9,
  34. chipPinsVPP = 10,
  35. chipPinGND = 8,
  36. signature=b"\x68\x23",
  37. flashPageSize=0x1000,
  38. flashPages=1,
  39. eepromPageSize=256,
  40. eepromPages=1,
  41. fuseBytes=4
  42. )
  43. fuseDesc = (
  44. BitDescription(0, "FOSC[0], 000=LP, 001=XT, 010=HS, 011=EXTRC"),
  45. BitDescription(1, "FOSC[1], 100=INTOSC, 101=ECL - Low power mode"),
  46. BitDescription(2, "FOSC[2], 110=ECM - Medium power mode, 111=ECH - High power mode"),
  47. BitDescription(3, "WDTE[0], 00=WDT disabled, 11=WDT enabled"),
  48. BitDescription(4, "WDTE[1]"),
  49. BitDescription(5, "nPWRTE"),
  50. BitDescription(6, "MCLRE, 1=nMCLR/Vpp pin is nMCLR, weak pull-up enabled, ignored if LVP=1 "),
  51. BitDescription(7, "nCP 1=program memory code protection is disabled"),
  52. BitDescription(8, "nCPD, 1=data memory code protection is disabled"),
  53. BitDescription(9, "BOREN[0], 00=BOR disabled"),
  54. BitDescription(10, "BOREN[1]"),
  55. BitDescription(11, "nCLKOUTEN, 0=CLKOUT is enabled on CLKOUT pin"),
  56. BitDescription(12, "IESO, 0=Internal/External Switchover mode is disabled"),
  57. BitDescription(13, "FCMEM, 0=Fail-Safe Clock Monitor is disabled"),
  58. BitDescription(14, "NA"),
  59. BitDescription(15, "NA"),
  60. BitDescription(16, "WRT[0], 11=Write protection off"),
  61. BitDescription(17, "WRT[1]"),
  62. BitDescription(18, "Unused"),
  63. BitDescription(19, "Unused"),
  64. BitDescription(20, "VCAPEN[0] - only for PIC16F193x, 00=Vcap enabled on RA0"),
  65. BitDescription(21, "VCAPEN[1], 01=Vcap enabled on RA5, 10=Vcap enabled on RA6, 11=disabled "),
  66. BitDescription(22, "Unused"),
  67. BitDescription(23, "Unused"),
  68. BitDescription(24, "PLLEN, 0=4xPLL disabled"),
  69. BitDescription(25, "STVREN, 1=Stack overflow or underflow will cause a reset"),
  70. BitDescription(26, "BORV, 1=Brown-out Reset voltage set to 1.9V"),
  71. BitDescription(27, "Unused"),
  72. BitDescription(28, "nDEBUG, 0=ICSPCLK and ICSPDAT are dedicated to the debugger"),
  73. BitDescription(29, "LVP 1=Low-voltage programming enabled"),
  74. BitDescription(30, "NA"),
  75. BitDescription(31, "NA"),
  76. )
  77. ChipDescription(
  78. Chip_Pic16F1933sip6,
  79. bitfile = "microchip01sip6",
  80. chipID="pic16f1933sip6",
  81. runtimeID = (0xDE05, 0x01),
  82. chipVendors="Microchip",
  83. description = "PIC16F1933, PIC16LF1933 - ICD",
  84. packages = (("DIP10", ""), ),
  85. fuseDesc=fuseDesc,
  86. maintainer="Pavel Stemberk <stemberk@gmail.com>",
  87. )