Hi Joerg and AVR-Chat-list!

I updated the "flash" section of avrdude.conf and changed "paged = yes" just as you stated. I attached the output of

"# avrdude -c dragon_jtag -P usb -p m406 -U flash:r:asdf:r -vvvv"

in a separate file (I hope it wont be copied line-by-line into the mailing list but if this happens, please accept my apology as this was not my intention). There are a lot of lines in there and I didn't know what might be of interest. I also attached the ATmega406-relevant snippet of avrdude.conf that has been used to generate that output.

If you want me do anything (e.g. compile a newer version of avrdude with some special flags or so), just let me know.

Any help will be appreciated.

Kind regards
HubertB

On 10/27/2011 09:36 AM, Joerg Wunsch wrote:
Hi Hubert,

sorry for the late response.

Unfortunately, reading the eeprom as well
as the flash isn't working. In both cases, avrdude just hangs with this
error message:

Can you run avrdude with -vvvv (four times "-v"), and post the
relevant snippets?

Funny thing is: When I comment the "page_size" as well as the
"num_pages" parameters from the eeprom section I can successfuly read
the eeprom.

So it appears, somehow the paging stuff doesn't work on the ATmega406.
The EEPROM routines fall back to one-byte-at-a-time then.

Appyling the same "trick" to the flash section is not
working (avrdude then complains about "Floating point exception").

Bytewise read access to the flash might work, but in order to program
flash memory, we have to get the pagewise stuff working anyway,
because you can program the flash memory in full pages only.

      memory "flash"
          paged         = no;

Oh, that should be "yes", for sure.


[...]

#------------------------------------------------------------
# ATmega406
#------------------------------------------------------------

part
    id                          = "m406";
    desc                        = "ATMEGA406";
    has_jtag                    = yes;
    signature                   = 0x1e 0x95 0x07;

    # STK500 parameters (parallel programming IO lines)
    pagel                       = 0xa7;
    bs2                         = 0xa0;
    serial                      = no;
    parallel                    = yes;

    # STK500v2 HV programming parameters, from XML
    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;

    # JTAG ICE mkII parameters, also from XML files
    allowfullpagebitstream      = no;
    enablepageprogramming       = yes;
    idr                         = 0x51;
    rampz                       = 0x00;
    spmcr                       = 0x57;
    eecr                        = 0x3f;

# Commenting "page_size" and "num_pages" enables eeprom reading!
    memory "eeprom"
        paged           = no;
        size            = 512;
        page_size       = 4;
        num_pages       = 128;
    ;

    memory "flash"
        paged           = yes;
        size            = 40960;
        page_size       = 128;
        num_pages       = 320;
    ;

    memory "hfuse"
        size            = 1;
    ;

    memory "lfuse"
        size            = 1;
    ;

    memory "lockbits"
        size            = 1;
    ;

    memory "signature"
        size            = 3;
    ;
;

[...]
# avrdude -c dragon_jtag -P usb -p m406 -U flash:r:asdf:r -vvvv

avrdude: Version 5.10, compiled on Jun 27 2010 at 00:38:29
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/etc/avrdude.conf"
         User configuration file is "/root/.avrduderc"
         User configuration file does not exist or is not a regular file, 
skipping

         Using Port                    : usb
         Using Programmer              : dragon_jtag
avrdude: jtagmkII_dragon_open()
avrdude: usbdev_open(): Found AVRDRAGON, serno: 00A200018006
avrdude: usbdev_open(): using read endpoint 0x82
avrdude: usbdev_drain(): flushed 11 characters
avrdude: jtagmkII_getsync()
avrdude: jtagmkII_getsync(): Sending sign-on command: 
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [00] . [00] . [01] . [00] . [00] . [00] . [0e] . [01] . 
[f3] . [97] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 0 (command_sequence == 0)
avrdude: Recv: . [86] . [01] . [ff] . [04] . [06] . [01] . [ff] . [04] . [06] . 
[07] . [00] . [a2] . [00] . [01] . [80] . [06] A [41] V [56] R [52] D [44] R 
[52] A [41] G [47] O [4f] N [4e] . [00] 

