bugAVR Downloader/UploaDEr - Bugs: bug #19153, leaving the STK200 plugged in...

 
 

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

bug #19153: leaving the STK200 plugged in stops chip from working(5.3.1)

Submitter:  None
Submitted:  Mon 26 Feb 2007 01:04:30 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  7 - High Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  Daine Mamacos
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Programmer hardware: 
Device type: 

Fri 26 Aug 2011 07:48:51 PM UTC, comment #4: 

I verified the -E options work as expected now.

The bug with the par_setmany() has already been fixed some
time ago (it's apparently been reported more than once).

Joerg Wunsch <joerg_wunsch>
Group administrator
Tue 15 Jan 2008 07:57:26 AM UTC, comment #3: 

Ref. to #22019:

I created a small program that sets high the PIN 5 of the parallel port ( which is connected to the RESET pin of the microcontroller ). The microcontroller started to work, and, from that moment untill I restart the computer everything worked fine. That is, I am able to transfer to the microcontroller the program, and then I am able to run it using normal functionality of avrdude.
Is it possible that avrdude leaves the pins on the previous values after it successfully transfers the program to the microcontroller?

cristian stefan <wtherapy>
Mon 14 Jan 2008 03:30:21 PM UTC, comment #2: 

bug #22019 has been marked a duplicate of this bug.

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 26 Feb 2007 04:14:05 PM UTC, comment #1: 

I have the same problem with my self built adapter here. Depending on the previous content of the parallel port the buffer drivers of the STK200 are not switched off sometimes.

The attached patch works for me. It changes a call to par_setpin() to par_setmany(). My understanding is that pgm->pinno[PPI_AVR_BUFF] stores the bit mask of buffer pins and not a single bit number as par_setpin() expects.



(file #12045)

Jan Lukoschus <jlu>
Mon 26 Feb 2007 01:04:30 PM UTC, original submission:  

Leaving the STK200 plugged into a parallel port stops the chip from working dispite setting the -E noreset option. What is also odd, is if I leave the programmer plugged in, but pull out the reset line ONLY, it still refuses to work.
This problem is not present in 5.1
It's pretty clear it's not the reset line, I couldn't figure out what it was. Here is a link to the AVRFreaks forum item, where I wanted to get help. I hope it helps.

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=46874

AVR: atmega644
Programmer: STK200
OS: Linux

Anonymous

 

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

Attached Files
file #12045:  avrdude-5.3.1.diff added by jlu (430B - text/x-patch - correction of turning buffers off in par_close() in par.c)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wtherapy (Posted a comment)
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by joerg_wunsch (originator of bug #22019)
  • -email is unavailable- added by jlu (Updated 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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-26 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
    2008-01-14 joerg_wunsch Priority5 - Normal 7 - High
    2008-01-14 joerg_wunsch Carbon-Copy- Added -email is unavailable-
    2007-02-26 jlu Attached File- Added avrdude-5.3.1.diff, #12045

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code