attiny26dip20.py 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. """
  2. # TOP2049 Open Source programming suite
  3. #
  4. # Atmel Tiny26 DIP20 support
  5. #
  6. # Copyright (c) 2009-2010 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 .atmega_common import *
  23. class Chip_ATTiny26DIP20(Chip_ATMega_common):
  24. def __init__(self):
  25. Chip_ATMega_common.__init__(self,
  26. chipPackage = "DIP20",
  27. chipPinVCC = 5,
  28. chipPinsVPP = 10,
  29. chipPinGND = 6,
  30. signature = b"\x1E\x91\x09",
  31. flashPageSize = 16,
  32. flashPages = 64,
  33. eepromPageSize = 4,
  34. eepromPages = 32,
  35. fuseBytes = 2)
  36. ChipDescription(
  37. Chip_ATTiny26DIP20,
  38. bitfile = "attiny26dip20",
  39. runtimeID = (0x0002, 0x01),
  40. chipVendors = "Atmel",
  41. description = "AtTiny26",
  42. packages = ( ("DIP20", ""), ),
  43. comment = "Special ZIF position",
  44. broken = True
  45. )