bugAVR Downloader/UploaDEr - Bugs: bug #29019, pagel/bs2 warning when uploading...

 
 

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

bug #29019: pagel/bs2 warning when uploading using stk500 to xmega

Submitter:  giuliano carlini <gorillacoder>
Submitted:  Sat 27 Feb 2010 08:13:59 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  giuliano carlini
Open/Closed:  Closed Release:  None
Programmer hardware:  Device type: 

Thu 19 Apr 2012 02:03:00 PM UTC, comment #4: 

As indicated in comment #3, I modified the code to insert
dummy values for PAGEL and BS2 if they are lacking in the
config file, so the extended parameters command can proceed
anyway.

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 22 Mar 2010 10:15:19 AM UTC, comment #3: 

Note that Cmnd_SET_DEVICE_EXT also tells the STK500 firmware
about the EEPROM pagesize and whether the device has a
RSTDISBL fuse.  I wonder whether this is really used in any
way.  If so, we should probably replace the warning by
inserting dummy values for PAGEL and BS2, as our STK500v1
implementation does not support parallel HV programming
anyway.

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 22 Mar 2010 03:37:27 AM UTC, comment #2: 

I had commented out the SET_DEVICE_EXT handler from the arduino bootloader as it hadn't seem to be used. Once restored, I can add a bogus PAGEL and BS2 to avrdude.conf and all is well.

giuliano carlini <gorillacoder>
Fri 19 Mar 2010 08:02:54 AM UTC, comment #1: 

You're right, the warning can go away for Xmegas, as they don't have
parallel programming.  It's completely pointless for the ISP case, as
PAGEL and BS2 are only used in HV parallel mode.

However, it's not supposed to fail in any way if you add them.
If so, that might indicate that the Arduino STK500 emulation
misbehaves when being offered Cmnd_SET_DEVICE_EXT (which is
not sent at all if PAGEL and BS2 are lacking).

Joerg Wunsch <joerg_wunsch>
Group administrator
Sat 27 Feb 2010 08:13:59 AM UTC, original submission:  

When using avrdude to upload a program to an xmega128a1 using stk500 protocol I get the warning:
    avrdude: please define PAGEL and BS2 signals in the configuration file for part ATXMEGA128A1
    avrdude: WARNING: can't read memory for cycle count, rc=-1
When I add pagel and bs2 to avrdude.conf, the upload fails.

giuliano carlini <gorillacoder>

 

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

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 joerg_wunsch (Posted a comment)
  • -email is unavailable- added by gorillacoder (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-04-19 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-aa77.
    Corresponding source code