pic10f200sip6.py 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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 PIC10F200, PIC10F204 and PIC10f220 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_singlePMarea import *
  27. class Chip_Pic10F200sip6(microchip8_singlePMarea):
  28. # CONFIGURATION WORD FOR PIC10F200/202/204/206
  29. # X X X X X X X MCLRE /CP WDT X X
  30. logicalFlashSize = 0x200
  31. def __init__(self):
  32. microchip8_singlePMarea.__init__(self,
  33. chipPackage = "DIP10",
  34. chipPinVCC = 9,
  35. chipPinsVPP = 10,
  36. chipPinGND = 8,
  37. signature=b"\x09\x18\x24\x35",
  38. flashPageSize=0x100,
  39. flashPages=1,
  40. eepromPageSize=0,
  41. eepromPages=0,
  42. fuseBytes=2
  43. )
  44. fuseDesc = (
  45. BitDescription(0, "Unused"),
  46. BitDescription(1, "Unused"),
  47. BitDescription(2, "WDTE"),
  48. BitDescription(3, "!CP"),
  49. BitDescription(4, "MCLRE"),
  50. BitDescription(5, "Unused"),
  51. BitDescription(6, "Unused"),
  52. BitDescription(7, "Unused"),
  53. BitDescription(8, "Unused"),
  54. BitDescription(9, "Unused"),
  55. BitDescription(10, "Unused"),
  56. BitDescription(11, "Unused"),
  57. )
  58. ChipDescription(
  59. Chip_Pic10F200sip6,
  60. bitfile = "microchip01sip6",
  61. chipID="pic10f200sip6",
  62. runtimeID = (0xDE05, 0x01),
  63. chipVendors="Microchip",
  64. description = "PIC10F200, PIC10F204, PIC10F220 - ICD",
  65. packages = (("DIP10", ""), ),
  66. fuseDesc=fuseDesc,
  67. maintainer="Pavel Stemberk <stemberk@gmail.com>",
  68. )