Raw message:
0x860x010xff0x040x060x010xff0x040x060x070x000xa20x000x010x800x06
0x410x560x520x440x520x410x470x4f0x4e0x00
Sign-on succeeded

JTAG ICE mkII sign-on message:
Communications protocol version: 1
M_MCU:
  boot-loader FW version:        255
  firmware version:              6.04
  hardware version:              1
S_MCU:
  boot-loader FW version:        255
  firmware version:              6.04
  hardware version:              7
Serial number:                   00:a2:00:01:80:06
Device ID:                       AVRDRAGON
avrdude: jtagmkII_getsync(): Using a 298-byte device descriptor
avrdude: jtagmkII_setparm()
avrdude: jtagmkII_setparm(): Sending set parameter command (parm 0x03, 1 
bytes): 
avrdude: jtagmkII_send(): sending 3 bytes
avrdude: Sent: . [1b] . [01] . [00] . [03] . [00] . [00] . [00] . [0e] . [02] . 
[03] . [01] . [9b] E [45] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 1 (command_sequence == 1)
avrdude: Recv: . [80] 

Raw message:
0x80
OK

avrdude: jtagmkII_getsync(): Sending get sync command: 
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [02] . [00] . [01] . [00] . [00] . [00] . [0e] . [0f] . 
[e2] u [75] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 2 (command_sequence == 2)
avrdude: Recv: . [80] 

Raw message:
0x80
OK

         AVR Part                      : ATMEGA406
         Chip Erase delay              : 0 us
         PAGEL                         : PA7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : no
         parallel program mode         : yes
         Timeout                       : 0
         StabDelay                     : 0
         CmdexeDelay                   : 0
         SyncLoops                     : 0
         ByteDelay                     : 0
         PollIndex                     : 0
         PollValue                     : 0x00
         Memory Detail                 :

                                  Block Poll               Page                 
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- 
----- ---------
           eeprom         0     0     0    0 no        512    0      0     0    
 0 0x00 0x00
                                  Block Poll               Page                 
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- 
----- ---------
           flash          0     0     0    0 yes     40960  128    320     0    
 0 0x00 0x00
                                  Block Poll               Page                 
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- 
----- ---------
           hfuse          0     0     0    0 no          1    0      0     0    
 0 0x00 0x00
                                  Block Poll               Page                 
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- 
----- ---------
           lfuse          0     0     0    0 no          1    0      0     0    
 0 0x00 0x00
                                  Block Poll               Page                 
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- 
----- ---------
           lockbits       0     0     0    0 no          1    0      0     0    
 0 0x00 0x00
                                  Block Poll               Page                 
      Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- 
----- ---------
           signature      0     0     0    0 no          3    0      0     0    
 0 0x00 0x00

         Programmer Type : DRAGON_JTAG
         Description     : Atmel AVR Dragon in JTAG mode
avrdude: jtagmkII_getparm()
avrdude: jtagmkII_getparm(): Sending get parameter command (parm 0x01): 
avrdude: jtagmkII_send(): sending 2 bytes
avrdude: Sent: . [1b] . [03] . [00] . [02] . [00] . [00] . [00] . [0e] . [03] . 
[01] . [d3] . [99] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 3 (command_sequence == 3)
avrdude: Recv: . [81] . [01] . [07] 

Raw message:
0x810x010x07
parameter values:
0x01  0x07  

avrdude: jtagmkII_getparm()
avrdude: jtagmkII_getparm(): Sending get parameter command (parm 0x02): 
avrdude: jtagmkII_send(): sending 2 bytes
avrdude: Sent: . [1b] . [04] . [00] . [02] . [00] . [00] . [00] . [0e] . [03] . 
[02] . [aa] B [42] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 4 (command_sequence == 4)
avrdude: Recv: . [81] . [04] . [06] . [04] . [06] 

Raw message:
0x810x040x060x040x06
parameter values:
0x04  0x06  0x04  0x06  

         M_MCU hardware version: 1
         M_MCU firmware version: 6.04
         S_MCU hardware version: 7
         S_MCU firmware version: 6.04
         Serial number:          00:a2:00:01:80:06
