bugAVR Downloader/UploaDEr - Bugs: bug #58251, only odd bytes are programmed /...

 
 

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

bug #58251: only odd bytes are programmed / programming only works in terminal mode.

Submitted by:  Lukas Raschendorfer <funkyluke>
Submitted on:  Sun 26 Apr 2020 08:27:30 PM UTC  
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  funkyluke
Open/Closed:  Open Release:  6.3
Programmer hardware:  avrisp2 Device type:  8535

Mon 27 Apr 2020 05:49:18 AM UTC, comment #1: 

Maybe a duplicate of bug #49082, as it works with a pre-R1336 Release (6.1).

Lukas Raschendorfer <funkyluke>
Sun 26 Apr 2020 08:27:30 PM UTC, original submission:  

EEP Programming works:

avrdude -p8535 -cavrisp2 -Pusb -U eeprom:w:eep.hex --> verifies OK

Flash Programming:

root@luke-hp:~# cat short.hex
:200000000102030405060708091011121314151617181920212223242526272829303132E6
:00000001FF

root@luke-hp:~# avrdude -p8535 -cavrisp2 -Pusb -q -q -U flash:w:short.hex
avrdude: verification error, first mismatch at byte 0x0001
         0xff != 0x02

root@luke-hp:~# cat short-readback.hex
:2000000001FF03FF05FF07FF09FF11FF13FF15FF17FF19FF21FF23FF25FF27FF29FF31FF84
:00000001F

 --> Note that every other (even) byte is 0xFF (not programmed)
But:

root@luke-hp:~# avrdude -p8535 -cavrisp2 -Pusb -t

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.11s

avrdude: Device signature = 0x1e9303 (probably 8535)
avrdude> e

>>> e

avrdude: erasing chip
avrdude> write flash 0x00 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88

>>> write flash 0x00 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88


avrdude> dump flash 0x00 32

>>> dump flash 0x00 32

        1. 11 22 33 44 55 66 77 88  ff ff ff ff ff ff ff ff  |."3DUfw.........|

0010  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|

--> so writing in general seems to work, just not using -U and a hex file ?!

Thanks for looking into this!

Lukas Raschendorfer <funkyluke>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by funkyluke (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5