bugAVR Downloader/UploaDEr - Bugs: bug #27596, AT90s2333 is not correctly...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #27596: AT90s2333 is not correctly supported in avrdude.conf

Submitter:  None
Submitted:  Sun 04 Oct 2009 06:40:18 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  Eric
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Programmer hardware: 
Device type: 

Thu 07 Jan 2010 04:36:44 PM UTC, comment #3: 

Thanks, applied.

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 05 Oct 2009 07:08:29 PM UTC, comment #2: 

As Eric posted the tracker without being logged in, he could
not attach the files himself but sent it by email.

He is using AVRDUDE 5.8.

(file #18817)

Joerg Wunsch <joerg_wunsch>
Group administrator
Sun 04 Oct 2009 08:10:11 PM UTC, comment #1: 

The bug tracker software damages the formatting of your
message, so it's very hard to find out the exact changes
you made to the at90s2333 section of the config file.

Please submit either your config entry, or even your entire
avrdude.conf file as an attachment to this bug tracker, and
please also mention the exact AVRDUDE version your modification
has been made against.

Joerg Wunsch <joerg_wunsch>
Group administrator
Sun 04 Oct 2009 06:40:18 PM UTC, original submission:  

I could not get my programmer to work on my AT90s2333 however the programmer did work if I inserted a mega8 device. After consulting the avrdude.conf file I found this remark:

##### WARNING: No XML file for device 'AT90S2333'! #####

I also so that the setting for programming the mega8 and the 2333 are different so this led my to believe something is missing. So I edited the avrdude.conf file and stored it at my ~/.avrduderc. I took the sections from the AT90s4433 device which is very simular except for the memory size. This is what I have now:

#------------------------------------------------------------
# AT90s2333
#------------------------------------------------------------

part
    id               = "2333";
##### WARNING: No XML file for device 'AT90S2333'! #####
##### NOW withs Eric'x modifications #####
    desc             = "AT90S2333";
    stk500_devcode   = 0x42;
    avr910_devcode   = 0x34;
    signature        = 0x1e 0x91 0x05;
    chip_erase_delay = 20000;
    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 0  0 0 0 0",
                       "x x x x  x x x x    x x x x  x x x x";

    timeout = 200;
    stabdelay = 100;
    cmdexedelay = 25;
    synchloops = 32;
    bytedelay = 0;
    pollindex = 3;
    pollvalue = 0x53;
    predelay = 1;
    postdelay = 1;
    pollmethod = 0;

    pp_controlstack     =
        0x0E, 0x1E, 0x0F, 0x1F, 0x2E, 0x3E, 0x2F, 0x3F,
        0x4E, 0x5E, 0x4F, 0x5F, 0x6E, 0x7E, 0x6F, 0x7F,
        0x66, 0x76, 0x67, 0x77, 0x6A, 0x7A, 0x6B, 0x7B,
        0xBE, 0xFD, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00;
    hventerstabdelay    = 100;
    progmodedelay       = 0;
    latchcycles         = 0;
    togglevtg           = 0;
    poweroffdelay       = 0;
    resetdelayms        = 0;
    resetdelayus        = 0;
    hvleavestabdelay    = 15;
    chiperasepulsewidth = 15;
    chiperasepolltimeout = 0;
    programfusepulsewidth = 2;
    programfusepolltimeout = 0;
    programlockpulsewidth = 0;
    programlockpolltimeout = 1;

    memory "eeprom"
        size            = 128;
        min_write_delay = 9000;
        max_write_delay = 20000;
        readback_p1     = 0x00;
        readback_p2     = 0xff;
        read            = "1  0  1  0   0  0  0  0   x x x 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   x x x x  x x x x",
                          "x a6 a5 a4  a3 a2 a1 a0   i i i i  i i i i";

mode = 0x04;
delay = 12;
blocksize = 128;
readsize = 256;
      ;

    memory "flash"
        size            = 2048;
        min_write_delay = 9000;
        max_write_delay = 20000;
        readback_p1     = 0xff;
        readback_p2     = 0xff;
        read_lo         = "  0   0   1   0    0   0   0   0",
                          "  x   x   x   x    x   x  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",
                          "  x   x   x   x    x   x  a9  a8",
                          " a7  a6  a5  a4   a3  a2  a1  a0",
                          "  o   o   o   o    o   o   o   o";

        write_lo        = "  0   1   0   0    0   0   0   0",
                          "  x   x   x   x    x   x  a9  a8",
                          " a7  a6  a5  a4   a3  a2  a1  a0",
                          "  i   i   i   i    i   i   i   i";

        write_hi        = "  0   1   0   0    1   0   0   0",
                          "  x   x   x   x    x   x  a9  a8",
                          " a7  a6  a5  a4   a3  a2  a1  a0",
                          "  i   i   i   i    i   i   i   i";

mode = 0x04;
delay = 12;
blocksize = 128;
readsize = 256;
      ;

    memory "signature"
        size            = 3;
        read            = "0  0  1  1   0  0  0  0   x  x  x  x   x  x  x  x",
                          "x  x  x  x   x  x a1 a0   o  o  o  o   o  o  o  o";
      ;
    memory "fuse"
        size            = 1;
        min_write_delay = 9000;
        max_write_delay = 20000;
        pwroff_after_write = yes;
        read            = "0 1 0 1  0 0 0 0   x x x x  x x x x",
                          "x x x x  x x x x   x x o o  o o o o";

        write           = "1 0 1 0  1 1 0 0   1 0 1 i  i i i i",
                          "x x x x  x x x x   x x x x  x x x x";
      ;
    memory "lock"
        size            = 1;
        min_write_delay = 9000;
        max_write_delay = 20000;
        read            = "0 1 0 1  1 0 0 0   x x x x  x x x x",
                          "x x x x  x x x x   x x x x  x o o x";

        write           = "1 0 1 0  1 1 0 0   1 1 1 1  1 i i 1",
                          "x x x x  x x x x   x x x x  x x x x";
      ;
  ;


Sofar I have been able to program the device no. I did not come to testing it yet since I need to upgrade my local software in order to do that. However my gut feeling tells me it will work. If not I will file a additional bug.

I used the search mechanism with keyword AT90s2333 but did not get relevant info. So I concluded I better file a bug.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #18817:  avrduderc.bz2 added by joerg_wunsch (16KiB - application/octet-stream - Eric's modified avrduderc file)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-01-07 joerg_wunsch StatusNone Fixed
        Open/ClosedOpen Closed
    2009-10-05 joerg_wunsch StatusInvalid None
    2009-10-05 joerg_wunsch Attached File- Added avrduderc.bz2, #18817
        StatusNeed Info Invalid
    2009-10-04 joerg_wunsch StatusNone Need Info
        Assigned toNone joerg_wunsch

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code