Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Messages

Browse messages

Page 113 of 307 · 15341 messages matched

Re: [AVR-Chat] Further Adventures

2007-07-11 by David VanHorn

> > Never ventured there up to now. I wish I could avoid it, but it's going to be necessary. At the moment, I have it ok up to the point of erasing a block, then it just seems to fall off the edge of the world. I have bit-toggle diagnostics that are telling me that I am initiatin

Thread view Attachments: 0

Re: [AVR-Chat] Further Adventures

2007-07-11 by John Samperi

At 06:26 PM 11/07/2007, you wrote: >Shifting to the WDCE dance does it for me, and now my 200mS resets >work fine, :-) >Now playing with bootloader code. Never ventured there up to now. Regards John Samperi ******************************************************** Ampertronics Pty

Thread view Attachments: 0

Re: [AVR-Chat] Further Adventures

2007-07-11 by David VanHorn

Interesting.. I'd always thought that I could change the prescaler AT or before activation without going through the dance, and apparently it works SOMETIMES that way. Shifting to the WDCE dance does it for me, and now my 200mS resets work fine, and a reboot takes about 2 seconds

Thread view Attachments: 0

Re: [AVR-Chat] Further Adventures

2007-07-11 by John Samperi

At 03:50 PM 11/07/2007, you wrote: >The code that I'm using to handle the WDR is a very old That COULD be the problem, I think the M128 needs a different init than the older chips. This is what I had in one project when I had to use either old 8515 or new M8515. Of course I don't

Thread view Attachments: 0

Further Adventures

2007-07-11 by Dave VanHorn

Has anyone (other than me.. :) seen odd behaviour with the WDT in the M128? What I'm seeing now, is a timeout period that's in the low milliseconds, even with the prescaler set to MAX. It's supposed to be about 2 seconds this way.. I'm running on an 8 MHz internal RC. Originally

Thread view Attachments: 0

Re: [AVR-Chat] Debugging Bootloaders

2007-07-10 by David VanHorn

> Sorry - I think in C. I realized after I sent it that you were working in ASM. That's ok, I can use C code for algorithms anyway. I think I have it together now, just need to do some testing.

Thread view Attachments: 0

Re: [AVR-Chat] Debugging Bootloaders

2007-07-10 by Dave Hylands

HI David, > > For many things, like the xmodem protocol that you mentioned in > > another email, you can debug your version of the code on a PC as well. > > AVR emulator on the PC? I'm writing in ASM. Sorry - I think in C. I realized after I sent it that you were working in ASM.

Thread view Attachments: 0

Re: [AVR-Chat] Debugging Bootloaders

2007-07-10 by David VanHorn

> I don't use a JTAG. I tend to prefer using print statements and a > serial port. This comes from working with RTOSes (admittedly mostly on > non-AVRs) and I find that debugging realtime stuff with a JTAG just > doesn't work very well. Once the system is up and running, it's a c

Thread view Attachments: 0

Re: Debugging Bootloaders

2007-07-10 by Mike

--- In AVR-Chat@yahoogroups.com, "Dave VanHorn" wrote: > > > Why re-invent the wheel? > > :) I need a slightly differently shaped wheel. > > Source in ASM, and I need to talk to a linux embedded system, so PC > apps that speak odd protocols won't work. So I'm doing xmodem protoco

Thread view Attachments: 0

Re: [AVR-Chat] Debugging Bootloaders

2007-07-09 by Dave Hylands

Hi Dave, On 7/9/07, Dave VanHorn wrote: > > Anyone have tips/experience to share on debugging bootloaders with the > Jtag ice on a M128? I don't use a JTAG. I tend to prefer using print statements and a serial port. This comes from working with RTOSes (admittedly mostly on non-AV

Thread view Attachments: 0

Re: [AVR-Chat] Debugging Bootloaders

2007-07-09 by Ralph Hilton

On Mon, 09 Jul 2007 21:33:56 -0000 you wrote: > >Anyone have tips/experience to share on debugging bootloaders with the >Jtag ice on a M128? http://www.cmeter.org/CVmegaload/index.html gives working code for an M128 bootloader. Why re-invent the wheel? -- Ralph Hilton http://www.

Thread view Attachments: 0

Re: Debugging Bootloaders

2007-07-09 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, "Dave VanHorn" wrote: > Anyone have tips/experience to share on debugging > bootloaders with the Jtag ice on a M128? I've done it - not particularly difficult. I combined the bootloader and main application .hex files into a single file and had AV

Thread view Attachments: 0

Re: Debugging Bootloaders

2007-07-09 by Dave VanHorn

