2007-07-24 by curtis
--- In AVR-Chat@yahoogroups.com, "curtis" wrote: > > --- In AVR-Chat@yahoogroups.com, Thomas Keller wrote: > > > Well I'am not going to ask how one aspirates granulated sugar, much > less I will not ask why TF?? > > > If you installed AVR Studio 4, then in the help section you wi
Thread view
Attachments: 0
2007-07-24 by Thomas Keller
John Samperi wrote: > > At 01:26 PM 19/07/2007, you wrote: > >I will **NEVER** pay Mickey$hit one thin DIME of my meager > >money. > > So is your copy of Windows a pirate copy? Or are you running > something OTHER than Windows? =-O > Fair question. NO, the copy of Windows 2000 Pr
Thread view
Attachments: 0
2007-07-23 by Thomas Keller
To all who obviously responded to me after my last cries for assistance, thank you. I will read your responses as soon as I can. I have just returned home from a 5 day hospitalization. Let me make this short and simple: do **NOT** under any circumstances aspirate granulated sugar
Thread view
Attachments: 0
2007-07-23 by enkitec@gmail.com
A dumb question: have you enabled INT before going to SLEEP? Mark Jordan On 23 Jul 2007 at 3:29, Richard Cooke wrote: > Hi Jim, > > The code works great - as long as I don't go into power-down mode. > While it is operating at full speed I never miss a switch press nor do > I get
Thread view
Attachments: 0
2007-07-23 by John Samperi
At 08:42 AM 23/07/2007, you wrote: >According to the Mega48 manual (page 40) I can see a table on page 37 of my manual. Page 40 is about System Control and Reset. I can see that PCINT is supposed to wake up the processor. Regards John Samperi *************************************
Thread view
Attachments: 0
2007-07-23 by Richard Cooke
Hi Jim, The code works great - as long as I don't go into power-down mode. While it is operating at full speed I never miss a switch press nor do I get any false triggers. I'm still trying so I haven't given up yet. Richard --- In AVR-Chat@yahoogroups.com, "Jim Wagner" wrote: > >
Thread view
Attachments: 0
2007-07-22 by Jim Wagner
Richard - This does not address your immediate question but is the next step after you solve that. Its tht nasty business of switch debounce. If it wakes up on a pin change, then does it start executing when the timers are fully up and operating? I've never dealt with this situat
Thread view
Attachments: 0
2007-07-22 by enkitec@gmail.com
On 22 Jul 2007 at 22:08, Richard Cooke wrote: > // Interrupt on any change on pins PCINT0-7: Off > // Interrupt on any change on pins PCINT8-14: On > // Interrupt on any change on pins PCINT16-23: Off > EICRA = 0x00; > EIMSK = 0x00; > PCICR = 0x02; > PCMSK1 = 0x0f; > PCIFR=0x02;
Thread view
Attachments: 0
2007-07-22 by John Samperi
At 06:28 AM 23/07/2007, you wrote: >Here is the external pin change ISR: Are you sure that you can wake up from sleep mode with PCINT? I haven't used it but perhaps that's not possible. SORRY :-( Regards John Samperi ******************************************************** Ampert
Thread view
Attachments: 0
2007-07-22 by Jim Wagner
On Sun, 22 Jul 2007 20:28:47 -0000 "Richard Cooke" wrote: > Hi Folks, > > How do you set up the external interrupt on change to get > the chip to > come out of powerdown mode? > > I'm having trouble with getting my Mega48V to come out of > powerdown. > I need to read/debounce 4 t
Thread view
Attachments: 0
2007-07-22 by Richard Cooke
Hi John, According to the Mega48 manual (page 40) the following conditions will wake the chip from power-down mode: "Only an External Reset, a Watchdog System Reset, a Watchdog Interrupt, a Brown-out Reset, a 2-wire Serial Interface address match, an external level interrupt on I
Thread view
Attachments: 0
2007-07-22 by Richard Cooke
Jim, Your post was empty. I'm desperate and I'm out of ideas. Thanks, Richard --- In AVR-Chat@yahoogroups.com, "Jim Wagner" wrote: > > On Sun, 22 Jul 2007 20:28:47 -0000 > "Richard Cooke" wrote: > > Hi Folks, > > > > How do you set up the external interrupt on change to get > > t
Thread view
Attachments: 0
2007-07-22 by Richard Cooke
Hi Folks, How do you set up the external interrupt on change to get the chip to come out of powerdown mode? I'm having trouble with getting my Mega48V to come out of powerdown. I need to read/debounce 4 tactile switches, power up a nRF905 chip, send the command and then go back t
Thread view
Attachments: 0
2007-07-21 by Reza
--- organix80 wrote: > Is it possible to use 16-bit constant labels in > WinAVR inline assembly? > > Normally, in a assembly program, you can do: > > lds r16, 0x0412 (just a example) > > In mixed C/asm, some variables are stored in SRAM by > the compiler. How > to read them using
Thread view
Attachments: 0
2007-07-20 by Roy E. Burrage
Randy, If your switch is a KILL/ESTOP switching function, if memory serves correctly, it must be a mechanical type according to most electrical codes...and conservative design practice. We don't need to depend on any electronic component, with its indefinite or undefined life exp
Thread view
Attachments: 0
2007-07-20 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "bytheriverkwai" wrote: > How does the AVR do this internally - is the mcu is executing it's > own form of "CLI"? Or is it just turning off the Enable flags for > INT0 and INT1? The AVR operates as described in the respective datasheet. For exampl
Thread view
Attachments: 0
2007-07-20 by bytheriverkwai
--- In AVR-Chat@yahoogroups.com, John Samperi wrote: > > > If INT1 routine or ANY OTHER interrupts routine is running > then nothing else can stop that routine UNLESS you reenable > interrupts within the INT1 routine which is VERY DANGEROUS > unless you handle it properly. > > Yo
Thread view
Attachments: 0
2007-07-20 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "organix80" wrote: > Does anyone know the method and constrains that must be used > to read C SRAM variables using 'lds' and 'sts' in inline assembly? Just use the variable's name, e.g. char myVar; int main (void) { __asm__ __volatile__ ( "lds r24
Thread view
Attachments: 0
2007-07-20 by organix80
Is it possible to use 16-bit constant labels in WinAVR inline assembly? Normally, in a assembly program, you can do: lds r16, 0x0412 (just a example) In mixed C/asm, some variables are stored in SRAM by the compiler. How to read them using 'lds' and 'sts' in inline assembly? asm
Thread view
Attachments: 0
2007-07-20 by John Samperi
At 01:52 PM 20/07/2007, you wrote: > how can I get the INT0 switch to IMMEDIATELY >interrupt any code that is running, and go to the EXT_INT0 label and begin >execution the code there? Right now, what's happening is the INT0 waits >until the INT1 routine returns back to MAIN befo
Thread view
Attachments: 0
2007-07-20 by Randy Ledyard
Hello I using a Mega48, coded in ASM. I have debounced switches on PD2 (INT0) and PD3 (INT1). In my code, I'm enabling both INT1 and INT0 on a rising edge, and enabling the global int flag, using something like this: I have the pins and ports defined in a separate inc file .cseg
Thread view
Attachments: 0
2007-07-19 by David VanHorn
> >Problem found.. > > CONGRATULATIONS!! :-) Still working on WHY this is a problem, and why it works in sim (beyond the obvious "sim is broken..")
Thread view
Attachments: 0
2007-07-19 by John Samperi
At 03:16 AM 20/07/2007, you wrote: >Problem found.. CONGRATULATIONS!! :-) Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA Tel. (02) 9674-6495 Fax (02) 9674-8745 Email: john
Thread view
Attachments: 0
2007-07-19 by Reza
Hi; sorry for poor english, but; It seems to be so stupid to write something about a problem which seems to be solved. but remember one important thing: registers r2,..,r15 are saved and restored in some internal functions in C runtime library source codes. So if your interrupt r
Thread view
Attachments: 0
2007-07-19 by Russell Shaw
Tim Mitchell wrote: > John Samperi wrote: >> At 01:26 PM 19/07/2007, you wrote: >>> I will **NEVER** pay Mickey$hit one thin DIME of my meager money. >> So is your copy of Windows a pirate copy? Or are you running >> something OTHER than Windows? =-O > > You can't run AVRStudio u
Thread view
Attachments: 0
2007-07-19 by David VanHorn
Problem found.. The page erase MUST come before the write to the SPM buffer. Interestingly, the approach I was using, would seem to at worst, give me half a page of data written, but in fact it gives all FFs. Get a packet Write half a buffer Get another packet Erase Page Write ha
Thread view
Attachments: 0
2007-07-19 by Ian Drennan
Cat wrote: > Don't you guys think that you are offensive to the rest of us? > > > > Make your choices, be happy with them, but stop that smugness. > > > > How often do you hear others using words like "garbage" or "$hit" about your > choices, even though we end up with more time
Thread view
Attachments: 0
2007-07-19 by curtis
--- In AVR-Chat@yahoogroups.com, Thomas Keller wrote: > > OK. I got a 40 pin universal ZIF soldered into my Dragon this > afternoon. I plug an ATtiny25 into the socket in pins 1-8, and fire up > AVRStudio. I cannot write to or read the ATtiny25 in the socket. > What am I doing wr
Thread view
Attachments: 0
2007-07-19 by Tim Mitchell
John Samperi wrote: > At 01:26 PM 19/07/2007, you wrote: >> I will **NEVER** pay Mickey$hit one thin DIME of my meager money. > > So is your copy of Windows a pirate copy? Or are you running > something OTHER than Windows? =-O You can't run AVRStudio under anything but Windows, I
Thread view
Attachments: 0
2007-07-19 by John Samperi
At 02:37 PM 19/07/2007, you wrote: >I've been looking for those patch cables for a while can you tell us the >details of where you found them? http://www.ere.co.th/(iz1npey4wtyow155cighj255)/default.aspx?RedirectPage=Products&RedirectPage1=ProductsDetail&ProductID=46 I got 1 pack
Thread view
Attachments: 0
2007-07-19 by John Samperi
At 01:26 PM 19/07/2007, you wrote: >I will **NEVER** pay Mickey$hit one thin DIME of my meager >money. So is your copy of Windows a pirate copy? Or are you running something OTHER than Windows? =-O Regards John Samperi ******************************************************** Ampe
Thread view
Attachments: 0
2007-07-19 by David VanHorn
On 7/19/07, Jim Wagner wrote: > And don't some of them have multiple boot sizes? I suspect > that on one of these, if you specify a space that is too > large and you try to write into part of that overly large > boot space? That's not the case here. The failures I'm seeing are wh
Thread view
Attachments: 0
2007-07-19 by Roy E. Burrage
Thank you. As for those words...if I keep seeing problem complaints on the list that are caused by refusal to use the tools provided, F-R-E-E tools I might add, within the bounds of their published limitations you might see them again. It's a waste of time for the rest of us to h
Thread view
Attachments: 0
2007-07-19 by Alex Shepherd
Hi John, > I have also > ordered several bunches of patch cables from ERE in case I > need to use the ZIF socket again, very unlikely but possible, > so I'm well armed. I've been looking for those patch cables for a while can you tell us the details of where you found them? Alex
Thread view
Attachments: 0
2007-07-19 by Jim Wagner
And don't some of them have multiple boot sizes? I suspect that on one of these, if you specify a space that is too large and you try to write into part of that overly large boot space? Just a thought Jim Wagner On Wed, 18 Jul 2007 19:45:49 -0600 "Cat" wrote: > I can't check now,
Thread view
Attachments: 0
2007-07-19 by Cat
Don't you guys think that you are offensive to the rest of us? Make your choices, be happy with them, but stop that smugness. How often do you hear others using words like "garbage" or "$hit" about your choices, even though we end up with more time writing code because we don't n
Thread view
Attachments: 0
2007-07-19 by Russell Shaw
John Samperi wrote: > At 09:42 AM 19/07/2007, you wrote: >> I cannot access AVRStudio Help files, as the wonderful people at >> Atmel programmed it to require IE to be installed on the system for the >> help files to work, and I WILL NOT install that misbegotten piece of >> CRAP
Thread view
Attachments: 0
2007-07-19 by Thomas Keller
Bruce Parham wrote: > > I just added a .PDF version of the manual to the group files section... > Bruce > Thanks, Bruce. I actually went to Mickey$hit.com and tried to D/L IE7. The *ONLY* download I coudl find for it wanted to charegh me $9.50 for a CD. I will **NEVER** pay Micke
Thread view
Attachments: 0
2007-07-19 by David VanHorn
On 7/18/07, Cat wrote: > I can't check now, but maybe something to do with boot size. > Your instruction to write flash (SPM?) has to be in the boot section, or it > will not work, so if the boot section is zero... It is, the whole bootloader is currently orged above $F000, and o
Thread view
Attachments: 0
2007-07-19 by Cat
I can't check now, but maybe something to do with boot size. Your instruction to write flash (SPM?) has to be in the boot section, or it will not work, so if the boot section is zero... Take this with a pinch of salt, I'm a beginner with some things. Cat > On 7/18/07, Cat C wrote
Thread view
Attachments: 0
2007-07-19 by Bruce Parham
Thomas Keller wrote: > Bruce Parham wrote: > >>Thomas Keller wrote: >> >> >>>OK. I got a 40 pin universal ZIF soldered into my Dragon this >>>afternoon. >> >>The manual is in studio under HELP->AVR Tools. The socket is isolated, >>you'll need to >>connect it to the patch pads. Hi
Thread view
Attachments: 0
2007-07-19 by John Samperi
At 09:42 AM 19/07/2007, you wrote: > I cannot access AVRStudio Help files, as the wonderful people at >Atmel programmed it to require IE to be installed on the system for the >help files to work, and I WILL NOT install that misbegotten piece of >CRAP on my system. Well, my friend
Thread view
Attachments: 0
2007-07-18 by David VanHorn
On 7/18/07, Cat C wrote: > Isn't there a fuse that needs setting? Which one would that be?
Thread view
Attachments: 0
2007-07-18 by Bob Paddock
On Tuesday 17 July 2007 21:13, Dave Hylands wrote: > This is typically symptomatic of using uninitialized variables (in C - > in assembler it would correspond to uninitialized registers). Try http://www.splint.org for finding such problems. -- http://www.wearablesmartsensors.com/
Thread view
Attachments: 0
2007-07-18 by Thomas Keller
John Samperi wrote: > > At 09:07 AM 19/07/2007, you wrote: > >What am I doing wrong? (No manuals come with the dragon )-: ) > Do you see how you are making life hard for yourself? > Everything is there in pretty colour pictures in the AVR Studio > help file for the Dragon. Just b
Thread view
Attachments: 0
2007-07-18 by Thomas Keller
Bruce Parham wrote: > > Thomas Keller wrote: > > > OK. I got a 40 pin universal ZIF soldered into my Dragon this > > afternoon. > > The manual is in studio under HELP->AVR Tools. The socket is isolated, > you'll need to > connect it to the patch pads. Hint: add male pin headers t
Thread view
Attachments: 0
2007-07-18 by John Samperi
At 09:07 AM 19/07/2007, you wrote: >What am I doing wrong? (No manuals come with the dragon )-: ) Do you see how you are making life hard for yourself? Everything is there in pretty colour pictures in the AVR Studio help file for the Dragon. Just byte the bullet and install IE yo
Thread view
Attachments: 0
2007-07-18 by Bruce Parham
Thomas Keller wrote: > OK. I got a 40 pin universal ZIF soldered into my Dragon this > afternoon. I plug an ATtiny25 into the socket in pins 1-8, and fire up > AVRStudio. I cannot write to or read the ATtiny25 in the socket. > What am I doing wrong? (No manuals come with the drag
Thread view
Attachments: 0
2007-07-18 by Thomas Keller
OK. I got a 40 pin universal ZIF soldered into my Dragon this afternoon. I plug an ATtiny25 into the socket in pins 1-8, and fire up AVRStudio. I cannot write to or read the ATtiny25 in the socket. What am I doing wrong? (No manuals come with the dragon )-: ) tom
Thread view
Attachments: 0
2007-07-18 by Cat C
Isn't there a fuse that needs setting? Cat _________________________________________________________________ Windows Live Hotmail. Even hotter than before. Get a better look now. www.newhotmail.ca?icid=WLHMENCA148
Thread view
Attachments: 0