pic10f320sip6.py 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 PIC10F320 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_Pic10F320sip6(microchip8_splittedPMarea_hasResetPC):
  28. rowSize = 16
  29. nLatches = 16
  30. logicalFlashProgramMemorySize = 0x2000
  31. logicalFlashConfigurationMemorySize = 0x2000
  32. def __init__(self):
  33. microchip8_splittedPMarea_hasResetPC.__init__(self,
  34. chipPackage = "DIP10",
  35. chipPinVCC = 9,
  36. chipPinsVPP = 10,
  37. chipPinGND = 8,
  38. signature=b"\xA1\x29",
  39. flashPageSize=0x100,
  40. flashPages=1,
  41. eepromPageSize=0,
  42. eepromPages=0,
  43. fuseBytes=2
  44. )
  45. fuseDesc = (
  46. BitDescription(0, "FOSC, 1=CLKIN, 0=internal"),
  47. BitDescription(1, "BOREN[0]"),
  48. BitDescription(2, "BOREN[1]"),
  49. BitDescription(3, "WDTE[0]"),
  50. BitDescription(4, "WDTE[1]"),
  51. BitDescription(5, "nPWRTE"),
  52. BitDescription(6, "MCLRE, 1=RA3 is nMCLR, weak pull-up enabled"),
  53. BitDescription(7, "nCP"),
  54. BitDescription(8, "LVP"),
  55. BitDescription(9, "LPBOREN"),
  56. BitDescription(10, "BORV"),
  57. BitDescription(11, "WRT[0]"),
  58. BitDescription(12, "WRT[1] 11=write protection off"),
  59. BitDescription(13, "Unused"),
  60. )
  61. ChipDescription(
  62. Chip_Pic10F320sip6,
  63. bitfile = "microchip01sip6",
  64. chipID="pic10f320sip6",
  65. runtimeID = (0xDE05, 0x01),
  66. chipVendors="Microchip",
  67. description = "PIC10F320, PIC10LF320 - ICD",
  68. packages = (("DIP10", ""), ),
  69. fuseDesc=fuseDesc,
  70. maintainer="Pavel Stemberk <stemberk@gmail.com>",
  71. )