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)

Submitted by:  None
Submitted on:  Mon 26 Feb 2007 01:04:30 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 7 - HighItem Group: None
Status: FixedPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: Daine Mamacos
Originator Email: -unavailable-Open/Closed: Closed
Release: NoneProgrammer 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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

 

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
  • -unavailable- added by wtherapy (Posted a comment)
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by joerg_wunsch (originator of bug #22019)
  • -unavailable- added by jlu (Updated the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 26 Aug 2011 07:48:51 PM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
    Mon 14 Jan 2008 03:31:16 PM UTCjoerg_wunschPriority5 - Normal=>7 - High
    Mon 14 Jan 2008 03:30:21 PM UTCjoerg_wunschCarbon-Copy-=>Added -unavailable-
    Mon 26 Feb 2007 04:14:05 PM UTCjluAttached File-=>Added avrdude-5.3.1.diff, #12045

    Back to the top


    Powered by Savane 3.1-cleanup1