bugAVR Downloader/UploaDEr - Bugs: bug #53703, FT232H based programmer returns...

 
 

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

bug #53703: FT232H based programmer returns all 0xFF when reading flash from atmega2560

Submitter:  None
Submitted:  Thu 19 Apr 2018 10:07:59 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Need Info Privacy:  Public
Assigned to:  None Originator Name:  Christoph
Originator Email:  -email is unavailable- Open/Closed:  Open
Release:  6.3 Programmer hardware:  FT232H
Device type:  m2560

Fri 10 Dec 2021 09:54:05 PM UTC, comment #1: 

Well, I think the logic behind this still has some issues.

Looking at "native" programming algorithms (in avr.c), the usual decision logic is:


  /*
   * If this device has a "load extended address" command, issue it.
   */
  lext = mem->op[AVR_OP_LOAD_EXT_ADDR];
  if (lext != NULL) {
...


Issuing the load extended address command only for few selected addresses is error-prone: not every load file has to start at addr==0, for example.

Joerg Wunsch <joerg_wunsch>
Group administrator
Thu 19 Apr 2018 10:07:59 PM UTC, original submission:  

avrftdi.c does not send load extended address byte command when address is lower than 64k word but using a device which need this command. See attached patch for bug-fix.

Anonymous

 

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

Attached Files
file #43979:  avrftdi.c.patch added by None (810B - text/x-patch)

 

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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-10 joerg_wunsch StatusNone Need Info
    2018-04-19 None Attached File- Added avrftdi.c.patch, #43979

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code