2004-11-16 Theodore A. Roth * src/jtagio.cc (deviceDefinitions): New entry for at90can128. Entry was copied directly from the mega128 entry and only the device name and id were changed. Need to investigate what else needs tweaking. Index: src/jtagio.cc =================================================================== RCS file: /cvsroot/avarice/avarice/src/jtagio.cc,v retrieving revision 1.25 diff -u -p -p -r1.25 jtagio.cc --- src/jtagio.cc 5 Aug 2004 13:22:12 -0000 1.25 +++ src/jtagio.cc 16 Nov 2004 19:37:03 -0000 @@ -297,6 +297,43 @@ jtag_device_def_type deviceDefinitions[] { JTAG_EOM } } }, + // DEV_ATCAN_128 + // FIXME: This probably still needs some value tweaking to be done. + { + "at90can128", + 0x9781, + 256, 512, // 128K flash + 8, 512, // 4K bytes EEPROM + 0x8c, // 35 interrupt vectors + NULL, // io reg defs not defined yet + { + JTAG_C_SET_DEVICE_DESCRIPTOR, + { 0xCF, 0x2F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }, + { 0xCF, 0x27, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE }, + { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, + { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, + { 0x3E, 0xB5, 0x1F, 0x37, 0xFF, 0x1F, 0x21, 0x2F, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00 }, + { 0x3E, 0xB5, 0x0F, 0x27, 0xFF, 0x1F, 0x21, 0x27, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00 }, + { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00 }, + { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00 }, + 0x22, + 0x68, + 0x3B, + { 0, 1 }, + 8, + { 0x00, 0xFE, 0x00, 0x00 }, + 0x9D, + { JTAG_EOM } + } + }, #if 0 // DEV_UNKNOWN - what avarice came with (looks like a garbled 128) {