xmega32a4 avrdude

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Has anyone used avrdude on an xmega32a4? I just tried the latest, 5.6 version, and the configuration file does not have support for it. Does anyone have a configuration file that works with xmega32a4? I am a little leery of creating my own entry in the configuration file.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Does avrdude even do PDI yet?

EDIT well OK the word "PDI" gets one mention in the manual under the decription of "-c stk600" so it seems it maybe does.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I added the following to my avrdude.conf which seams to work

#------------------------------------------------------------
# ATxmega32A4
#------------------------------------------------------------

part
    id               = "x32a4";
    desc             = "ATXMEGA32A4";
    signature        = 0x1E 0x95 0x41;
    has_jtag         = yes;
    has_pdi          = yes;
    nvm_base         = 0x01C0;

    memory "eeprom"
        page_size       = 32;
        size            = 1024;
      ;

    memory "flash"
        size            = 0x8000;
        page_size       = 256;
      ;

    memory "boot"
        size            = 0x1000;
        page_size       = 256;
      ;

# signature is actually in IO address space
    memory "signature"
        size            = 3;
        offset          = 0x90;
      ;

    memory "fuse0"
        size            = 1;
        offset          = 0x20;
      ;

    memory "fuse1"
        size            = 1;
        offset          = 0x21;
      ;

    memory "fuse2"
        size            = 1;
        offset          = 0x22;
      ;

    memory "fuse4"
        size            = 1;
        offset          = 0x24;
      ;

    memory "fuse5"
        size            = 1;
        offset          = 0x25;
      ;

    memory "lockbits"
        size            = 1;
        offset          = 0x27;
      ;

    memory "calibration"
        size            = 512;
      ;

    memory "usersig"
        size            = 512;
        offset          = 0x200;
      ;

  ;
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

an xmega32a4

Do you really have a supply of the little beasties? Samples, or through distribution?

Lee

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.