avrdude: jtagmkII_getparm()
avrdude: jtagmkII_getparm(): Sending get parameter command (parm 0x06): 
avrdude: jtagmkII_send(): sending 2 bytes
avrdude: Sent: . [1b] . [05] . [00] . [02] . [00] . [00] . [00] . [0e] . [03] . 
[06] s [73] I [49] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 5 (command_sequence == 5)
avrdude: Recv: . [81] . [f6] . [09] 

Raw message:
0x810xf60x09
parameter values:
0xf6  0x09  

         Vtarget         : 2.5 V
avrdude: jtagmkII_getparm()
avrdude: jtagmkII_getparm(): Sending get parameter command (parm 0x07): 
avrdude: jtagmkII_send(): sending 2 bytes
avrdude: Sent: . [1b] . [06] . [00] . [02] . [00] . [00] . [00] . [0e] . [03] . 
[07] . [fd] . [8e] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 6 (command_sequence == 6)
avrdude: Recv: . [81] . [06] 

Raw message:
0x810x06
parameter values:
0x06  

         JTAG clock      : 891.7 kHz (1.1 us)

avrdude: jtagmkII_setparm()
avrdude: jtagmkII_setparm(): Sending set parameter command (parm 0x1b, 4 
bytes): 
avrdude: jtagmkII_send(): sending 6 bytes
avrdude: Sent: . [1b] . [07] . [00] . [06] . [00] . [00] . [00] . [0e] . [02] . 
[1b] . [00] . [00] . [00] . [00] . [f0] | [7c] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 7 (command_sequence == 7)
avrdude: Recv: . [80] 

Raw message:
0x80
OK

avrdude: jtagmkII_set_devdescr(): Sending set device descriptor command: 
avrdude: jtagmkII_send(): sending 299 bytes
avrdude: Sent: . [1b] . [08] . [00] + [2b] . [01] . [00] . [00] . [0e] . [0c] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] Q [51] W [57] . 
[00] . [80] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[a0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . 
[00] . [00] . [00] . [00] . [00] . [00] @ [40] . [01] . [00] . [00] . [00] . 
[00] . [00] . [01] . [00] . [00] . [00] . [00] . [00] . [00] . [00] ? [3f] . 
[00] . [d5] . [8d] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 8 (command_sequence == 8)
avrdude: Recv: . [80] 

Raw message:
0x80
OK

avrdude: jtagmkII_reset(): Sending reset command: 
avrdude: jtagmkII_send(): sending 2 bytes
avrdude: Sent: . [1b] . [09] . [00] . [02] . [00] . [00] . [00] . [0e] . [0b] . 
[01] # [23] . [b3] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 9 (command_sequence == 9)
avrdude: Recv: . [80] 

Raw message:
0x80
OK

avrdude: jtagmkII_read_byte(.., hfuse, 0x1, ...)
avrdude: jtagmkII_program_enable(): Sending enter progmode command: 
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [0a] . [00] . [01] . [00] . [00] . [00] . [0e] . [14] . 
[0c] . [f6] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 65535 (command_sequence == 10)
avrdude: jtagmkII_recv(): got asynchronous event
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 10 (command_sequence == 10)
avrdude: Recv: . [80] 

Raw message:
0x80
OK

avrdude: jtagmkII_program_enable(): Sending enter progmode command: 
avrdude: jtagmkII_send(): sending 1 bytes
avrdude: Sent: . [1b] . [0b] . [00] . [01] . [00] . [00] . [00] . [0e] . [14] . 
[b3] w [77] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 11 (command_sequence == 11)
avrdude: Recv: . [80] 

Raw message:
0x80
OK

avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [0c] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b2] . [01] . [00] . [00] . [00] . [01] . [00] . [00] . [00] . [da] . [c3] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 12 (command_sequence == 12)
avrdude: Recv: . [82] . [fe] 

Raw message:
0x820xfe
memory contents:
0xfe  

avrdude: jtagmkII_initialize(): warning: OCDEN fuse not programmed, single-byte 
EEPROM updates not possible
avrdude: AVR device initialized and ready to accept instructions