> Why re-invent the wheel? :) I need a slightly differently shaped wheel. Source in ASM, and I need to talk to a linux embedded system, so PC apps that speak odd protocols won't work. So I'm doing xmodem protocol since we can get command line utils in linux to send the file.

Thread view Attachments: 0

Debugging Bootloaders

2007-07-09 by Dave VanHorn

Anyone have tips/experience to share on debugging bootloaders with the Jtag ice on a M128?

Thread view Attachments: 0

Re: [AVR-Chat] ***ARGH***

2007-07-06 by Jeffrey Engel

The Fates are against you, Thomas. Sacrifice a virgin. Mouser (www.mouser.com) also lists them in a variety of packages - well, at least the Tiny 45 and Tiny 85. I wasn't looking for the 25's. HTH, Jeff Engel Arlington, TX about 5 miles from Mouser. --- Thomas Keller wrote: > > D

Thread view Attachments: 0

Re: [AVR-Chat] ***ARGH***

2007-07-06 by Zack Widup

I see the ATtiny25 listed in all sorts of packages there. For instance, http://www.digikey.com/scripts/DkSearch/dksus.dll?Detail?Ref=215402&Row=471939&Site=US Zack On Fri, 6 Jul 2007, Thomas Keller wrote: > > DAG NAB IT ALL TO HECK!!!!!!!!! > > > Digikey only lists 20 pin QFN pac

Thread view Attachments: 0

***ARGH***

2007-07-06 by Thomas Keller

DAG NAB IT ALL TO HECK!!!!!!!!! Digikey only lists 20 pin QFN packages for the ATtiny25. I do NOT want to use SMT devices in this design, as initially, at least, it will be being hand fabricated. The device is available in 8 pin DIP, 8 pin SOIC and 20 pin QFN packages, according

Thread view Attachments: 0

RE: [AVR-Chat] *ah well*

2007-07-06 by Tim Mitchell

Roy E. Burrage wrote: > The ATTiny15 is not recommended for new designs Tom. You might want > to go with a tiny25 for an 8 pin or a tiny26 for a 20 pin jobberdoo. > In fact it is discontinued from December so I would definitely avoid it. Also it is non-ROHS for those of us who ha

Thread view Attachments: 0

Re: [AVR-Chat] *ah well*

2007-07-06 by Roy E. Burrage

The ATTiny15 is not recommended for new designs Tom. You might want to go with a tiny25 for an 8 pin or a tiny26 for a 20 pin jobberdoo. REB Thomas Keller wrote: >Yes, indeedy, John hit the nail onthe head. I was blissfully reading the >data sheet onthe ATmega8515, not realizing

Thread view Attachments: 0

*ah well*

2007-07-06 by Thomas Keller

Yes, indeedy, John hit the nail onthe head. I was blissfully reading the data sheet onthe ATmega8515, not realizing that the PWM on timer./counter 0 doesn't exist on the AT90S8515. DAG NAB IT. Oh well, at least I have an ATmega48 here which does have PWMs and timers, both. My pro

Thread view Attachments: 0

Re: [AVR-Chat] *sigh*

2007-07-06 by Thomas Keller

BobGardner@aol.com wrote: > > Did you ever post the whole program? It only takes 1 instruction to > init the > timer for pwm, and 1 instruction to change it. The rest of the program is > something like > read-a-pot-and- stick-the- 8-bit-result- in-the-ocr0- reg-to-control- > the-

Thread view Attachments: 0

Re: [AVR-Chat] *sigh*

2007-07-06 by Thomas Keller

John Samperi wrote: > > At 09:27 AM 6/07/2007, you wrote: > > > appears to be working, except that on an actual AT90S8515, the LED > never > > > dims. Am I missing something in the PWM setup? > > Perhaps the fact that the 90S8515 does NOT have PWM on timer0? > ***DOH*** DAMN! Is

Thread view Attachments: 0

Re: [AVR-Chat] *sigh*

2007-07-05 by David VanHorn

> Perhaps the fact that the 90S8515 does NOT have PWM on timer0? Hopefully he meant T1 ? True fact, T0 is "dumb", that's why I use it for opsys 1mS timer ticks. I actually LIKE that it's a nice dumb timer.

Thread view Attachments: 0

Re: [AVR-Chat] *sigh*

2007-07-05 by BobGardner@aol.com

In a message dated 7/5/2007 7:38:07 P.M. Eastern Daylight Time, tjkeller1@alltel.net writes: BobGardner@aol.com wrote: > > I think you need to stick a 0x49 into TCCR0 to get timer0 into fast pwm > mode, prescaler of 1. Then just put whatever you want in OCR0 to adj > duty.. I use

Thread view Attachments: 0

Re: [AVR-Chat] *sigh*

2007-07-05 by John Samperi

