pic16f59sip6.py 2.0 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 PIC16F59 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_Pic16F59sip6(microchip8_singlePMarea):
  28. logicalFlashSize = 0x1000
  29. def __init__(self):
  30. microchip8_singlePMarea.__init__(self,
  31. chipPackage = "DIP10",
  32. chipPinVCC = 9,
  33. chipPinsVPP = 10,
  34. chipPinGND = 8,
  35. signature=b"",
  36. flashPageSize=0x200,
  37. flashPages=4,
  38. eepromPageSize=0,
  39. eepromPages=0,
  40. fuseBytes=2
  41. )
  42. fuseDesc = (
  43. BitDescription(0, "FOSC0"),
  44. BitDescription(1, "FOSC1 - 00=LP, 01=XT, 10=HS, 11=RC"),
  45. BitDescription(2, "WDTE"),
  46. BitDescription(3, "!CP"),
  47. BitDescription(4, "Unused"),
  48. BitDescription(5, "Unused"),
  49. BitDescription(6, "Unused"),
  50. BitDescription(7, "Unused"),
  51. BitDescription(8, "Unused"),
  52. BitDescription(9, "Unused"),
  53. BitDescription(10, "Unused"),
  54. BitDescription(11, "Unused"),
  55. )
  56. ChipDescription(
  57. Chip_Pic16F59sip6,
  58. bitfile = "microchip01sip6",
  59. chipID="pic16f59sip6",
  60. runtimeID = (0xDE05, 0x01),
  61. chipVendors="Microchip",
  62. description = "PIC16F59 - ICD",
  63. packages = (("DIP10", ""), ),
  64. fuseDesc=fuseDesc,
  65. maintainer="Pavel Stemberk <stemberk@gmail.com>",
  66. )