avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] Re: AVR-chat Digest, Vol 39, Issue 3


From: James A.R. Koehler
Subject: [avr-chat] Re: AVR-chat Digest, Vol 39, Issue 3
Date: Tue, 08 Apr 2008 11:41:33 -0700

Willy,

        I would try a  pull-up resistor of, say 4.7K, between the 5V supply and
the input pin to the ATTiny12.  That might be enough to make it work.  I
think it is fairly safe as the LPC21xx series are not too sensitive to
somewhat higher voltage on the I/O pins.

        Jim



On Tue, 2008-04-08 at 12:00 -0400, address@hidden wrote:
> Send AVR-chat mailing list submissions to
>       address@hidden
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.nongnu.org/mailman/listinfo/avr-chat
> or, via email, send a message with subject or body 'help' to
>       address@hidden
> 
> You can reach the person managing the list at
>       address@hidden
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of AVR-chat digest..."
> 
> 
> Today's Topics:
> 
>    1. About JTAG... (Vincent Trouilliez)
>    2. Re: Atmega16, Timer1 (Shashank Chintalagiri)
>    3. Re: USBasp with avrdude20080402 (Shashank Chintalagiri)
>    4. RE: Atmega16, Timer1 (Weddington, Eric)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 7 Apr 2008 22:18:18 +0200
> From: Vincent Trouilliez <address@hidden>
> Subject: [avr-chat] About JTAG...
> To: "address@hidden" <address@hidden>
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=US-ASCII
> 
> Hi list,
> 
> I started an AVR project long ago, uses an ATmega32, programmed via ISP.
> I am about to modify the hardware and while at it, would like to switch
> from using ISP to using JTAG, so as to get experience in using JTAG in
> its own right (since I never used it), as well as enjoy (I anticipate
> it will be enjoyable ;-) the on-chip debugging features that the AVRs
> offer via JTAG.
> 
> I am set on the programmer. Following advise from this list, the AVR
> Dragon from Atmel, sounds ideal, especially since debugging is limited
> to 32KB chips, and I happen to be using a mega32 so... that's good luck.
> 
> 
> Questions: 
> 
> 1) when I was using ISP, I found the "terminal" mode of
> avrdude, to be truly invaluable. I looked at the man page for avrdude,
> and it does say it supports the AVR Dragon in JTAG mode, but I am not
> quite 100% sure from the man page, if the terminal mode is also
> supported when using JTAG. The AVR datasheet does say that JTAG can
> access the EEPROM, just not sure if avrdude can/does make use of it in
> terminal mode.
> 
> 2) I understand that the program to use for debugging is "avarice". 
> I looked at the man page for it, and I thiiiiink the ATmega32/Dragon
> combination is supported, but again, would love to have an explicit
> confirmation from people who actually know for sure, from experience.
> 
> 3) Does question 1) make sense at all ? I mean, when using gdb and a
> GUI to debug the program via JTAG, can't the gdb GUI display (and
> write) the contents of the EEPROM and Flash, in a similar fashion to
> avrdude's terminal mode ? This way I would not have to switch
> constantly to avrdude for terminal mode, then switch back the the
> debugger etc.
> 
> 4) if you feel I missed some JTAG related issue I should be aware
> of, please tell me ! ;-)
> 
> 
> Regards,
> 
> --
> Vince
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 8 Apr 2008 01:49:47 +0530
> From: "Shashank Chintalagiri" <address@hidden>
> Subject: Re: [avr-chat] Atmega16, Timer1
> To: "Weddington, Eric" <address@hidden>
> Cc: address@hidden
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> I'm working with the AtMega16.
> 
> It started working all of a sudden. I still dont know why it wasnt
> working before, though. :(
> 
> Thanks anyway.
> 
> On Mon, Apr 7, 2008 at 8:41 PM, Weddington, Eric
> <address@hidden> wrote:
> >
> >
> >  > -----Original Message-----
> >  > From: address@hidden
> >  > [mailto:address@hidden
> >  >  On Behalf Of Shashank Chintalagiri
> >  > Sent: Sunday, April 06, 2008 8:08 AM
> >  > To: address@hidden
> >  > Subject: [avr-chat] Atmega16, Timer1
> >  >
> >  > Hi,
> >  > I'm getting strange problems when trying to use the Timer1's OCR1A
> >  > channel in the Fast PWM, TOP=ICR1 mode. Code wich works just fine by
> >  > setting OCR1BL to some value doesnt work with OCR1AL. I've put in the
> >  > exact same comfigurations for both A and B, and the output pin is
> >  > infact set to output. Is there something ridiculously simple that I am
> >  > missing?
> >
> >  Um, telling us which AVR device that you're using? :-)
> >
> 
> 
> 
> -- 
> ________________________________
> Chintalagiri Shashank
> Junior Undergraduate
> Department of Physics
> Indian Institute of Technology, Kanpur
> 
> address@hidden
> address@hidden
> http://home.iitk.ac.in/~chintal
> ________________________________
> 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 8 Apr 2008 01:50:54 +0530
> From: "Shashank Chintalagiri" <address@hidden>
> Subject: [avr-chat] Re: USBasp with avrdude20080402
> To: address@hidden
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> I can confirm that this is a problem with the new winavr. Installing
> the previous release from 20071221 worked immediately on two different
> computers.
> 
> On Sun, Apr 6, 2008 at 4:01 PM, Shashank Chintalagiri
> <address@hidden> wrote:
> > Hi,
> >
> >  I'm having some problem using USB asp with the new winavr release on
> >  windows. I keep getting this error when trying to run avrdude :
> >
> >  avrdude: error: could not find USB device "USBasp" with vid=0x16c0 
> > pid=0x5dc
> >
> >  The usbasp driver installed fine and i can see the programmer in the
> >  device manager. Did something change in the latest release that could
> >  explain this breakage?
> >
> >  Thanks
> >  Shashank
> >  --
> >  ________________________________
> >  Chintalagiri Shashank
> >  Junior Undergraduate
> >  Department of Physics
> >  Indian Institute of Technology, Kanpur
> >
> >  address@hidden
> >  address@hidden
> >  http://home.iitk.ac.in/~chintal
> >  ________________________________
> >
> 
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]