2010-03-12 by Cat C
I went and used the Watchdog timer to give me a reset after a second, since it stays in the SPI loop so doesn't get to kick the dog :-D The rest of it is curiosity, I'm more interested in how the SPI ONLY gets stuck under certain power conditions then try to fix it, so I may neve
Thread view
Attachments: 0
2010-03-12 by Cat C
> >You would be right about the headroom if I wasn't using an LP3966 > >"3A Fast Ultra Low Dropout Linear Regulators" that drops only 80mV at 300mA. > > Ha ha...but did you pay attention to the input and output > capacitors recommended? > I didn't the 1st time I used a LDO..... N
Thread view
Attachments: 0
2010-03-12 by John Samperi
At 05:26 AM 13/03/2010, you wrote: >You would be right about the headroom if I wasn't using an LP3966 >"3A Fast Ultra Low Dropout Linear Regulators" that drops only 80mV at 300mA. Ha ha...but did you pay attention to the input and output capacitors recommended? I didn't the 1st t
Thread view
Attachments: 0
2010-03-12 by Mike
Cat, Also on that reset, as you know, it should go rail to rail. Solidly (0 to 5V) Just keep applying your good logic, you'll get it... Regards, Mike [Non-text portions of this message have been removed]
Thread view
Attachments: 0
2010-03-12 by Mike
1. For some reason, at power-up (4.5V from linear on-board regulator from PC 5V PSU) the microcontroller starts up temporarily but then stops (or goes to microcontroller heaven). I assume you have 5 volt device (Micro)- but stated 4.5 v supplied to it.... This seems to low for an
Thread view
Attachments: 0
2010-03-12 by Cat C
Wow Andy! So... fiery! The changes were made because we weren't sure what a PC power supply outputs at power-up when the load on the 5V is only in the tens-hundreds milli-amps. Using a scope to determine that is irrelevant, because another PSU might do something else. Still, I di
Thread view
Attachments: 0
2010-03-12 by Andrew Mathison
Hi, I have to agree witrh those talking about power problems, it sounds to me also like a typical "brown out" problem.... If it was happening to me, I would be using a 'scope and a good DVM - Together! To analyse the problem as best I could..... If I understood you correctly, you
Thread view
Attachments: 0
2010-03-12 by Terrance
Just had a similar problem this week (changed the power input to go through a schottkey, SPI comm started acting up). Lowering the brownout from 4.3 to 2.7 fixed it. Setting the fuse to let the clock settle longer is a good idea as well. -Terrance --- In AVR-Chat@yahoogroups.com,
Thread view
Attachments: 0
2010-03-11 by Cat C
I do think you're right Mike, as it started after I put the linear regulator in, just to protect the microcontroller from the big bad PC PSU, but I want to know WHAT IS IT! I'm now wondering: Is it possible that the Big Bad PC PSU broke my microcontroller in such a way that it ge
Thread view
Attachments: 0
2010-03-11 by Cat C
> What are you doing with the /SS pin? Is it an output? I use the SS pin for one of the Chips Selects, so it is an output. Thanks John. >>> >What are your start up settings for the clock ? I.e the clock fuses, try >setting the start up delay to be a bit longer (16k +64ms) this I
Thread view
Attachments: 0
2010-03-11 by John Samperi
At 06:14 AM 12/03/2010, you wrote: >This used to work fine, but at some point it started to get stuck on >the "while" first time I power up the board. >It works fine after a reset. What are you doing with the /SS pin? Is it an output? Regards John Samperi ************************
Thread view
Attachments: 0
2010-03-11 by Mike
Cat, All you emails seems to me to somehow keep pointing to Power Supply. BrownOut condition during start-up? If I press the reset button all is fine, so maybe strange things happen because power might go up too slow. Can you verify this, purhaps a different supply? Hopefully. Wi
Thread view
Attachments: 0
2010-03-11 by Cat C
Me again... :-) My code sends stuff over SPI, like this: SPDR = something; while(!(SPSR & (1
Thread view
Attachments: 0
2010-03-11 by Steven Holder
What are your start up settings for the clock ? I.e the clock fuses, try setting the start up delay to be a bit longer (16k +64ms) this I think will help it out. Regards _____ From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Cat C Sent: 11 March 2010
Thread view
Attachments: 0
2010-03-11 by Cat C
I just discovered that using (or not) the watchdog only changes the values at which the problem happens, and it was undetected before because I wasn't using the Timer1 values where it happens without the watchdog. I'd still like to know why the watchdog changes anything in a main
Thread view
Attachments: 0
2010-03-11 by Cat C
Hi, Got this very strange problem(s). 1. For some reason, at power-up (4.5V from linear on-board regulator from PC 5V PSU) the microcontroller starts up temporarily but then stops (or goes to microcontroller heaven). I know this because I'm sending some text on the serial port ne
Thread view
Attachments: 0
2010-03-11 by ray.greyvenstein
Are you using any optimization? I vaguely recall a problem similar to this. It may have something to do with "volatile". ...Just a thought. --- In AVR-Chat@yahoogroups.com, Cat C wrote: > > > I just discovered that using (or not) the watchdog only changes the values at which the
Thread view
Attachments: 0
2010-03-01 by Dave McLaughlin
If your product is designed to run with your on software you should consider using the likes of the DLL from FTDI (assuming you use the FTDI devices) as this will remove the issue of knowing what com port it is on. The COM port option is really only applicable to a device which i
Thread view
Attachments: 0
2010-03-01 by Bob Paddock
On Sun, Feb 28, 2010 at 10:05 PM, Dave McLaughlin wrote: > > > I like the idea that is selects a different COM port as it allows me to use > more than 1 of the same type on the same PC. > The "every time I plug in I'm a new COM port" problem really confuses non-computer people th
Thread view
Attachments: 0
2010-03-01 by Dave McLaughlin
I like the idea that is selects a different COM port as it allows me to use more than 1 of the same type on the same PC. This allows me to add more additional serial ports and in the past I have had 6 installed without any issues whatsoever. Dave. From: AVR-Chat@yahoogroups.com [
Thread view
Attachments: 0
2010-03-01 by stevec
Edgeport USB to serial box. I have 8 ports. Great software, if you need that many. eBay - has a lot of edgeport 4 and 8 port boxes. --- In AVR-Chat@yahoogroups.com, "Dave McLaughlin" wrote: > > I like the idea that is selects a different COM port as it allows me to use > more tha
Thread view
Attachments: 0
2010-02-28 by David VanHorn
>> when they are individually attached to the same USB port they do not >> attach to the same virtual COM port. You can go into Windows and >> change the port but that would be a pain in a lot of applications. It >> would be nice if you could tell the driver to "always use COM5"
Thread view
Attachments: 0
2010-02-28 by Bob Paddock
On Wed, Feb 24, 2010 at 11:23 AM, Tim McDonough wrote: > Even > when they are individually attached to the same USB port they do not > attach to the same virtual COM port. You can go into Windows and > change the port but that would be a pain in a lot of applications. It > would
Thread view
Attachments: 0
2010-02-28 by stevec
I and many others choose USB/Serial adapters that use the FTDI chipset and Windows driver. Always good and reliable, unlike so many crapola drivers from China. --- In AVR-Chat@yahoogroups.com, "dex_design" wrote: > > Hi! > > > I have not found any USB-2-serial dongle that will ke
Thread view
Attachments: 0
2010-02-25 by Moataz Hussein
I,ve used the CP2102 it comes complete on board with output level at 5V which can be connected directly to the controller, http://www.sparkfun.com/commerce/product_info.php?products_id=198 Hope this helps, Moataz Hussein ----- Original Message ----- From: Marc R.J. Brevoort To: A
Thread view
Attachments: 0
2010-02-24 by Bruce Parham
Reid wrote: > I looked at Newegg store > http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&DEPA=0&Order=BESTMATCH&Description=usb+to+rs232 > I > could not find FTDI chip on it. There are few usb to rs232 cables. > > Reid > > On Tue, Feb 23, 2010 at 4:20 PM, Leon Heller wr
Thread view
Attachments: 0
2010-02-24 by Zack Widup
I have several pieces of ham radio equipment that use RS232 connections. These pieces of equipment that are commercially made were either made by companies that are no longer around or are not being produced with USB upgrades yet. And then there's some things I built myself! Zack
Thread view
Attachments: 0
2010-02-24 by enkitec@gmail.com
It isn't a comercial device. Just an old FT232AM chip without external EEPROM, circuit according to FTDI. Nothing special. I can plug it on any USB port to have a COM2 on Windows. Mark Jordan On 24-Feb-10 11:48, Zack Widup wrote: > Is this a commercially available device? Or one
Thread view
Attachments: 0
2010-02-24 by Tim McDonough
I would be interested in a solution to this as well. I have several pieces of an Arduino board that have USB and no tru serial port. Even when they are individually attached to the same USB port they do not attach to the same virtual COM port. You can go into Windows and change t
Thread view
Attachments: 0
2010-02-24 by Reid
I looked at Newegg store http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&DEPA=0&Order=BESTMATCH&Description=usb+to+rs232 I could not find FTDI chip on it. There are few usb to rs232 cables. Reid On Tue, Feb 23, 2010 at 4:20 PM, Leon Heller wrote: > > > On 23/02/2010 23:
Thread view
Attachments: 0
2010-02-24 by dex_design
Hi! > I have not found any USB-2-serial dongle that will keep the COMx number the same across USB ports. My Prolific USB-2-serial cable does that under Win 7. Don't know about it under XP, I kind of started using it a few weeks ago.
Thread view
Attachments: 0
2010-02-24 by Marc R.J. Brevoort
On Tue, 23 Feb 2010, rsimonus wrote: > I am curious about USB to serial db9 cable. > I am planning to buy one. I want to know if > any USB to serial 9pin cable which will work > with any device and my old Sony Clie or it is > depend on brand and model? I see walmart sell > those
Thread view
Attachments: 0
2010-02-24 by Zack Widup
Is this a commercially available device? Or one you built yourself? Either way, can you supply info on it? Zack On Wed, Feb 24, 2010 at 6:35 AM, wrote: > > > On 24-Feb-10 02:06, Donald H wrote: > > I have not found any USB-2-serial dongle that will keep the COMx number > the same
Thread view
Attachments: 0
2010-02-24 by STEVEN HOLDER
It depends on how the EEprom is configured, if the device is set to use a fixed serial number then it will always enumerate itself as the same com port whichever USB it is plugged into. I use these devices a fair bit and i always reconfigure the eeprom settings so that all FTDI d
Thread view
Attachments: 0
2010-02-24 by Tim Mitchell
----Original Message---- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of enkitec@gmail.com Sent: 24 February 2010 12:35 To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] Re: USB to serial db9 cable > On 24-Feb-10 02:06, Donald H wrote: > > I have
Thread view
Attachments: 0
2010-02-24 by enkitec@gmail.com
On 24-Feb-10 02:06, Donald H wrote: > I have not found any USB-2-serial dongle that will keep the COMx number the same across USB ports. > > don > > I would like to introduce my FTDI USB-2-serial dongle that doesn't change the COMx number when connected on different USB port. Don
Thread view
Attachments: 0
2010-02-24 by Tim Mitchell
Using the FTDI chip is a bit of a low-tech solution... if high speed data transfer is important I would say use one of the normal megas which has USB built in (eg AT90USB1287) or one of the AVR32s. Alternatively most ARM7 chips (Atmel or NXP) have all these features and more for
Thread view
Attachments: 0
2010-02-24 by Philippe Habib
I've had mixed luck. Sometimes they've worked for me. Sometimes I've gotten errors depending on the device. One motor controller I was working with wouldn't work with the cable or with a PCMCIA card. I wound up having to buy a computer with built in serial port for that project.
Thread view
Attachments: 0
2010-02-24 by Donald H
--- In AVR-Chat@yahoogroups.com, Leon Heller wrote: > > On 23/02/2010 23:00, rsimonus wrote: > > I am curious about USB to serial db9 cable. I am planning to buy one. I want to know if any USB to serial 9pin cable which will work with any device and my old Sony Clie or it is depe
Thread view
Attachments: 0
2010-02-23 by Leon Heller
On 23/02/2010 23:00, rsimonus wrote: > I am curious about USB to serial db9 cable. I am planning to buy one. I want to know if any USB to serial 9pin cable which will work with any device and my old Sony Clie or it is depend on brand and model? I see walmart sell those for $9 dol
Thread view
Attachments: 0
2010-02-23 by Dean Claxton
Looking into this a little further, it seems that the AVR32 (specifically the AVR32UC3A3) has an SDIO interface as well as high speed USB, with DMA transfer between these peripherals. That is looking to be a fairly economical choice, though I need to look into it little further.
Thread view
Attachments: 0
2010-02-23 by rsimonus
I am curious about USB to serial db9 cable. I am planning to buy one. I want to know if any USB to serial 9pin cable which will work with any device and my old Sony Clie or it is depend on brand and model? I see walmart sell those for $9 dollars. Reid
Thread view
Attachments: 0
2010-02-23 by blue_eagle74
Thanks for clearing that for me Tim. Looks like i am going to have to go with the FAT file system. Brian --- In AVR-Chat@yahoogroups.com, "Tim Mitchell" wrote: > > ----Original Message---- > From: AVR-Chat@yahoogroups.com > [mailto:AVR-Chat@yahoogroups.com] On Behalf Of blue_eagl
Thread view
Attachments: 0
2010-02-22 by Tim Mitchell
----Original Message---- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of blue_eagle74 Sent: 20 February 2010 05:04 To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] Re: small sd card > I have seen that document on avr freaks. I WILL have to > do some
Thread view
Attachments: 0
2010-02-22 by Zack Widup
Maybe I should've said "how much gain does the circuit need to have?" Zack On Sun, Feb 21, 2010 at 2:59 PM, Jim Wagner wrote: > > > And what power supplies? Maybe this is what Zack means by "input power"? > > How much voltage gain (net circuit gain)? > > Jim Wagner > Oregon Resea
Thread view
Attachments: 0
2010-02-21 by Jim Wagner
And what power supplies? Maybe this is what Zack means by "input power"? How much voltage gain (net circuit gain)? Jim Wagner Oregon Research Electronics On Feb 21, 2010, at 8:29 AM, Zack Widup wrote: > I'm sure there is. > > For what purposes? Over what frequency range? Into wha
Thread view
Attachments: 0
2010-02-21 by Zack Widup
I'm sure there is. For what purposes? Over what frequency range? Into what impedance range? With what input power? Zack On Sun, Feb 21, 2010 at 8:43 AM, magzky02 wrote: > > > hello everyone, any idea on how to build an analog amplifier with high > current output? like 5A. is ther
Thread view
Attachments: 0
2010-02-21 by mag0
i have seen an opamp ic which is perfect for my application - OPA549 from TI. tnx mago On Feb 21, 2010, at 10:43 PM, "magzky02" wrote: hello everyone, any idea on how to build an analog amplifier with high current output? like 5A. is there an amplifier ic with such current? mago
Thread view
Attachments: 0
2010-02-21 by magzky02
hello everyone, any idea on how to build an analog amplifier with high current output? like 5A. is there an amplifier ic with such current? mago
Thread view
Attachments: 0
2010-02-20 by blue_eagle74
I have seen that document on avr freaks. I WILL have to do some more reading in the SanDisk Secure Digital Card Product Manual. I was under the impression I could communicate to the card just like the eeprom I am using by giving a command to write and the address to start at. I h
Thread view
Attachments: 0