avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #41561] AVRDUDE 6.0.1/USBasp doesn't write first byte


From: Randy Perkins
Subject: [avrdude-dev] [bug #41561] AVRDUDE 6.0.1/USBasp doesn't write first bytes of flash page
Date: Tue, 18 Nov 2014 22:39:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36

Follow-up Comment #15, bug #41561 (project avrdude):

When writing to an M64 MCU the output of -vvvv does not seem correct for a
paged write when compared to other processors.  the page size is 256 but the
software is not writing 256 at one time.

The relevant section of the -vvvv output is pasted here.  attached is the
entire -vvvv output and the hex file that was attempted to be written.  The
hex file was created to be easy to track the pages, but is not something the
MCU would actually run.


avrdude: reading input file "256x2-sequential_test.hex"
avrdude: writing flash (512 bytes):

Writing | avrdude: usbasp_program_paged_write("flash", 0x0, 256)
avrdude: usbasp_transmit("USBASP_FUNC_SETLONGADDRESS", 0x00, 0x00, 0x00,
0x00)
avrdude: usbasp_transmit("USBASP_FUNC_WRITEFLASH", 0x00, 0x00, 0x00, 0x11)
          => [00] [01] [02] [03] [04] [05] [06] [07] [08] [09] [0a] [0b] [0c]
[0d] [0e] [0f] [00] [01] [02] [03] [04] [05] [06] [07] [08] [09] [0a] [0b]
[0c] [0d] [0e] [0f] [00] [01] [02] [03] [04] [05] [06] [07] [08] [09] [0a]
[0b] [0c] [0d] [0e] [0f] [00] [01] [02] [03] [04] [05] [06] [07] [08] [09]
[0a] [0b] [0c] [0d] [0e] [0f] [00] [01] [02] [03] [04] [05] [06] [07] [08]
[09] [0a] [0b] [0c] [0d] [0e] [0f] [00] [01] [02] [03] [04] [05] [06] [07]
[08] [09] [0a] [0b] [0c] [0d] [0e] [0f] [00] [01] [02] [03] [04] [05] [06]
[07] [08] [09] [0a] [0b] [0c] [0d] [0e] [0f] [00] [01] [02] [03] [04] [05]
[06] [07] [08] [09] [0a] [0b] [0c] [0d] [0e] [0f] [00] [01] [02] [03] [04]
[05] [06] [07] [08] [09] [0a] [0b] [0c] [0d] [0e] [0f] [00] [01] [02] [03]
[04] [05] [06] [07] [08] [09] [0a] [0b] [0c] [0d] [0e] [0f] [00] [01] [02]
[03] [04] [05] [06] [07] [08] [09] [0a] [0b] [0c] [0d] [0e] [0f] [00] [01]
[02] [03] [04] [05] [06] [07] [08] [09] [0a] [0b] [0c] [0d] [0e] [0f] [00]
[01] [02] [03] [04] [05] [06] [07]
avrdude: usbasp_transmit("USBASP_FUNC_SETLONGADDRESS", 0xc8, 0x00, 0x00,
0x00)
avrdude: usbasp_transmit("USBASP_FUNC_WRITEFLASH", 0xc8, 0x00, 0x00, 0x12)
          => [08] [09] [0a] [0b] [0c] [0d] [0e] [0f] [00] [01] [02] [03] [04]
[05] [06] [07] [08] [09] [0a] [0b] [0c] [0d] [0e] [0f] [00] [01] [02] [03]
[04] [05] [06] [07] [08] [09] [0a] [0b] [0c] [0d] [0e] [0f] [00] [01] [02]
[03] [04] [05] [06] [07] [08] [09] [0a] [0b] [0c] [0d] [0e] [0f]
#########################avrdude: usbasp_program_paged_write("flash", 0x100,
256)


(file #32470, file #32471)
    _______________________________________________________

Additional Item Attachment:

File name: 256x2-sequential_test.hex      Size:1 KB
File name: out.txt                        Size:33 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?41561>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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