Skip to content

Test AVR microcontrollers to identify fake ones

Notifications You must be signed in to change notification settings

alx741/avr-health

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Health and Fake AVR microcontrollers tests

Recently Fake Atmel AVR microcontrollers have been found, see here, here and here.

Fake AVR chips don't usually contain all the hardware the original one has. Some lack EEPROM, some lack timers and so on.

This code attempts to use and test as much of the microcontroller hardware as possible, in order to test both health and authenticity (the chip has the hardware is supposed).

How to use

Each test is contained on its own directory and have a README.md file with the instructions for it.

Be sure to modify each Makefile and change the MMCU variable to match the chip you're using.

All the examples used in the instructions are based in the ATMEGA32A chip. When changes in the code are required for using with other parts, the instructions will say so.

Some tests contain circuit schematics of the circuit needed, but the programming circuit is omitted. You should already have a programmer and be able to put a firmware on the chip using avrdude.

Available tests

Currently there are test for:

  • FLASH program memory
  • SRAM data memory
  • EEPROM memory
  • External interrupts
  • Timers (CTC mode)
  • UART

About

Test AVR microcontrollers to identify fake ones

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published