2005-12-28 by Micah Stevens
Yes, but the part has that interface turned off by default from the factory, so you need the serial interface to turn it on before you can use it. I'm sure they did this so that the reset pin is just a reset pin by default, but I think they could of done this smarter.. *Shrug* -M
Thread view
Attachments: 0
2005-12-28 by John Samperi
At 04:59 PM 28/12/2005, you wrote >The DebugWire interface is what I would like to use to program the chip in >production, but to turn on that interface, apparently you need to set >something using the serial interface. Doesn't Debugwire use just the Reset pin? I haven't used it
Thread view
Attachments: 0
2005-12-28 by Micah Stevens
Wow, at 10Ghz, yes, I'd agree. I'll try it and hook up the spec an, and see what I get I guess. Thanks for the reply, makes me feel better about it! -Micah On Wednesday 28 December 2005 8:48 am, Brian Dean wrote: > On Tue, Dec 27, 2005 at 09:59:53PM -0800, Micah Stevens wrote: >
Thread view
Attachments: 0
2005-12-28 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "poitsplace" wrote: > Did you use the timer interrupt for that? Seems like it would > have less overhead than a delay loop. Yes. In this particular system the serial transmission and reception occurs "in the background" while other work is being d
Thread view
Attachments: 0
2005-12-28 by James Washer
I've got my avr-gcc mega8 full-duplex SW uart working.. just need to optimize it a bit now.. Thanks's for the kind offer of your code. Once I get mine where I want it, I'll take a look at yours. I'm fairly new to microcontrollers, so I like to take a stab at everything myself, be
Thread view
Attachments: 0
2005-12-28 by poitsplace
Did you use the timer interrupt for that? Seems like it would have less overhead than a delay loop (for reasons besides the fact that you had the MCU do nothing) --- In AVR-Chat@yahoogroups.com, "Don Kinzer" wrote: > > --- In AVR-Chat@yahoogroups.com, Zack Widup wrote: > > 9600 b
Thread view
Attachments: 0
2005-12-28 by Brian Dean
On Tue, Dec 27, 2005 at 09:59:53PM -0800, Micah Stevens wrote: > However, I need to use one pin of the serial interface(MOSI I think) > as a PWM output. I'm concerned that during normal operation, any > sort of header would just turn into an antenna at the PWM > frequencies I'm u
Thread view
Attachments: 0
2005-12-28 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, Zack Widup wrote: > 9600 baud is difficult to implement with an AVR running at 16 MHz. My 4-channel implementation can run at 19200 baud reliably but only if just one channel is open. For 2 to 4 channels, the maximum baud is limited to 9600. Of co
Thread view
Attachments: 0
2005-12-28 by Gary Dion
Hi Jim. Should you be using the AVR GCC compiler, you are welcome to some code I wrote to implement a full-duplex software UART. The function is set up to be called at 4x the baud rate you want. I run it at 4800 baud (ie. it's called at 19.2kHz) for a GPS receiver, but 9600 works
Thread view
Attachments: 0
2005-12-28 by Zack Widup
Microchip has an application note on serial comm that even gives routines for the timing and formulas to calculate the values used in the timers. I forget which one it is but I have it around somewhere. I've used it successfully with PIC16C54, 16F84 and 16F876. The only problem i
Thread view
Attachments: 0
2005-12-28 by dlc
Indeed, I generally sample the bit stream at the fastest rate I can, between 16 and 60X the clock rate, then arrange subsequent checks to be centered in the rest of the bits. I've gotten a 4MHz 12C508A to run reliably on its internal RC oscillator at 9600 bps and a Tiny12 at 1MHz
Thread view
Attachments: 0
2005-12-28 by Micah Stevens
Hi, I'm working on a design utilizing an ATMega88, and it's pretty full up. The DebugWire interface is what I would like to use to program the chip in production, but to turn on that interface, apparently you need to set something using the serial interface. However, I need to us
Thread view
Attachments: 0
2005-12-28 by James Washer
Yes, this is what I found to be true in (my limited) testing.. This is the opposite of what I believed to be true ( and attempted to write ) when I posted my question early. On Tue, 27 Dec 2005 22:21:50 -0000 "Ingvar Esk" wrote: > --- In AVR-Chat@yahoogroups.com, James Washer wro
Thread view
Attachments: 0
2005-12-27 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, James Washer wrote: > Is this correct? Yes. As you may know, the trick to bit banging a serial input is to arrange to sample the input line consistently somewhere near the middle of the bit window. Generally, this means that you need to sample the
Thread view
Attachments: 0
2005-12-27 by Ingvar Esk
--- In AVR-Chat@yahoogroups.com, James Washer wrote: > > I need to implement a bit-bang serial port. It's my understanding the RS232 "idles" high, which would mean the logic level out of a max232 would be low. The start bit would then be logic high to the AVR.. Is this correct? N
Thread view
Attachments: 0
2005-12-27 by Dennis Clark
This is correct. DLC James Washer wrote: > I need to implement a bit-bang serial port. It's my understanding the RS232 "idles" high, which would mean the logic level out of a max232 would be low. The start bit would then be logic high to the AVR.. Is this correct? > > thanks > >
Thread view
Attachments: 0
2005-12-27 by James Washer
I need to implement a bit-bang serial port. It's my understanding the RS232 "idles" high, which would mean the logic level out of a max232 would be low. The start bit would then be logic high to the AVR.. Is this correct? thanks - jim
Thread view
Attachments: 0
2005-12-27 by Jim Wagner
Jim - There is an Atmel apnote on bit-banged serial. It should be on the Atmel website AND on the AVRFreaks.net site. It should save you a lot of hassle! If you look at the waveforms for a standard serial UART, you will see what the idle levels are at the I/O pin. Cheers Jim On T
Thread view
Attachments: 0
2005-12-26 by massimo banzi
Sorry to jump in so late in the thread One option is to use this opensource platform I've worked on with a bunch of other people it's called arduino (http://arduino.cc). it works with an atmega8 our manufacturer sells a single usb board for 20EUR plus shippping but all the eagle
Thread view
Attachments: 0
2005-12-26 by Dave Hylands
Hi, > Now i'm confused, what's the difference between EPROM and FLASH? > FLASH is used for to store the program, and EPROM is used for data, > is that correct? > If I need to store a string of 9 bytes (configuration), what is > better to use? Your program exectes out of flash and
Thread view
Attachments: 0
2005-12-26 by filipesbp
--- In AVR-Chat@yahoogroups.com, "Don Kinzer" wrote: > > --- In AVR-Chat@yahoogroups.com, "filipesbp" wrote: > > I'm trying to make a project that needs to store the configuration > > when the power is off. I'm a C programmer (I use Avredit), and the > > only thing that i can fin
Thread view
Attachments: 0
2005-12-25 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "filipesbp" wrote: > I'm trying to make a project that needs to store the configuration > when the power is off. I'm a C programmer (I use Avredit), and the > only thing that i can find in Google is store e a external EPROM and > the code is in as
Thread view
Attachments: 0
2005-12-25 by filipesbp
Hi, I'm trying to make a project that needs to store the configuration when the power is off. I'm a C programmer (I use Avredit), and the only thing that i can find in Google is store e a external EPROM and the code is in assembly. Can some one tell me how can i do this in c? And
Thread view
Attachments: 0
2005-12-24 by Dave Hylands
Hi, > im a postgraduate student, now i doing a project on > CAN potocol > implementaton,using AT90CAN128, > does any one have the schematics of this,also tell > me how to approach to get good idea about the AVR > microcontrolers and thier programming, > pls send the schematics an
Thread view
Attachments: 0
2005-12-24 by James Washer
I hate to be so cold... but as a post grad... one would assume you already know quite a bit about electronics and micro's in general. So... Just download the Atmel docs for the CAN128, and get reading... On Sat, 24 Dec 2005 06:17:30 +0000 (GMT) pawan kumar wrote: > hello everybod
Thread view
Attachments: 0
2005-12-24 by pawan kumar
hello everybody, im a new member to this group and to the AVR mcs also, im a postgraduate student, now i doing a project on CAN potocol implementaton,using AT90CAN128, does any one have the schematics of this,also tell me how to approach to get good idea about the AVR microcontro
Thread view
Attachments: 0
2005-12-23 by scmikes03
Ted, I am also new. I was in the same boat as you. I would recommend going to the Smiley site: http://smileymicros.com/ If you drop ~$80 US dollars you get - Butterfly Board from atmel - Project Kit - Book that guides you step by step though - development environment setup - a nu
Thread view
Attachments: 0
2005-12-22 by jdelgadillo66
Hi, This post is for whish the best to everyone and remember... To help someone who needs it is part of duty, and also is part of the happiness Jaime Delgadillo
Thread view
Attachments: 0
2005-12-22 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, Zack Widup wrote: > My first contact with computers was in 1973 (IBM 360, DEC > 10, PDP-11). My first programming was in the early 70's on an IBM 1620 - FORTRAN IV on punch card input. As a graduate student in the mid-70s, I taught a senior level
Thread view
Attachments: 0
2005-12-22 by Russell Shaw
Jim Wagner wrote: > 65, here. > > Jim 35. But i got asked *twice* for ID yesterday when buying alcoholic stuff for xmas at two places.
Thread view
Attachments: 0
2005-12-21 by Zack Widup
On Wed, 21 Dec 2005, Thomas Keller wrote: > John Samperi wrote: > > > At 11:56 AM 21/12/2005, you wrote: > > >John, > > >By the way how old are you ? 50s or 60s ? > > > > 54 :-) now everybody knows. > > > Aww...that ain't *OLD*. Hell, *I* am 53. > > tom I am also 53. My first con
Thread view
Attachments: 0
2005-12-21 by Jim Wagner
65, here. Jim On Wed, 21 Dec 2005 13:47:55 -0600 Thomas Keller wrote: > John Samperi wrote: > > > At 11:56 AM 21/12/2005, you wrote: > > >John, > > >By the way how old are you ? 50s or 60s ? > > > > 54 :-) now everybody knows. > > > Aww...that ain't *OLD*. Hell, *I* am 53. > > to
Thread view
Attachments: 0
2005-12-21 by Jesper Hansen
Thread lightly here ! You can NOT run programs from external memory on the AVR's Harward architecture ! Unless, ofcourse, your "code" is in a format that the real program running on your CPU can parse/interpret. /Jesper Thomas Keller wrote: > jme_cd wrote: > > >>I am writing a pr
Thread view
Attachments: 0
2005-12-21 by Thomas Keller
John Samperi wrote: > At 11:56 AM 21/12/2005, you wrote: > >John, > >By the way how old are you ? 50s or 60s ? > > 54 :-) now everybody knows. > Aww...that ain't *OLD*. Hell, *I* am 53. tom
Thread view
Attachments: 0
2005-12-21 by Thomas Keller
Ted Smith wrote: > Hi, I'm probably the oldest living active programmer in Australia and > have decided to have a go at AVRmega16's before I die - Well, don't die anytime soon, OK!?? > hopefully > using Bascom basic. *BOO* *HISS* (I am MOST unimpressed with this package) [excess
Thread view
Attachments: 0
2005-12-21 by Thomas Keller
dlc@frii.com wrote: > >Mime-Version: 1.0 >Content-Type: multipart/mixed; boundary="=======AVGMAIL-43A9AC0D751E=======" > > ***ACK*** *PLEASE* do not post HTML in here! tom
Thread view
Attachments: 0
2005-12-21 by Thomas Keller
jme_cd wrote: > I am writing a program for my atmega8 but have gone over the limit, > that is my program is too big. Is there anyway that i can add an extra > eeprom chip or something that i can store all the code on and call it > from there? I haven't looked at the Mega8 specifi
Thread view
Attachments: 0
2005-12-21 by dlc@frii.com
Thanks Larry and Brian. I'm still on my quest to liberate myself from the PC entirely. Sadly, while it can be mostly done, it just isn't that easy! happy holidays, DLC > Read the FAQ. The sample makefile that comes with WinAvr should work fine > with the mac. You can also look at
Thread view
Attachments: 0
2005-12-21 by poitsplace
Yep, I often recommend bascom...great way to go. Most beginners won't go over it's 4k output limitation. Development center: Great idea, or... Rip the DB25/DB9 connector off an old (internal) serial port cable and add it to your programmer (yes, that's the programmer from the pon
Thread view
Attachments: 0
2005-12-21 by Larry Barello
Read the FAQ. The sample makefile that comes with WinAvr should work fine with the mac. You can also look at the man pages for GCC. something like avr-gcc -c -mmcu=$(MCU) -I. -x assembler-with-cpp -Wa,-adhlns=$( -o should do the job. The magic lines of code are .section .text,"ax
Thread view
Attachments: 0
2005-12-21 by John Samperi
At 01:34 PM 21/12/2005, you wrote: >I was born in 1936 and named after the new King Edward VIII who... >abdicated soon after I was born. So...we have finally found the culprit. :-D Regards John Samperi ******************************************************** Ampertronics Pty. Ltd
Thread view
Attachments: 0
2005-12-21 by John Samperi
At 11:56 AM 21/12/2005, you wrote: >John, >By the way how old are you ? 50s or 60s ? 54 :-) now everybody knows. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA Tel. (02) 9
Thread view
Attachments: 0
2005-12-21 by Brian Dean
On Tue, Dec 20, 2005 at 09:22:58PM -0700, dlc wrote: > I don't use WINAVR, I'm a Mac person and use just gcc-avr, there is > no GAS in that distribution. Is avr-as the same thing? Or is there no > debugger in the "generic" distribution? That's gas - avr-as is the gnu assembler fo
Thread view
Attachments: 0
2005-12-21 by dlc
Larry, I don't use WINAVR, I'm a Mac person and use just gcc-avr, there is no GAS in that distribution. Is avr-as the same thing? Or is there no debugger in the "generic" distribution? thanks, DLC Larry Barello wrote: > I do that all the time: high speed encoders, or special low-
Thread view
Attachments: 0
2005-12-21 by Brian Dean
On Tue, Dec 20, 2005 at 09:24:49AM -0700, dlc@frii.com wrote: > I've written code using the gcc-avr compiler in C for various > projects, but I have some code written for Tiny13 and Tiny11 chips > that are straight assembly. Has anyone written pure assembly using > gcc-avr? Can w
Thread view
Attachments: 0
2005-12-21 by dlc
Bummer about the debugging - That comes in handy in AVR Studio when doing very time critical routines - I have several programs that are 100% asm since there is no "RAM" in the little Tiny micros. thanks, DLC Larry Barello wrote: > I do that all the time: high speed encoders, or
Thread view
Attachments: 0
2005-12-21 by Henry Carl Ott
At 09:13 PM 12/20/2005, you wrote: >I am writing a program for my atmega8 but have gone over the limit, >that is my program is too big. Is there anyway that i can add an extra >eeprom chip or something that i can store all the code on and call it >from there? > >thanks >jamie Opt
Thread view
Attachments: 0
2005-12-21 by jenalcom
--- In AVR-Chat@yahoogroups.com, "Ted Smith" wrote: > > Hi, I'm probably the oldest living active programmer in Australia and > have decided to have a go at AVRmega16's before I die - hopefully > using Bascom basic. > I have done a lot with VB6 and assembly with the old 6502's 25
Thread view
Attachments: 0
2005-12-21 by Ted Smith
Ah yes, the old PDP11! I had forgotten! I had some experience with one in 1978 when I worked at Channel 7. It was purchased as the engine of a supposedly sutomatic presentation controller (switching the commercials in on time automatically and recording the events on a paper roll
Thread view
Attachments: 0
2005-12-21 by Ted Smith
Thanks for all your conflicting advices! I hadn't seen the link to the Bascom Manual. Maybe I'll follow thwe C path once I get it going in basic. I am doing it probably the hard but interesting way, building my own development system hardware using the PC parallel port for progra
Thread view
Attachments: 0