At 09:27 AM 6/07/2007, you wrote: > > appears to be working, except that on an actual AT90S8515, the LED never > > dims. Am I missing something in the PWM setup? Perhaps the fact that the 90S8515 does NOT have PWM on timer0? Regards John Samperi **********************************

Thread view Attachments: 0

*AHA*

2007-07-05 by Thomas Keller

I think I just figured out what the problem is!! Placing this hting in fast PWM mode, the TOP it uses is 0xff, *NOT* the value I am placing in OCR0. I think I need to try inverting the values in my table, to read 255 - (sin(x)^2 * 255). I have a sneaking suspiscion this will reso

Thread view Attachments: 0

Re: [AVR-Chat] *sigh*

2007-07-05 by Thomas Keller

BobGardner@aol.com wrote: > > I think you need to stick a 0x49 into TCCR0 to get timer0 into fast pwm > mode, prescaler of 1. Then just put whatever you want in OCR0 to adj > duty.. I use > the iccavr appbuilder. > Well, I tried 0x49, same symptoms. LED lights at 100% and stays t

Thread view Attachments: 0

Re: [AVR-Chat] *sigh*

2007-07-05 by Thomas Keller

David VanHorn wrote: > > Possible problem in EEread? > Good call, but no, EERead is returning the correct values and they are getting programmed into OCR0 correctly,that is what r27 is monitoring. > On 7/5/07, Thomas Keller > wrote: > > > > Alright. I am monitoring the control re

Thread view Attachments: 0

Re: [AVR-Chat] *sigh*

2007-07-05 by BobGardner@aol.com

I think you need to stick a 0x49 into TCCR0 to get timer0 into fast pwm mode, prescaler of 1. Then just put whatever you want in OCR0 to adj duty.. I use the iccavr appbuilder. ************************************** See what's free at http://www.aol.com. [Non-text portions of thi

Thread view Attachments: 0

Re: [AVR-Chat] *sigh*

2007-07-05 by David VanHorn

Possible problem in EEread? On 7/5/07, Thomas Keller wrote: > > Alright. I am monitoring the control register (OCR0) and it is getting > the appropriate values to cause the PWM unit to dim the LED, but the LED > is staying brightly lit, at 100% all the time. In the simulator, you

Thread view Attachments: 0

*sigh*

2007-07-05 by Thomas Keller

Alright. I am monitoring the control register (OCR0) and it is getting the appropriate values to cause the PWM unit to dim the LED, but the LED is staying brightly lit, at 100% all the time. In the simulator, you cannot see the PWM output, but by watching the various registers, i

Thread view Attachments: 0

Re: *sigh*

2007-07-05 by Rick

--- In AVR-Chat@yahoogroups.com, Thomas Keller wrote: > I can;t find a datasheet for the AT90S8515, so I was using the data > sheet for the ATmega8515. DAG NAB IT. The datasheet for the AT90S8515 is available from Atmel's website -- just do a search for "AT90S8515" from their hom

Thread view Attachments: 0

Re: Antenna interfacing help?

2007-07-05 by Richard Cooke

Eric, What antenna type have you settled on? We'd like to use a very small antenna like those used in after market car alarms. I put a photo of an example antenna on our web site: http://www.digitalwavelength.com/devices/433_MHz_remote_control_example.html I hope this shows what

Thread view Attachments: 0

RE: [AVR-Chat] PWM problems, still *sigh*

2007-07-05 by subscriptions@aeolusdevelopment.com

Thomas Keller Wrote > Well. I am watching the value of OCA0, which is the control value for >the PWM module, and it is taking on the correct values as my program >steps through its table. but when I plug the program into an 8515 on >the STK-500, the LED comes on and stays on at f

Thread view Attachments: 0

Re: [AVR-Chat] PWM problems, still *sigh*

2007-07-05 by Thomas Keller

subscriptions@aeolusdevelopment.com wrote: > > Thomas Keller Wrote > > Well. I am watching the value of OCA0, which is the control value for > >the PWM module, and it is taking on the correct values as my program > >steps through its table. but when I plug the program into an 851

Thread view Attachments: 0

PWM problems, still *sigh*

2007-07-05 by Thomas Keller

Well. I am watching the value of OCA0, which is the control value for the PWM module, and it is taking on the correct values as my program steps through its table. but when I plug the program into an 8515 on the STK-500, the LED comes on and stays on at full intensity. ??? tom

Thread view Attachments: 0

Re: Antenna interfacing help?

2007-07-05 by Richard Cooke

I forgot to mention this will be used for the 433MHz band. Sorry about that. Richard Cooke --- In AVR-Chat@yahoogroups.com, "Jim Wagner" wrote: > > On Wed, 04 Jul 2007 20:27:55 -0000 > "Richard Cooke" wrote: > > Hi Folks, > > > > We need some help with a small hand held RF remote

