attiny45dip8.py 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. """
  2. # TOP2049 Open Source programming suite
  3. #
  4. # Atmel Tiny45 DIP8
  5. #
  6. # Copyright (c) 2020 Michael Buesch <m@bues.ch>
  7. #
  8. # This program is free software; you can redistribute it and/or modify
  9. # it under the terms of the GNU General Public License as published by
  10. # the Free Software Foundation; either version 2 of the License, or
  11. # (at your option) any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU General Public License along
  19. # with this program; if not, write to the Free Software Foundation, Inc.,
  20. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  21. """
  22. from libtoprammer.chips.attinyspc_common import *
  23. class Chip_AtTiny45dip8(Chip_AtTinySPC_common):
  24. def __init__(self):
  25. Chip_AtTinySPC_common.__init__(self,
  26. chipPackage="DIP8",
  27. chipPinVCC=8,
  28. chipPinsVPP=1,
  29. chipPinGND=4,
  30. signature=b"\x1E\x92\x06",
  31. flashPageSize=32,
  32. flashPages=64,
  33. eepromPageSize=4,
  34. eepromPages=64,
  35. nrFuseBits=17,
  36. nrLockBits=2,
  37. )
  38. ChipDescription(
  39. Chip_AtTiny45dip8,
  40. chipID="attiny45dip8",
  41. bitfile="attiny13dip8",
  42. runtimeID=(0x0001, 0x01),
  43. chipVendors="Atmel",
  44. description="AtTiny45",
  45. packages=( ("DIP8", ""), ),
  46. )