tpi.h: Adds definition of TPI Identification code

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1147 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
hweisbach 2013-05-02 11:06:30 +00:00
parent fc58b5286b
commit 0d9c0c5e9e
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2013-04-30 Hannes Weisbach <hannes_weisbach@gmx.net>
* tpi.h: Add definition for TPI Identification Code
2013-04-28 Hannes Weisbach <hannes_weisbach@gmx.net>
* avrftdic: Rework of textual output. Messages are divided by severity and

9
tpi.h
View File

@ -28,9 +28,12 @@ extern "C" {
static const unsigned char tpi_skey[] = { 0x12, 0x89, 0xAB, 0x45, 0xCD, 0xD8, 0x88, 0xFF };
/* registers */
#define TPI_REG_TPIIR 0x0F
#define TPI_REG_TPIPCR 0x02
#define TPI_REG_TPISR 0x00
#define TPI_REG_TPIIR 0x0F
#define TPI_IDENT_CODE 0x80
#define TPI_REG_TPIPCR 0x02
#define TPI_REG_TPISR 0x00
#define TPI_REG_TPISR_NVMEN (1 << 1)