Reading |                                                    | 0% 0.00savrdude: 
jtagmkII_read_byte(.., signature, 0x0, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [0d] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b4] . [01] . [00] . [00] . [00] . [00] . [00] . [00] . [00] q [71] k [6b] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 13 (command_sequence == 13)
avrdude: Recv: . [82] . [1e] 

Raw message:
0x820x1e
memory contents:
0x1e  

avrdude: jtagmkII_read_byte(.., signature, 0x1, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [0e] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b4] . [01] . [00] . [00] . [00] . [01] . [00] . [00] . [00] . [db] G [47] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 14 (command_sequence == 14)
avrdude: Recv: . [82] . [95] 

Raw message:
0x820x95
memory contents:
0x95  

Reading | #################                                  | 33% 
0.00savrdude: jtagmkII_read_byte(.., signature, 0x2, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [0f] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b4] . [01] . [00] . [00] . [00] . [02] . [00] . [00] . [00] . [19] r [72] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 15 (command_sequence == 15)
avrdude: Recv: . [82] . [07] 

Raw message:
0x820x07
memory contents:
0x07  

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9507
avrdude: jtagmkII_read_byte(.., lfuse, 0x0, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [10] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b2] . [01] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [c4] . [17] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 16 (command_sequence == 16)
avrdude: Recv: . [82] . [cd] 

Raw message:
0x820xcd
memory contents:
0xcd  

avrdude: safemode read 1, lfuse value: cd
avrdude: jtagmkII_read_byte(.., lfuse, 0x0, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [11] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b2] . [01] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [cb] . [07] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 17 (command_sequence == 17)
avrdude: Recv: . [82] . [cd] 

Raw message:
0x820xcd
memory contents:
0xcd  

avrdude: safemode read 2, lfuse value: cd
avrdude: jtagmkII_read_byte(.., lfuse, 0x0, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [12] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b2] . [01] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [da] 7 [37] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 18 (command_sequence == 18)
avrdude: Recv: . [82] . [cd] 

Raw message:
0x820xcd
memory contents:
0xcd  

avrdude: safemode read 3, lfuse value: cd
                                                           avrdude: safemode: 
lfuse reads as CD
avrdude: jtagmkII_read_byte(.., hfuse, 0x0, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [13] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b2] . [01] . [00] . [00] . [00] . [01] . [00] . [00] . [00] n [6e] ; [3b] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 19 (command_sequence == 19)
avrdude: Recv: . [82] . [fe] 

Raw message:
0x820xfe
memory contents:
0xfe  

avrdude: safemode read 1, hfuse value: fe
avrdude: jtagmkII_read_byte(.., hfuse, 0x0, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [14] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b2] . [01] . [00] . [00] . [00] . [01] . [00] . [00] . [00] C [43] K [4b] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 20 (command_sequence == 20)
avrdude: Recv: . [82] . [fe] 

Raw message:
0x820xfe
memory contents:
0xfe  

