2005-03-02 by wbounce
After looking at my reply and your stuff again I think shift in must be ADC analog to digital converter. On my Atmega 128 this would be done on port F. Sorry if I and not be of more help because I have not done anything with that yet. -----Original Message----- From: wbounce [mai
Thread view
Attachments: 0
2005-03-02 by wbounce
Variable are declared like uint8_t val02,i; Pins on AVR are like PINA1 My AVR has ports A through G The For would look like For(i=0;i
Thread view
Attachments: 0
2005-03-02 by Honea
I am trying to convert some bs2 code for my distance sensor to work in C for my AVR. Here is the sensor and bs2 code. http://www.acroname.com/robotics/info/examples/GP2D02-4/GP2D02-4.html '-------------------------------------------------------- ' variable declarations val02 var
Thread view
Attachments: 0
2005-03-01 by Dave VanHorn
> >Doh! >Well at least you found the dumb mistake yourself rather than someone else >pointing out the 'obvious' ;-) Well, no.. That came in on "freaks". > >_I_ would not trip over such a bug as _I_ let the C compiler worry about >this 'trivial minutae' > VBG/ >Is this happeing _a
Thread view
Attachments: 0
2005-03-01 by Ivan Vernot
----- Original Message ----- From: "Dave VanHorn" dvanhorn@dvanhorn.org > To: AVR-Chat@yahoogroups.com >; AVR-Chat@yahoogroups.com > Sent: Wednesday, March 02, 2005 10:22 AM Subject: Re: [AVR-Chat] Prototypitis > > Got it, at least the first half. > Genuine HomerCode(tm) > Doh! W
Thread view
Attachments: 0
2005-03-01 by Dave VanHorn
At 06:29 PM 3/1/2005, John Samperi wrote: >At 10:22 AM 2/03/2005, you wrote: > > >The vector table needs to be JMPs, not Rjmps, as the JMPs are 4 bytes, and > >Rjmp is two. > >Congratulations!! Glad YOU went through this harrowing >experience, I would have done exactly the same w
Thread view
Attachments: 0
2005-03-01 by John Samperi
At 10:22 AM 2/03/2005, you wrote: >The vector table needs to be JMPs, not Rjmps, as the JMPs are 4 bytes, and >Rjmp is two. Congratulations!! Glad YOU went through this harrowing experience, I would have done exactly the same with the RJMPs as all of my code so far has been for 8
Thread view
Attachments: 0
2005-03-01 by Russell Shaw
Dave VanHorn wrote: > > Well, it's still got me. > > USART1 continuously hits me with a TXD int, even though it's not enabled. > > > .org 0 > rjmp RESET ; > rjmp EX_INT0 ; ... > rjmp USART1_UDRE ; > rjmp USART1_TX ; rjmp TWI ; > rjmp SPM_READY ; > > According to the ICE, I really
Thread view
Attachments: 0
2005-03-01 by Dave VanHorn
At 05:58 PM 3/1/2005, John Samperi wrote: >At 09:50 AM 2/03/2005, you wrote: > > >Hmm.. I only have three of the 128Ls in hand. > >This is a 3V app. > >Can you raise the voltage (5v?) for testing purposes. >Maybe a border case chip??? (scary thought) > >I think I better go and do
Thread view
Attachments: 0
2005-03-01 by Ralph Hilton
On Sun, 27 Feb 2005 16:44:58 +1300 Erik wrote: > >What's up with the worthless HTML Email? did you know it takes up 72K in file size, when it >should not be any bigger than about 5K if it was a standard plain text Email. > > >From Eric If bandwidth is so short then delete previou
Thread view
Attachments: 0
2005-03-01 by John Samperi
At 09:50 AM 2/03/2005, you wrote: >Hmm.. I only have three of the 128Ls in hand. >This is a 3V app. Can you raise the voltage (5v?) for testing purposes. Maybe a border case chip??? (scary thought) I think I better go and do some work....but this is so interesting...I know, I mus
Thread view
Attachments: 0
2005-03-01 by Dave VanHorn
At 05:40 PM 3/1/2005, Ivan Vernot wrote: >David, >Now you have me intrigued... ;-0) It really is very weird what you are >experiencing.... > >A few (long shot) things to try (I hope I don't offend) > >1. _How_ are you certain that it is the USART1_TX ISR that is firing? (As >oppo
Thread view
Attachments: 0
2005-03-01 by John Samperi
At 09:22 AM 2/03/2005, you wrote: >S3.56 works though, and confirms that the M103 bit is NOT checked. Can you try another board/chip? Maybe time to ask the (perhaps)larger audience at avrfreaks. I'm out of ideas (and still chewing my fingernails...hmmm..the index finger's bone is
Thread view
Attachments: 0
2005-03-01 by Ivan Vernot
David, Now you have me intrigued... ;-0) It really is very weird what you are experiencing.... A few (long shot) things to try (I hope I don't offend) 1. _How_ are you certain that it is the USART1_TX ISR that is firing? (As opposed to anther ISR that calls the same handler. or t
Thread view
Attachments: 0
2005-03-01 by Graham Davies
--- In AVR-Chat@yahoogroups.com, rajesh parwani wrote: > can anyone help me to configure > the portc in normal i/o mode > from jtag ... Set the JTD bit early in your program. See the data sheet for details. Graham.
Thread view
Attachments: 0
2005-03-01 by Dave VanHorn
At 05:00 PM 3/1/2005, Erik Loose wrote: >That's a great idea to check. It makes a HUGE difference, particularly, if I >remember correctly, since the UART register addresses change. Ok, so I went back to double-check that, and I ran into the other problem I've been having. Studio
Thread view
Attachments: 0
2005-03-01 by Dave VanHorn
At 05:02 PM 3/1/2005, Bruce Parham wrote: >John Samperi wrote: > > > > At 08:34 AM 2/03/2005, you wrote: > > > > >It almost looks like my vector table is wrong or something, but I've > > >counted the entries, and checked it against the one in the data sheet. > > > > Checked your
Thread view
Attachments: 0
2005-03-01 by Bruce Parham
John Samperi wrote: > > At 08:34 AM 2/03/2005, you wrote: > > >It almost looks like my vector table is wrong or something, but I've > >counted the entries, and checked it against the one in the data sheet. > > Checked your table and it looks OK. Just one comment (a silly one) > h
Thread view
Attachments: 0
2005-03-01 by Erik Loose
That's a great idea to check. It makes a HUGE difference, particularly, if I remember correctly, since the UART register addresses change. -----Original Message----- From: John Samperi [mailto:samperi@ampertronics.com.au] Sent: Tuesday, March 01, 2005 13:56 To: AVR-Chat@yahoogrou
Thread view
Attachments: 0
2005-03-01 by Bruce Parham
Dave VanHorn wrote: > > At 04:29 PM 3/1/2005, John Samperi wrote: > > >At 08:18 AM 2/03/2005, you wrote: > > > > > > >Well, it's still got me. > > > > > >USART1 continuously hits me with a TXD int, even though it's not enabled. > > > >Hmmm... I was just asking about that...perfec
Thread view
Attachments: 0
2005-03-01 by John Samperi
At 08:34 AM 2/03/2005, you wrote: >It almost looks like my vector table is wrong or something, but I've >counted the entries, and checked it against the one in the data sheet. Checked your table and it looks OK. Just one comment (a silly one) have checked you M103 comaptibility f
Thread view
Attachments: 0
2005-03-01 by Dave VanHorn
At 04:29 PM 3/1/2005, John Samperi wrote: >At 08:18 AM 2/03/2005, you wrote: > > > >Well, it's still got me. > > > >USART1 continuously hits me with a TXD int, even though it's not enabled. > >Hmmm... I was just asking about that...perfect timing. >Have you tried just to run your
Thread view
Attachments: 0
2005-03-01 by Dave VanHorn
At 04:23 PM 3/1/2005, John Samperi wrote: >Hi David > >Here I am chewing my finger nails waiting to hear >the reults of you Prototypitis :-)\ Me too.. I'm just not seeing why the uart should even BE interrupting me like this. It's probably something simple, but according to the r
Thread view
Attachments: 0
2005-03-01 by John Samperi
At 08:18 AM 2/03/2005, you wrote: >Well, it's still got me. > >USART1 continuously hits me with a TXD int, even though it's not enabled. Hmmm... I was just asking about that...perfect timing. Have you tried just to run your code WITHOUT the ICE? NOT that I doubt the fuctionality
Thread view
Attachments: 0
2005-03-01 by John Samperi
Hi David Here I am chewing my finger nails waiting to hear the reults of you Prototypitis :-) I'm about to modify one of my boards currently using a Motorola HC711 chip over to a M64 (or M128), so I'm interested in your misfortunes so that I can learn and avoid them, especially t
Thread view
Attachments: 0
2005-03-01 by Dave VanHorn
Well, it's still got me. USART1 continuously hits me with a TXD int, even though it's not enabled. .org 0 rjmp RESET ; rjmp EX_INT0 ; rjmp EX_INT1 ; rjmp EX_INT2 ; rjmp EX_INT3 ; rjmp EX_INT4 ; rjmp EX_INT5 ; rjmp EX_INT6 ; rjmp EX_INT7 ; rjmp T2_COMP ; rjmp T2_OVF ; rjmp T1_CAPT
Thread view
Attachments: 0
2005-03-01 by Eric
Yes and the "3db" figure is often used as that is when hearing is "Twice as loud" A frequency response on a Audio Amplifier is normal quoted within the 3db limits From Eric ----- Original Message ----- From: "Jim Wagner" To: Sent: Wednesday, March 02, 2005 5:32 AM Subject: Re: [A
Thread view
Attachments: 0
2005-03-01 by Jim Wagner
Noise Figure is a measure of the noise ADDED to a signal by a circuit. See URL below. Remember, Google Is Your Friend! Jim http://www.maxim-ic.com/appnotes.cfm/appnote_number/2875 On Tue, 01 Mar 2005 11:09:46 -0000 "aswinefy2003" wrote: > > > > Can any one say whatis the physical
Thread view
Attachments: 0
2005-03-01 by Javier Fiasche
Try suingthe serial programming commands that are in the AVR datasheets and unprogramming theJTAGEN (jtag enable) fuse bit (write a "1" to it) Hope it helps Javier -----Mensaje original----- De: rajesh parwani [mailto:rajesh_almighty@yahoo.co.in] Enviado el: Lunes, 28 de Febrero
Thread view
Attachments: 0
2005-03-01 by Eric
I like your question? can you tell us more? where did you see this information? "3db noise" I am confused? I must go to bed? From Eric ----- Original Message ----- From: "aswinefy2003" To: Sent: Wednesday, March 02, 2005 12:09 AM Subject: [AVR-Chat] help Can any one say whatis th
Thread view
Attachments: 0
2005-03-01 by aswinefy2003
Can any one say whatis the physical meaning of 3db noise figure
Thread view
Attachments: 0
2005-02-28 by rajesh parwani
can anyone help me to configure the portc in normal i/o mode from jtag . i just have a sercon programmer i.e isp pls help me Yahoo! India Matrimony : Find your life partner online .
Thread view
Attachments: 0
2005-02-27 by Mike Harrison
On Sun, 27 Feb 2005 08:05:41 -0700, you wrote: > > >> >> >> > >> >> On 25 Feb 2005, at 19:14, Jim White wrote: >> >> >> >>> We are developing a board that will be a USB device (not host) using a >> >>> CP2101. >> >>> >> >>> Is there some sort of central registry for Vendor ID and
Thread view
Attachments: 0
2005-02-27 by Jim White
> > > > > >> On 25 Feb 2005, at 19:14, Jim White wrote: > >> > >>> We are developing a board that will be a USB device (not host) using a > >>> CP2101. > >>> > >>> Is there some sort of central registry for Vendor ID and / or Product ID > >>> ? > >>> > >>> This will not be a mass
Thread view
Attachments: 0
2005-02-27 by Dave VanHorn
At 02:23 AM 2/27/2005, John Samperi wrote: >At 11:54 AM 27/02/2005, you wrote: > >Studio (latest version) tells me that it can't see the programmer, which is > >on COM1 a "real" hardware serial port. > >As a matter of interest have you got an USB to RS232 converter >that you can
Thread view
Attachments: 0
2005-02-27 by John Samperi
At 11:54 AM 27/02/2005, you wrote: >Studio (latest version) tells me that it can't see the programmer, which is >on COM1 a "real" hardware serial port. As a matter of interest have you got an USB to RS232 converter that you can use? I know, I know this sounds crazy....BUT... I ha
Thread view
Attachments: 0
2005-02-27 by Kathy Quinlan
Dave VanHorn wrote: > > Ok, back to the original subject.. > > I've got my board's fuses set, so I'm in pretty good shape, but only > because I thought to use the old studio 3.56 to run the AVRISP. > > Both AVRISP and Jtag refuse to go into fuse setting mode under studio 4. > Avr
Thread view
Attachments: 0
2005-02-27 by Shibu Krishnan
hi geeks i am using ADC0804 -8 bit successive approximaton ADC in one of my application. i hv given POT as the V in+ (Pin6)and grounded Vin- (pin7). Vref is fixed 2.5. Pot is given VCC also. i hv an LCD programmed to read the 8 bit data from ADC.iam converting HEX to Decimal and
Thread view
Attachments: 0
2005-02-27 by Dave VanHorn
Ok, back to the original subject.. I've got my board's fuses set, so I'm in pretty good shape, but only because I thought to use the old studio 3.56 to run the AVRISP. Both AVRISP and Jtag refuse to go into fuse setting mode under studio 4. Avrisp is acting pretty normal now, run
Thread view
Attachments: 0
2005-02-27 by Daniel Boyer
Oh I see what you mean... When I look at the groups.yahoo.com interface I see that there was an attachment (jpg) to one of the emails... Outlook or my virus program must have stripped it for me. Daniel -----Original Message----- From: Daniel Boyer [mailto:dpboyer@dpicts.com] Sent
Thread view
Attachments: 0
2005-02-27 by Daniel Boyer
None of the messages in this thread have been over 4K... Are you sure you have your yahoo groups preferences set correctly (they default to converting the messages to html). Daniel -----Original Message----- From: Eric [mailto:erichards@clear.net.nz] Sent: Saturday, February 26,
Thread view
Attachments: 0
2005-02-27 by Eric
What's up with the worthless HTML Email? did you know it takes up 72K in file size, when it should not be any bigger than about 5K if it was a standard plain text Email. From Eric ----- Original Message ----- From: "Dave VanHorn" To: ; Sent: Sunday, February 27, 2005 4:15 PM Subj
Thread view
Attachments: 0
2005-02-27 by Dave VanHorn
> > > I love the chips, I hate the tools. > >It might have something to do with the new firmware upgrades that come >with avr studio. That's what I said. Now that I have it running code, I'm trying to figure why USART1 is giving me a TXD int every few cycles, even through the uar
Thread view
Attachments: 0
2005-02-27 by Dave VanHorn
At 09:23 PM 2/26/2005, Ron wrote: >Have you upgraded the AVRISP and/or the >STK500 with the 2.0 firmware ? Ron Well, no, since studio says it can't see them, I don't get the option to do that. >----- Original Message ----- >From: Dave VanHorn >To: AVR-Chat@yahoogroups.com ; > AVR
Thread view
Attachments: 0
2005-02-27 by Ron
Have you upgraded the AVRISP and/or the STK500 with the 2.0 firmware ? Ron ----- Original Message ----- From: Dave VanHorn To: AVR-Chat@yahoogroups.com ; AVR-Chat@yahoogroups.com ; AVR-Chat@yahoogroups.com Sent: Saturday, February 26, 2005 8:41 PM Subject: Re: [AVR-Chat] Prototyp
Thread view
Attachments: 0
2005-02-27 by Russell Shaw
Dave VanHorn wrote: > > More interesting.. > > I was able to use Studio 3.56 to talk to my AVRISP, and set the fuses properly. > Now the chip acts normally, executes my code, but, the SAME AVRISP and > cable, still refuse to be "seen" in the latest studio.. > > @$!$@#!~ > > I lov
Thread view
Attachments: 0
2005-02-27 by Dave VanHorn
More interesting.. I was able to use Studio 3.56 to talk to my AVRISP, and set the fuses properly. Now the chip acts normally, executes my code, but, the SAME AVRISP and cable, still refuse to be "seen" in the latest studio.. @$!$@#!~ I love the chips, I hate the tools.
Thread view
Attachments: 0
2005-02-27 by Dave VanHorn
Ok, I'm sitting here with a new M128 prototype, that's giving me fits. I can't program it with AVRISP. Studio (latest version) tells me that it can't see the programmer, which is on COM1 a "real" hardware serial port. I get the proper LED dance on powerup on the AVRISP, so that s
Thread view
Attachments: 0
2005-02-26 by Jim White
Thanks for all the responses. Just what we needed. Jim At 12:20 PM 02/26/2005 +0000, you wrote: >On Sat, 26 Feb 2005 13:12:51 +0100, you wrote: > > > > >> On 25 Feb 2005, at 19:14, Jim White wrote: > >> > >>> We are developing a board that will be a USB device (not host) using a
Thread view
Attachments: 0
2005-02-26 by Mike Harrison
On Sat, 26 Feb 2005 13:12:51 +0100, you wrote: > >> On 25 Feb 2005, at 19:14, Jim White wrote: >> >>> We are developing a board that will be a USB device (not host) using a >>> CP2101. >>> >>> Is there some sort of central registry for Vendor ID and / or Product ID >>> ? >>> >>>
Thread view
Attachments: 0