avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] AVRDUDE 4.3.0 Released


From: Bob Paddock
Subject: Re: [avr-gcc-list] AVRDUDE 4.3.0 Released
Date: Sun, 1 Feb 2004 10:43:22 -0500
User-agent: KMail/1.5.4

>> Does anyone have the settings for the ATTiny2313?

On Wednesday 28 January 2004 09:04 am, Larry Barello wrote:

> Just add your own.  It is really easy and can be considered your
> contribution to the effort!  Look at avrdude.conf and the data sheet.

I'd be happy to contribute but it still makes sense to ask if anyone else
has already done the work, before all of us reinvent the wheel over and over.

What should the device code numbers for the Tiny2313 be since it is to new to 
be in avr061?  I could not pick it out of the data sheet if it was in there.

# The following are STK500 part device codes to use for the
# "devicecode" field of the part.  These came from Atmel's software
# section avr061.zip which accompanies the application note
# AVR061 available from:
#
#      http://www.atmel.com/atmel/acrobat/doc2525.pdf
#

#define AT90S2313   0x40

as well as:

    avr910_devcode   = 0x20;

Are these the same for the ATtiny2313???

> Brian Dean wrote:

>Most folks just add the parts that they actually have in hand to the
>config file.  I'd personally be reluctant to add definitions for which
>I cannot test.

I have ATtiny2313's in hand and will be testing before the end of the month.

Any one see any problems here?:

#------------------------------------------------------------
# ATtiny2313
#------------------------------------------------------------

part
    id               = "t2313";
    desc          = "ATtiny2313";

    stk500_devcode   = ?;
    avr910_devcode   = ?;

    chip_erase_delay = 20000;
# chip_erase_delay is not as clearly specified as it was for the AT90S2313,
# so I left at the same value as the AT90S2313.

    pgm_enable       = "1 0 1 0  1 1 0 0    0 1 0 1  0 0 1 1",
                       "x x x x  x x x x    x x x x  x x x x";

    chip_erase       = "1 0 1 0  1 1 0 0    1 0 0 x  x x x x",
                       "x x x x  x x x x    x x x x  x x x x";

    memory "eeprom"
        size            = 128;
        min_write_delay = 4000;
        max_write_delay = 4500;
        readback_p1     = 0xff;
        readback_p2     = 0xff;
        read            = "1  0  1  0   0  0  0  0   0 0 0 x  x x x x", 
                          "x a6 a5 a4  a3 a2 a1 a0   o o o o  o o o o";

        write           = "1  1  0  0   0  0  0  0   0 0 0 x  x x x x",
                          "x a6 a5 a4  a3 a2 a1 a0   i i i i  i i i i";
      ;
    memory "flash"
        paged           = yes;
        size            = 2048;
        page_size       = 32;
        num_pages       = 64;
        min_write_delay = 4000;
        max_write_delay = 4500;
        readback_p1     = 0xff;
        readback_p2     = 0xff;
        read_lo         = "  0   0   1   0    0   0   0   0",
                          "  0   0   0   0    0   0  a9  a8",
                          " a7  a6  a5  a4   a3  a2  a1  a0",
                          "  o   o   o   o    o   o   o   o";

        read_hi         = "  0   0   1   0    1   0   0   0",
                          "  0   0   0   0    0   0  a9  a8",
                          " a7  a6  a5  a4   a3  a2  a1  a0",
                          "  o   o   o   o    o   o   o   o";

        loadpage_lo     = "  0   1   0   0    0   0   0   0",
                          "  0   0   0   x    x   x   x   x",
                          "  x   x  a5  a4   a3  a2  a1  a0",
                          "  i   i   i   i    i   i   i   i";

        loadpage_hi     = "  0   1   0   0    1   0   0   0",
                          "  0   0   0   x    x   x   x   x",
                          "  x   x  a5  a4   a3  a2  a1  a0",
                          "  i   i   i   i    i   i   i   i";

        writepage       = "  0  1  0  0   1  1  0  0",
                          "  0  0  0  0   0  0 a9 a8",
                          " a7 a6  x  x   x  x  x  x",
                          "  x  x  x  x   x  x  x  x";
      ;
    memory "signature"
        size            = 3;
        read            = "0  0  1  1   0  0  0  0   0  0  0  x   x  x  x  x",
                          "x  x  x  x   x  x a1 a0   o  o  o  o   o  o  o  o";
      ;
    memory "lock"
        size            = 1;
        write           = "1 0 1 0  1 1 0 0  1 1 1 x  x x x x",
                          "x x x x  x x x x  1 1 i i  i i i i";
      ;
  ;
    memory "lfuse"
        size            = 1;
        write           = "1 0 1 0  1 1 0 0  1 0 1 0  0 0 0 0",
                          "x x x x  x x x x  i i i i  i i i i";

        read            = "0 1 0 1  0 0 0 0  0 0 0 0  0 0 0 0",
                          "x x x x  x x x x  o o o o  o o o o";
      ;

    memory "hfuse"
        size            = 1;
        write           = "1 0 1 0  1 1 0 0  1 0 1 0  1 0 0 0",
                          "x x x x  x x x x  i i i i  i i i i";

        read            = "0 1 0 1  1 0 0 0  0 0 0 0  1 0 0 0",
                          "x x x x  x x x x  o o o o  o o o o";
      ;

    memory "efuse"
        size            = 1;
        write           = "1 0 1 0  1 1 0 0  1 0 1 0  0 1 0 0",
                          "x x x x  x x x x  x x x x  x x x i";

        read            = "0 1 0 1  0 0 0 0  0 0 0 0  1 0 0 0",
                          "x x x x  x x x x  o o o o  o o o o";

    memory "calibration"
        size            = 4;
        read            = "0  0  1  1   1  0  0  0    0 0 0 x  x x x x",
                          "0  0  0  0   0  0  0  0    o o o o  o o o o";
    ;
;

-- 
                    http://www.softwaresafety.net/
       http://www.unusualresearch.com/ http://www.bpaddock.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]