avrdude: safemode read 2, hfuse value: fe
avrdude: jtagmkII_read_byte(.., hfuse, 0x0, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [15] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b2] . [01] . [00] . [00] . [00] . [01] . [00] . [00] . [00] L [4c] [ [5b] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 21 (command_sequence == 21)
avrdude: Recv: . [82] . [fe] 

Raw message:
0x820xfe
memory contents:
0xfe  

avrdude: safemode read 3, hfuse value: fe
      avrdude: safemode: hfuse reads as FE
avrdude: jtagmkII_read_byte(.., eeprom, 0x1fc, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [16] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b1] . [01] . [00] . [00] . [00] . [fc] . [01] . [00] . [00] " [22] . [1b] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 22 (command_sequence == 22)
avrdude: Recv: . [82] . [ff] 

Raw message:
0x820xff
memory contents:
0xff  

avrdude: jtagmkII_read_byte(.., eeprom, 0x1fd, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [17] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b1] . [01] . [00] . [00] . [00] . [fd] . [01] . [00] . [00] . [96] . [17] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 23 (command_sequence == 23)
avrdude: Recv: . [82] . [ff] 

Raw message:
0x820xff
memory contents:
0xff  

avrdude: jtagmkII_read_byte(.., eeprom, 0x1fe, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [18] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b1] . [01] . [00] . [00] . [00] . [fe] . [01] . [00] . [00] . [0e] . [c2] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 24 (command_sequence == 24)
avrdude: Recv: . [82] . [ff] 

Raw message:
0x820xff
memory contents:
0xff  

avrdude: jtagmkII_read_byte(.., eeprom, 0x1ff, ...)
avrdude: jtagmkII_read_byte(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [19] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b1] . [01] . [00] . [00] . [00] . [ff] . [01] . [00] . [00] . [ba] . [ce] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 25 (command_sequence == 25)
avrdude: Recv: . [82] . [ff] 

Raw message:
0x820xff
memory contents:
0xff  

avrdude: reading flash memory:

Reading |                                                    | 0% 0.00savrdude: 
jtagmkII_paged_load(.., flash, 128, 40960)
avrdude: jtagmkII_paged_load(): block_size at addr 0 is 0
avrdude: jtagmkII_paged_load(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [1a] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [e7] . [ad] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 26 (command_sequence == 26)
avrdude: Recv: . [82] 

Raw message:
0x82
memory contents:

avrdude: jtagmkII_paged_load(): block_size at addr 0 is 0
avrdude: jtagmkII_paged_load(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [1b] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [e8] . [bd] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 27 (command_sequence == 27)
avrdude: Recv: . [82] 

Raw message:
0x82
memory contents:

avrdude: jtagmkII_paged_load(): block_size at addr 0 is 0
avrdude: jtagmkII_paged_load(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [1c] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [c5] . [cd] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 28 (command_sequence == 28)
avrdude: Recv: . [82] 

Raw message:
0x82
memory contents:

avrdude: jtagmkII_paged_load(): block_size at addr 0 is 0
avrdude: jtagmkII_paged_load(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [1d] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [ca] . [dd] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 29 (command_sequence == 29)
avrdude: Recv: . [82] 

Raw message:
0x82
memory contents:

avrdude: jtagmkII_paged_load(): block_size at addr 0 is 0
avrdude: jtagmkII_paged_load(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [1e] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [db] . [ed] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 30 (command_sequence == 30)
avrdude: Recv: . [82] 

Raw message:
0x82
memory contents:

avrdude: jtagmkII_paged_load(): block_size at addr 0 is 0
avrdude: jtagmkII_paged_load(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] . [1f] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [d4] . [fd] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 31 (command_sequence == 31)
avrdude: Recv: . [82] 

Raw message:
0x82
memory contents:

avrdude: jtagmkII_paged_load(): block_size at addr 0 is 0
avrdude: jtagmkII_paged_load(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b]   [20] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [a2] . [14] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 32 (command_sequence == 32)
avrdude: Recv: . [82] 

Raw message:
0x82
memory contents:

avrdude: jtagmkII_paged_load(): block_size at addr 0 is 0
avrdude: jtagmkII_paged_load(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] ! [21] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [ad] . [04] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 33 (command_sequence == 33)
avrdude: Recv: . [82] 

Raw message:
0x82
memory contents:

avrdude: jtagmkII_paged_load(): block_size at addr 0 is 0
avrdude: jtagmkII_paged_load(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] " [22] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [bc] 4 [34] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 34 (command_sequence == 34)
avrdude: Recv: . [82] 

Raw message:
0x82
memory contents:

avrdude: jtagmkII_paged_load(): block_size at addr 0 is 0
avrdude: jtagmkII_paged_load(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] # [23] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [b3] $ [24] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 35 (command_sequence == 35)
avrdude: Recv: . [82] 

Raw message:
0x82
memory contents:

avrdude: jtagmkII_paged_load(): block_size at addr 0 is 0
avrdude: jtagmkII_paged_load(): Sending read memory command: 
avrdude: jtagmkII_send(): sending 10 bytes
avrdude: Sent: . [1b] $ [24] . [00] . [0a] . [00] . [00] . [00] . [0e] . [05] . 
[b0] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [00] . [9e] T [54] 
avrdude: jtagmkII_recv():

avrdude: jtagmkII_recv(): Got message seqno 36 (command_sequence == 36)
avrdude: Recv: . [82] 

Raw message:
0x82
memory contents:
_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to