2005-07-07 by Dennis Clark
Mike, Where did you find the driver? I've not been able to find one for my device. thanks, DLC Mike Darling wrote: > I don't remember doing anything special - I just installed the keyspan > driver several OS versions ago and it has been working fine for my AVR > projects ever sin
Thread view
Attachments: 0
2005-07-07 by Mike Darling
I don't remember doing anything special - I just installed the keyspan driver several OS versions ago and it has been working fine for my AVR projects ever since I found my DIN>DB9 adapter. -mike On 7/7/05 1:12 AM, "Dennis Clark" wrote: > Not one of my USB/serial dongles creates
Thread view
Attachments: 0
2005-07-07 by Dennis Clark
Not one of my USB/serial dongles creates a single /dev/cuxxxxxx file, not one. Did you have to do something special to get the driver to create those files? Is there something I have to turn on in the OS to get this to happen? I've installed the very latest Prolific driver, it di
Thread view
Attachments: 0
2005-07-07 by stevech
But- the idea of interrupts is to do the minimum, set a flag, increment a counter, or some such and *immediately* dismiss the interrupt without lingering. Perhaps that's what you are doing, rather than how you said it, below. -----Original Message----- From: AVR-Chat@yahoogroups.
Thread view
Attachments: 0
2005-07-07 by Dave VanHorn
At 09:35 PM 7/6/2005, James Hatley wrote: >Here I am replying to my own message ... > >Anyway, in re-reading what I wrote, I should have added that the vectors >must be "rjmp address", not just address as I put in the message. ( from my >Motorola assembler habits I guess. ) Check
Thread view
Attachments: 0
2005-07-07 by James Hatley
Here I am replying to my own message ... Anyway, in re-reading what I wrote, I should have added that the vectors must be "rjmp address", not just address as I put in the message. ( from my Motorola assembler habits I guess. ) I wrote a simple version of the method below and it d
Thread view
Attachments: 0
2005-07-07 by arhodes19044
Well, I suppose that the maximum latency would the the time between data coming in on serial line. That will depend on the highest speed you ever plan on using. Baud rate is about the same bits ber second. So 9600 baud is about 100uS per bit. About 1000uS per byte 115200 baud is
Thread view
Attachments: 0
2005-07-07 by arhodes19044
"why not set a flag....?" Well, If I did it right, I probably could. I can have the 1 second interrupt do the math, and store some global variables. Then have the waiting-for-input foreground task fire the data to the display. As soon as I wire up the second parallel display to a
Thread view
Attachments: 0
2005-07-06 by James Hatley
Here is how I do timer startup ... (hope I got this correct...) initialization of timer ... stop interrupts (CLI) ... stop timer TCCR1B = 0 ... set for CTC etc in TCCR1A ... set OCR1A as required ... set TCNT as required ... start timer TCCR1B = 9 (or whatever required) ... set T
Thread view
Attachments: 0
2005-07-06 by Ahmad El-Saied
hi all, we're using ATmega 8515 to self program the flash memory and we want to know how to store a subroutine in the boot loader section ??!! Ahmad El-Saeed Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail
Thread view
Attachments: 0
2005-07-06 by Aaron
This AVR newbie is using a tiny2313 and studio 4.11. I have timer1 configured for CTC with OCR1A. OCIE1A is set in TIMSK. Global interrupts are enabled. Stepping thru the code in the simulator shows OCF1A being set for 1 cycle but my interrupt vector is not being jumped to. My co
Thread view
Attachments: 0
2005-07-06 by Kevin
Mark, Totally useless to me since they are PC based and mostly use the parallel port to program the devices - The Macintosh never had a parallel port. Regardless, the Macintosh also doesn't work well with Windows apps. DLC Mark Jordan wrote: > On 6 Jul 2005 at 11:39, Kevin wrote:
Thread view
Attachments: 0
2005-07-06 by Dave VanHorn
> >I'm already feeling miserable ! >Shoot !!! Just checked the CKSEL table on the datasheet >and 0100 - 0001 does actually select "Calibrated internal >RC oscilattor" >Hmm... after a few paragraphs it actually says it ships >with 0001 (the internal rc thing) where I though the de
Thread view
Attachments: 0
2005-07-06 by Mike Darling
Hmm. I use the current version of avrdude and an old Keyspan dual serial adapter with my STK500. Everything works fine under OSX 10.4.1 and VPC. I have used this adapter with Zterm to talk to do DBUG12 work with motorola boards as well. Contact me off list and I might be able to
Thread view
Attachments: 0
2005-07-06 by Mark Jordan
On 6 Jul 2005 at 11:39, Kevin wrote: > I'd love to get a serial terminal to work (I have ZTERM), but it too > won't see any of these USB/serial items. The worst part is that the > USB/serial dongle from ATEN (Prolific) is seen on Virtual PC, but is > really flaky there. Is there
Thread view
Attachments: 0
2005-07-06 by Kevin
Hi all, I'm trying to get avr-gcc and avrdude to work with my AVRISP programmer using a USB/serial dongle. I have three such dongles and NOT ONE OF THEM will create a device file that I can use with AVRDUDE. I have a Keyspan dual unit, an Entrega single unit, and a ATEN dongle. I
Thread view
Attachments: 0
2005-07-06 by Jesper Hansen
>>As you say others do better, >>The Xilinx Webpack is free, and will let you use upto 400KGate devices. >>Both of these examples really beg the question, why bother with the >>FPSLIC? >>go for altera or Xilinx and embed your own sparc (leon) processor. > > For this particular pr
Thread view
Attachments: 0
2005-07-06 by James Hatley
Eventually, you will have to breadboard up things and try something. The ATtiny13 does not have a uart so you will have to write the code with timing and all anyway. It would be easy to make a simple measurement to find out the bit time and go from there. Incidentally, I haven't
Thread view
Attachments: 0
2005-07-06 by Dave VanHorn
> >I had considerable problems using ponyprog which mostly disappeared >when I used the CVAVR >programming software. The rest disappeared when I switched to using >an STK500 for programming >instead of a simple dongle. The Olimex mega128 boards always program ok now. There is a f
Thread view
Attachments: 0
2005-07-06 by Ralph Hilton
On Wed, 06 Jul 2005 14:02:47 -0000 you wrote: >As I was having a lot of trouble getting PonyProg to >talk to my board, it turned out that the problem was >being caused by the "Reset IC ZM33064" that equips the >Olimex header ( http://www.olimex.com/dev/index.html ) > >This IC was
Thread view
Attachments: 0
2005-07-06 by Alex De Lara
--- In AVR-Chat@yahoogroups.com, Dave VanHorn wrote: > >Also, does the baud rate prescaler use the system clock > >(internally) by default ? Is that correct ? > >(meaning I should not have to mess up with the fuses -CKSEL- > >currently 0001 - also tried 0100 - both for the intern
Thread view
Attachments: 0
2005-07-06 by Dave VanHorn
At 10:48 AM 7/6/2005, Paul Maddox wrote: >Zack, > >As you say others do better, >The Xilinx Webpack is free, and will let you use upto 400KGate devices. >Both of these examples really beg the question, why bother with the FPSLIC? >go for altera or Xilinx and embed your own sparc
Thread view
Attachments: 0
2005-07-06 by Paul Maddox
Zack, As you say others do better, The Xilinx Webpack is free, and will let you use upto 400KGate devices. Both of these examples really beg the question, why bother with the FPSLIC? go for altera or Xilinx and embed your own sparc (leon) processor. Paul ----- Original Message --
Thread view
Attachments: 0
2005-07-06 by Alexandre Guimaraes
Hi, James >I still think that you can do it without a crystal or other external > oscillator. You are going to have to use 2 pins for serial communication > in > any case. I assume you want to talk to it in some way. Wake up your unit > with a few characters that you can measure
Thread view
Attachments: 0
2005-07-06 by Dave VanHorn
At 09:37 AM 7/6/2005, Paul Maddox wrote: >Dave, > > > Has anyone on here done any development with the FPSlic? > >yeah, i had a go with it. > > > I'm a bit put off by the licensing requirements for the toolchain, > > but this appears an attractive option for an upcoming project.
Thread view
Attachments: 0
2005-07-06 by Zack Widup
As an aside (this doesn't refer to AVR's), Altera will evidently give you a 6-month license for their programs for CPLD's (MAX+PLUSII and Quartus). After the 6 months is up, you can just renew it free. The license isn't even needed if you just want to program the CPLD's with an a
Thread view
Attachments: 0
2005-07-06 by Paul Maddox
Dave, > Has anyone on here done any development with the FPSlic? yeah, i had a go with it. > I'm a bit put off by the licensing requirements for the toolchain, > but this appears an attractive option for an upcoming project. I got annoyed with the licensing, 90 day trial? I mean
Thread view
Attachments: 0
2005-07-06 by Dave VanHorn
> >Also, does the baud rate prescaler use the system clock >(internally) by default ? Is that correct ? >(meaning I should not have to mess up with the fuses -CKSEL- >currently 0001 - also tried 0100 - both for the internal >calibrated osc). A couple of things to be aware of: You
Thread view
Attachments: 0
2005-07-06 by Dave VanHorn
Has anyone on here done any development with the FPSlic? I'm a bit put off by the licensing requirements for the toolchain, but this appears an attractive option for an upcoming project.
Thread view
Attachments: 0
2005-07-06 by Alex De Lara
As I was having a lot of trouble getting PonyProg to talk to my board, it turned out that the problem was being caused by the "Reset IC ZM33064" that equips the Olimex header ( http://www.olimex.com/dev/index.html ) This IC was holding the reset line so the parallel prog could no
Thread view
Attachments: 0
2005-07-06 by Alex De Lara
Hello, I read this on other answer and was wondering if fuse setting >> From: "wbounce" >> Subject: RE: [AVR-Chat] help problem in uart wbounce1 >> Send Email Send Email >> I know you go other responses but garbage on the uart >> could also mean wrong baud or corrupt fuse setting
Thread view
Attachments: 0
2005-07-05 by James Hatley
I still think that you can do it without a crystal or other external oscillator. You are going to have to use 2 pins for serial communication in any case. I assume you want to talk to it in some way. Wake up your unit with a few characters that you can measure the bit length like
Thread view
Attachments: 0
2005-07-05 by Alexandre Guimaraes
Hi, James The OSCCAL calibration works really very well if you can guarante the operating temperature.. If temperature varies too much it will not be enough for reliable communications.. What makes the Tiny13 even more interesting is that the voltage reference is much better than
Thread view
Attachments: 0
2005-07-05 by stevech@san.rr.com
If you mean that served instantly means the latency can't exceed X microseconds, what is X? The ISR for UART RX should be more than a few 10's of microseconds. If you need a latency of 10 microseconds or less, generally, perhaps you have the wrong design approach.
Thread view
Attachments: 0
2005-07-05 by Dave VanHorn
At 01:28 PM 7/5/2005, Mike Perks wrote: >Dave VanHorn wrote: > > > > > Six hours to go on a critical delivery, and suddenly my Jtag is > > telling me that everything in the processor is $CD. > > It claims to be able to set the fuses, and on readback they look > > fine, and it cla
Thread view
Attachments: 0
2005-07-05 by Mike Perks
Dave VanHorn wrote: > > Six hours to go on a critical delivery, and suddenly my Jtag is > telling me that everything in the processor is $CD. > It claims to be able to set the fuses, and on readback they look > fine, and it claims to be able to program and verify the device, but
Thread view
Attachments: 0
2005-07-05 by Dave VanHorn
Six hours to go on a critical delivery, and suddenly my Jtag is telling me that everything in the processor is $CD. It claims to be able to set the fuses, and on readback they look fine, and it claims to be able to program and verify the device, but debugging is totally hosed. An
Thread view
Attachments: 0
2005-07-05 by Dave VanHorn
At 11:33 AM 7/5/2005, arhodes19044 wrote: >I agree with brain bashing. BUT..... > >It feels like I bashed my brain as I tried to follow these rules, >and I eventually decided that I MUST have ONE item in one of my >applications that I MUST do from within an "interrupt" > >But the
Thread view
Attachments: 0
2005-07-05 by Shauvik RoyChoudhary
Hi Friends, Does anyone have the ebook "C Programming for Microcontrollers - Featuring ATMEL's AVR Butterfly and the free WinAVR compiler" by Smileymicros.com ?? If so please do mail it to me or put it in the files section. Regards, Shauvik
Thread view
Attachments: 0
2005-07-05 by Dave VanHorn
At 09:20 AM 7/5/2005, Dave Mucha wrote: >--- In AVR-Chat@yahoogroups.com, "Pigeon" wrote: > > Hmm.. because I would rather have something super simple.. and high >quality, I like the idea of the > > crystal clock oscillator I don't understand why the crystal is perceived to be so
Thread view
Attachments: 0
2005-07-05 by arhodes19044
I agree with brain bashing. BUT..... It feels like I bashed my brain as I tried to follow these rules, and I eventually decided that I MUST have ONE item in one of my applications that I MUST do from within an "interrupt" In my application, I have 2 displays. The main display get
Thread view
Attachments: 0
2005-07-05 by Dave Mucha
--- In AVR-Chat@yahoogroups.com, "Pigeon" wrote: > Hmm.. because I would rather have something super simple.. and high quality, I like the idea of the > crystal clock oscillator > From my surfing, there is super simple. that is a 3 pin resonator with caps on-board. tiny, around t
Thread view
Attachments: 0
2005-07-05 by aswinefy2003
--- In AVR-Chat@yahoogroups.com, Dave VanHorn wrote: > At 12:13 AM 7/5/2005, aswinefy2003 wrote: > >I am using iccavr compiler for atmega 32 > > > >i want to use nested interrupt > >inside uart rxc isr .How can i implement it > > First, take your brain out of your skull, and bash
Thread view
Attachments: 0
2005-07-05 by Lauer, Thilo
I don't actually use the IAR compiler and didn't actually test this code, but so far, nobody seems to complain about the value assignment within the while statement, which in fact should just be a comparison: uart_init()//intialiation of uart delay(); while(condition=true) // sho
Thread view
Attachments: 0
2005-07-05 by Dave VanHorn
At 12:13 AM 7/5/2005, aswinefy2003 wrote: >I am using iccavr compiler for atmega 32 > >i want to use nested interrupt >inside uart rxc isr .How can i implement it First, take your brain out of your skull, and bash it with a mallet... Nested interrupts are a very bad idea. If you
Thread view
Attachments: 0
2005-07-05 by stevech
Enabling interrupts from within an ISR, on humble microprocessors, is a very bad idea. Can't you just process the UART RXC char (store in a buffer) and quickly dismiss the interrupt - process the newly arrived char later in the non-ISR code? This is the conventional way to do thi
Thread view
Attachments: 0
2005-07-05 by Dave VanHorn
At 10:12 PM 7/4/2005, Mark Jordan wrote: >On 4 Jul 2005 at 21:21, Alexandre Guimaraes wrote: > > > Does anyone have a handy, small and cheap crystal oscillator circuit that > > is reliable and uses low power ??? If it could use a resonator even > > better.... It gets cheaper and
Thread view
Attachments: 0
2005-07-05 by aswinefy2003
I am using iccavr compiler for atmega 32 i want to use nested interrupt inside uart rxc isr .How can i implement it .Should i have to do anything with the stack size.Plase suggest some c code.
Thread view
Attachments: 0
2005-07-05 by Mark Jordan
On 4 Jul 2005 at 21:21, Alexandre Guimaraes wrote: > Does anyone have a handy, small and cheap crystal oscillator circuit that > is reliable and uses low power ??? If it could use a resonator even > better.... It gets cheaper and is good enough for serial communications... > See
Thread view
Attachments: 0
2005-07-05 by James Hatley
Hello, Reviewing your original note ... you want to do serial communication and you think you need a crystal oscillator to clock the mpu. It seems to me that there is no reason that the internal oscillator and a bit-bang serial comm solution won't work just fine. These type of ro
Thread view
Attachments: 0