2005-07-01 by arhodes19044
Oh, wait.... I see. It gets optimized away because the while loop does not do anything. Therefore the need to insert a nop. -got it.... -Tony --- In AVR-Chat@yahoogroups.com, "arhodes19044" wrote: > If the compiler optimizes it away, then it thinks that USCRA is not > volatile. S
Thread view
Attachments: 0
2005-07-01 by arhodes19044
If the compiler optimizes it away, then it thinks that USCRA is not volatile. So.... can you declare somehow that UCSRA is volatile? However, I have never had the problem with references to hardware registers being optimized away.... -Tony --- In AVR-Chat@yahoogroups.com, "Lasse
Thread view
Attachments: 0
2005-07-01 by arhodes19044
I made this reply once, but it did not appear on the bulletinboard, so something must have screwed-up. I figured I needed to kick-start the writes. It woulf be elegant to have the ISR do thw WHOLE thing internally without the something external to the ISR making the first write.
Thread view
Attachments: 0
2005-07-01 by Lasse Madsen
Hi. Your problem is most likely that the compiler optimizes the line while(!(UCSRA&(1 " on the web. * To unsubscribe from this group, send an email to: AVR-Chat-unsubscribe@yahoogroups.com * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. _____
Thread view
Attachments: 0
2005-07-01 by Dave VanHorn
At 11:29 AM 7/1/2005, Ahmad El-Saied wrote: >hi all, > i would like to ask how to store byte (entered from >keypad) in the program memory (flash) in the AT90S8515 >Microcontroller ?? Not possible.
Thread view
Attachments: 0
2005-07-01 by Ahmad El-Saied
hi all, i would like to ask how to store byte (entered from keypad) in the program memory (flash) in the AT90S8515 Microcontroller ?? Ahmad El-Saeed ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FR
Thread view
Attachments: 0
2005-07-01 by Dave VanHorn
> >I guess there needs to be a eeprom_busy flag so nothing else tries to >use the eeprom while the ISR is busy. There is an EEPROM ready ISR, so you could just do it from there. If the EE is ready, then you can start another write. You have to "kick start it" by doing the first w
Thread view
Attachments: 0
2005-07-01 by arhodes19044
I want to do background writes of data to eeprom. So, it needs to be interrupt driven. Is it as simple as having a subroutine store the addresses of the source and destination in a global variable(s), then enable the eeprom interrupt, then do the first write (&source[0] to &eepro
Thread view
Attachments: 0
2005-07-01 by aswinefy2003
i have the following code written in iccavr while(condition=true) { while(!(UCSRA&(1
Thread view
Attachments: 0
2005-06-30 by Dave VanHorn
At 04:04 PM 6/30/2005, Stuart Whelan wrote: > > > Can anyone offer any suggestions as to why this might be? > > > > Sounds to me like you have the port set as an input and have the > > internal pullups enabled ;) > >*beats his head on the desk weeping. 2 days..... Rebuilt circuit
Thread view
Attachments: 0
2005-06-30 by Stuart Whelan
> > Can anyone offer any suggestions as to why this might be? > > Sounds to me like you have the port set as an input and have the > internal pullups enabled ;) *beats his head on the desk weeping. 2 days..... Rebuilt circuits. Replaced components. Replaced chips. Replaced servos
Thread view
Attachments: 0
2005-06-30 by Kathy Quinlan
Stuart Whelan wrote: > Hello folks, > > I have an issue that is perplexing me. > > I am trying to drive a servo with a Mega 8. > > I have a good solid 5 volt supply to VCC. > > I am using PORTC as the PPM pins. > > If I set portc.3 high (not pulsing), I see it go to 5 volts on my
Thread view
Attachments: 0
2005-06-30 by Stuart Whelan
Hello folks, I have an issue that is perplexing me. I am trying to drive a servo with a Mega 8. I have a good solid 5 volt supply to VCC. I am using PORTC as the PPM pins. If I set portc.3 high (not pulsing), I see it go to 5 volts on my scope. But as soon as I connect a load the
Thread view
Attachments: 0
2005-06-29 by Stefan Wimmer
Ummmh... Sorry, I wasn't precise in my previous post: I got an JTAG-ICE MK-II the way I described. This can handle JTAG (really :), ISP and DebugWire. Stefan
Thread view
Attachments: 0
2005-06-29 by Stefan Wimmer
--- In AVR-Chat@yahoogroups.com, Aaron wrote: > Hello all, > > I've been lurking here on the dark side for a year or so. :) > > I am contemplating ditching the PIC18F252 in my current project in favor > of a tiny2313. > > I've become pretty accustomed to my Microchip ICD2. I've l
Thread view
Attachments: 0
2005-06-29 by Joel Kolstad
Hi Dave, --- In AVR-Chat@yahoogroups.com, "Dave Miller" wrote: > Let me see if I understand what you are describing for the development > process. I understand I can't use the standard AVR ICE, bummer. But the > part is an AVR Core Yes, it's an AT90S8515 at its core with the USB
Thread view
Attachments: 0
2005-06-29 by Don
> I found Graham Davis's - JTAG clone (ICE-cube) unit to work very well. It > costs about the same as the replacement cable and it's a LOT smaller and > mechanically robust. Take a look... > > http://www.ecrostech.com > Does anyone know if this is to be JTAGII compliant in the fu
Thread view
Attachments: 0
2005-06-29 by Kathy Quinlan
Dave Miller wrote: > Hello Joel, > > Thanks for the information it is very helpful. I didn't realize that this > was being used in the XBOX stuff, that could explain the low cost I have > been quoted on small quantities (1000 pieces less than $2). > > Let me see if I understand w
Thread view
Attachments: 0
2005-06-29 by James Hatley
Hello Mr. Larry Barello, I found Graham Davis's - JTAG clone (ICE-cube) unit to work very well. It costs about the same as the replacement cable and it's a LOT smaller and mechanically robust. Take a look... http://www.ecrostech.com Jim ----- Original Message ----- From: "Larry B
Thread view
Attachments: 0
2005-06-29 by Dave VanHorn
At 07:05 PM 6/28/2005, Larry Barello wrote: >ATJTAGPROBE-ND - $39 > >Might as well get one of the clone JTAG units... Yup. There are a couple of suppliers. Sparkfun I think is where I got mine, a more robust cable as well.
Thread view
Attachments: 0
2005-06-29 by Larry Barello
ATJTAGPROBE-ND - $39 Might as well get one of the clone JTAG units... Thanks for the pointer. -----Original Message----- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com]On Behalf Of Dave VanHorn Sent: Tuesday, June 28, 2005 4:12 PM To: AVR-Chat@yahoogroups.com; AV
Thread view
Attachments: 0
2005-06-28 by Dave VanHorn
At 02:33 PM 6/28/2005, Larry Barello wrote: >Anyone know where to get one & what it is? Digikey carried replacements, for about $30. Comes with the project end circuit board.
Thread view
Attachments: 0
2005-06-28 by Don
Farnell have them. Digikey used to, haven't checked lately. Newark are owned by Farkinell so if they don't have them listed then they could get them via Farnell Cheers Don Larry Barello wrote: > Ok, I know what it is now: a 30 conductor FFC cable assembly. Now, where > can one fi
Thread view
Attachments: 0
2005-06-28 by Dave Miller
Hello Joel, Thanks for the information it is very helpful. I didn't realize that this was being used in the XBOX stuff, that could explain the low cost I have been quoted on small quantities (1000 pieces less than $2). Let me see if I understand what you are describing for the de
Thread view
Attachments: 0
2005-06-28 by Larry Barello
Ok, I know what it is now: a 30 conductor FFC cable assembly. Now, where can one find a one-off cable? TIA -----Original Message----- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com]On Behalf Of Larry Barello Sent: Tuesday, June 28, 2005 12:33 PM To: AVR-Chat@yaho
Thread view
Attachments: 0
2005-06-28 by Larry Barello
Anyone know where to get one & what it is? TIA
Thread view
Attachments: 0
2005-06-28 by Joel Kolstad
Hi Dave, For an HID device, the AT43USB355E would probably work pretty well. Atmel has gone and made something of a "wizard" that generates the skeleton of _all_ the code that goes into the part, and it's very heavily biased towards HID devices (in case you're not aware of it, At
Thread view
Attachments: 0
2005-06-27 by Brian Dean
On Mon, Jun 27, 2005 at 02:09:56AM -0400, Pigeon wrote: > I went alll the way up to producing 300 boards... and the cost per > board was still $23 per board. Is that fair for a 56.40 square inch > board? I don't know your other board specs but entering in a pretty standard 2-laye
Thread view
Attachments: 0
2005-06-27 by Jose Fuentes
Hi Dave, I just bought a couple of AT43USB355E, and downloaded the delopment tools from Atmel's web site. You can write your code using the Atmel USB wizard and compile it with AVR GCC. Jose --- Dave Miller escribió: > Hello All, > > > > I am looking to design a USB HID device an
Thread view
Attachments: 0
2005-06-27 by Dave Miller
Hello All, I am looking to design a USB HID device and I am looking for a good USB solution. In the past many have mentioned the FTDI chips which looks great for Virtual COM and other devices but I don’t see any support for HID. I am not a fan of the Cypress products either; I ha
Thread view
Attachments: 0
2005-06-27 by Bruce Parham
Ahmad El-Saied wrote: > hi all, > I've a register1 containing the address of another > register2 that i dont know (suppose its entered by > keys) & i need to get the contents of that register2. > > plz help me about this > Ahmad El-Saeed You didn't state if you are working in ass
Thread view
Attachments: 0
2005-06-27 by Ahmad El-Saied
hi all, I've a register1 containing the address of another register2 that i dont know (suppose its entered by keys) & i need to get the contents of that register2. plz help me about this Ahmad El-Saeed ___________________________________________________________ Yahoo! Messenger -
Thread view
Attachments: 0
2005-06-27 by lowerpower
Sounds like to me your boot reset vector fuses are set incorrectly, probably jumping to after where you have you boot loader stored. If you think your boot size is correct, then change it to all possible options and try again. Lastly check where the bootloader determins to exicut
Thread view
Attachments: 0
2005-06-27 by Roy E. Burrage
You're looking for production pricing from a prototype house from the looks of things. They're generally set up to do 10 to 25, or less, pieces, for which we need to be willing to pay a slight premium. If you're looking for high quantity pricing you'll have to go to a volume hous
Thread view
Attachments: 0
2005-06-27 by Pigeon
hmm.. I went alll the way up to producing 300 boards... and the cost per board was still $23 per board. Is that fair for a 56.40 square inch board? To me that just seems high (but.. I have only order a board or two.. so I could be way off) thanks Lee ----- Original Message -----
Thread view
Attachments: 0
2005-06-27 by John Samperi
At 02:47 PM 27/06/2005, you wrote: >So ~$46.80 per additional 2 boards. > >Does this sound about right? The initial setup cost skews the cost calculations. Once it is all set up then you can churn them out like sausages and it gets cheaper. Regards John Samperi ******************
Thread view
Attachments: 0
2005-06-27 by Pigeon
Yeah.. that probably sounds right. Well, I just talked my schematic over with him.. So I think we are all good there. But.. now I am just concerned about board cost. To have 2 56.40 square inch boards it will cost me $120.60 to have 4 56.40 square inch boards it will cost me $165
Thread view
Attachments: 0
2005-06-27 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "Pigeon" wrote: > Hello, I have had a schematic done in expressPCB program.. and > Now I want to show this file to someone else.. The issue is he only > has eagle. > > What is the easiest way t oconvert between the 2? My understanding is that the
Thread view
Attachments: 0
2005-06-24 by wbounce
Maybe he means setting up the standard input FILE* fdevopen ( int(* put)(char), int(* get)(void), int opts __attribute__((unused)) ) I know you need to use fdevopen and pass it a int(* get) function but I have no idea what that function would look like other than to put any waiti
Thread view
Attachments: 0
2005-06-24 by Pigeon
Hello, I have had a schematic done in expressPCB program.. and Now I want to show this file to someone else.. The issue is he only has eagle. What is the easiest way t oconvert between the 2? I have tried exporting from expresspcb to everything i can export to.. and that doesn't
Thread view
Attachments: 0
2005-06-24 by John Samperi
At 05:01 AM 25/06/2005, you wrote: >I'm configuring something incorrectly, would there be anyone out there >in AVR land that has experienced the same issues and can provide some >insight? Just a silly comment I guess. Have you checked that you are not overwriting part of the boot
Thread view
Attachments: 0
2005-06-24 by Ray
--- In AVR-Chat@yahoogroups.com, John Samperi wrote: > At 05:01 AM 25/06/2005, you wrote: > >I'm configuring something incorrectly, would there be anyone out there > >in AVR land that has experienced the same issues and can provide some > >insight? > > Just a silly comment I gues
Thread view
Attachments: 0
2005-06-24 by James Hatley
Hello, ( Wise choice to get on to AVRs ... for sure ... you will like them ... just ask for stories here about the others and you will get a lot of comment. ) You didn't elaborate much on what you are going to do but... here goes... There is no debug-wire support on a JTAG-ICE. S
Thread view
Attachments: 0
2005-06-24 by Dave VanHorn
At 02:27 PM 6/24/2005, Aaron wrote: >Hello all, > >I've been lurking here on the dark side for a year or so. :) > >I am contemplating ditching the PIC18F252 in my current project in favor >of a tiny2313. > >I've become pretty accustomed to my Microchip ICD2. I've looked at >Atmel
Thread view
Attachments: 0
2005-06-24 by Aaron
Hello all, I’ve been lurking here on the dark side for a year or so. :) I am contemplating ditching the PIC18F252 in my current project in favor of a tiny2313. I’ve become pretty accustomed to my Microchip ICD2. I’ve looked at Atmel’s JTAG-ICE, but $299 is more than I really want
Thread view
Attachments: 0
2005-06-24 by Ray
Greetings, I have been struggling with this for a week, I'm wondering if anyone else has had similar problems. target devices: mega128 & mega8535 (14.7456Mhz) BootReset Vector Enabled, Boot size set to 512 words. CVMegaload bootloader works great the first time, but only once. If
Thread view
Attachments: 0
2005-06-24 by Dave VanHorn
At 11:08 PM 6/23/2005, Don wrote: >The book turned up today from the States. > >http://www.amazon.com/exec/obidos/tg/detail/-/0201914654/103-4320452-0332615?v=glance > >In the brief read which I have had so far I am quite impressed. The info >seems very well presented, being Addi
Thread view
Attachments: 0
2005-06-24 by Don
The book turned up today from the States. http://www.amazon.com/exec/obidos/tg/detail/-/0201914654/103-4320452-0332615?v=glance In the brief read which I have had so far I am quite impressed. The info seems very well presented, being Addison-Wesley based it is of what appears to
Thread view
Attachments: 0
2005-06-23 by Colin Paul Gloster
Dave Hylands correctly pointed out: "> An example call with scanf() to take just one character is > char array_to_which_the_character_is_copied[some_length]; > scanf("%1c", array_to_which_the_character_is_copied[0]); Actually, that should be (notice addition of &): scanf("%1c", &
Thread view
Attachments: 0
2005-06-23 by Dave Hylands
> An example call with scanf() to take just one character is > char array_to_which_the_character_is_copied[some_length]; > scanf("%1c", array_to_which_the_character_is_copied[0]); Actually, that should be (notice addition of &): scanf("%1c", &array_to_which_the_character_is_copie
Thread view
Attachments: 0