Thread view Attachments: 0

Re: [AVR-Chat] Re: Antenna interfacing help?

2007-07-05 by Russell Shaw

Eric Engler wrote: > --- In AVR-Chat@yahoogroups.com, Russell Shaw wrote: >> Richard Cooke wrote: >>> We need some help with a small hand held RF remote controller project. >>> We're willing to pay for the help. Basically we need some help with >>> the matching circuit from the n

Thread view Attachments: 0

Re: [AVR-Chat] Antenna interfacing help?

2007-07-05 by Leon

----- Original Message ----- From: "Russell Shaw" To: Sent: Thursday, July 05, 2007 5:35 AM Subject: Re: [AVR-Chat] Antenna interfacing help? > Richard Cooke wrote: >> Hi Folks, >> >> We need some help with a small hand held RF remote controller project. >> We're willing to pay f

Thread view Attachments: 0

Re: [AVR-Chat] Antenna interfacing help?

2007-07-05 by Jim Wagner

On Thu, 05 Jul 2007 14:35:00 +1000 Russell Shaw wrote: > Richard Cooke wrote: > > Hi Folks, > > > > We need some help with a small hand held RF remote > controller project. > > We're willing to pay for the help. Basically we need > some help with > > the matching circuit from the

Thread view Attachments: 0

Re: [AVR-Chat] Antenna interfacing help?

2007-07-05 by Russell Shaw

Richard Cooke wrote: > Hi Folks, > > We need some help with a small hand held RF remote controller project. > We're willing to pay for the help. Basically we need some help with > the matching circuit from the nRF905 to a small helical antenna. > > If this is an inappropriate pos

Thread view Attachments: 0

Re: Antenna interfacing help?

2007-07-05 by Eric Engler

--- In AVR-Chat@yahoogroups.com, Russell Shaw wrote: > > Richard Cooke wrote: > > We need some help with a small hand held RF remote controller project. > > We're willing to pay for the help. Basically we need some help with > > the matching circuit from the nRF905 to a small hel

Thread view Attachments: 0

Re: Antenna interfacing help?

2007-07-05 by Eric Engler

--- In AVR-Chat@yahoogroups.com, "Jim Wagner" wrote: > Real helicals are sort of tricky. I second the motion! My attempts at making helicals have failed miserably. The winding consistency is critical. And the properties of the core have more effect on the end result than you migh

Thread view Attachments: 0

Re: problesm with PWM

2007-07-05 by enkitec

--- In AVR-Chat@yahoogroups.com, Thomas Keller wrote: > > *groan* I feel so stupid, I know it is right here in front of me, but > I am not seeing it. )-: > > tom > . I think you should make sure your ZERO register IS zero before using it. Mark Jordan

Thread view Attachments: 0

Re: [AVR-Chat] Re: problesm with PWM

2007-07-05 by Thomas Keller

Thanks, Hein. OK. I think I am getting a handle on this. timer/counter 0 is not running, as est I can figure out. i am having dsome difficulty figuring out which bit(s) in which register I am not setting appropriately. Taking care of the DDRB register solved the problem of no out

Thread view Attachments: 0

Re: [AVR-Chat] Antenna interfacing help?

2007-07-04 by Zack Widup

I never used a nRF905. I'll take a look at the data sheet and see what ideas I get. Zack On Wed, 4 Jul 2007, Richard Cooke wrote: > Hi Folks, > > We need some help with a small hand held RF remote controller project. > We're willing to pay for the help. Basically we need some hel

Thread view Attachments: 0

Re: [AVR-Chat] Antenna interfacing help?

2007-07-04 by Jim Wagner

On Wed, 04 Jul 2007 20:27:55 -0000 "Richard Cooke" wrote: > Hi Folks, > > We need some help with a small hand held RF remote > controller project. > We're willing to pay for the help. Basically we need > some help with > the matching circuit from the nRF905 to a small helical > a

Thread view Attachments: 0

Re: [AVR-Chat] Antenna interfacing help?

2007-07-04 by Jim Wagner

On Wed, 04 Jul 2007 20:27:55 -0000 "Richard Cooke" wrote: > Hi Folks, > > We need some help with a small hand held RF remote > controller project. > We're willing to pay for the help. Basically we need > some help with > the matching circuit from the nRF905 to a small helical > a

Thread view Attachments: 0

problesm with PWM

2007-07-04 by Thomas Keller

OK. I may not have communicated my problem very well with the post that included my source code listing. The problem is almost certainly somewhere in my setup of the PWM module. Everything else seems t be working just fine (the interrupt based timing loop is interrupting, the tab

Thread view Attachments: 0

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.