Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Messages

Browse messages

Page 297 of 307 · 15341 messages matched

How to implement 6 UART Serial Connections using Atmega128

2004-02-03 by suri_list

We have to implement 6 serial connections to 6 modules from each module. we are going to use the atmega128 on each module. The atmega128 has 2 uarts so i can implement 2 simultaneous uarts. It is preferable not to have any external components (we have to keep footprint small) , s

Thread view Attachments: 0

Probs with ATMega 16 (after programming)

2004-02-03 by Marcus Klein

Hi AVR-world! I have problems programming an ATMega 16 device via ICSP on two application boards I designed (two different boards with different applications). The first one works fine but as I finished the second one today and put a blank ATMega in for programming, the following

Thread view Attachments: 0

Re: [AVR-Chat] SPI on an ATmega not quite working

2004-02-03 by Brian Dean

On Tue, Feb 03, 2004 at 12:06:26AM -0500, Dave VanHorn wrote: > Tonights test gives 33 lines/sec print speed, roughly 1.5x the > competition's top of the line machine.. Sounds very cool! My application is nothing so time critical - it is part of the operator interface for a robot

Thread view Attachments: 0

Re: [AVR-Chat] SPI on an ATmega not quite working

2004-02-03 by Dave VanHorn

At 11:53 PM 2/2/2004 -0500, Brian Dean wrote: >After hooking up a scope and taking some measurements, I think the >problem might be that the hardware SPI on the ATmega128 is too fast >for the device I'm hooking up. At the largest prescale for the >hardware SPI, I measure the SPI

Thread view Attachments: 0

Re: [AVR-Chat] SPI on an ATmega not quite working

2004-02-03 by Brian Dean

After hooking up a scope and taking some measurements, I think the problem might be that the hardware SPI on the ATmega128 is too fast for the device I'm hooking up. At the largest prescale for the hardware SPI, I measure the SPI clock at around 116 KHz. This is close to what the

Thread view Attachments: 0

Re: [AVR-Chat] SPI on an ATmega not quite working

2004-02-03 by Brian Dean

On Mon, Feb 02, 2004 at 10:13:53PM -0500, Dave VanHorn wrote: > The MISO pin is defined as input in DDR, right? Yep. On the ATmega128, MISO is bit 3 of PORTB (mask 0x08). I initialize DDRB to 0x07 which sets /SS, SCK, and MOSI to outputs and MISO as an input. -Brian -- Brian Dean

Thread view Attachments: 0

SPI on an ATmega not quite working

2004-02-03 by Brian Dean

Hi, This is my first time using the hardware SPI on an ATmega, although I've bit banged SPI plenty of times. I want to use the hardware SPI since all the shifting happens in the background. What I've found is that while the data seems to be being shifted out and the clock generat

Thread view Attachments: 0

Problem while building avr-libc

2004-02-02 by suri_list

Hi All While compiling avr-libc i get the following error ..can anyone guide me as to what i should do. Thanks avr-gcc -DPACKAGE=\"avr-libc\" -DVERSION=\"20020203\" -I. -I../../../../libc/pm string -I../../../../include -I../../../../common -x assembler-with-cpp -Wa,- gstabs -mmc

Thread view Attachments: 0

Assembler Notation

2004-02-02 by Dave VanHorn

Guys and Gals (well Gal, anyway..) How do you folks handle defining bits, so that you can use SBRS/SBRC and SBR/SBR instructions in a sane manner? I find the notation confusing, as one is set BITS in register, and the other is skip if BIT. What I would like to do, is define a por

Thread view Attachments: 0

Re: [AVR-Chat] SPI on Mega-8

2004-02-02 by Dave VanHorn

Broken-ness to report. The sim dosen't work right. The SPI, with double speed enabled, seems to take regular time, or maybe run at 1.5X depending on the weather. If you time out a routine to shove data in SPDR at 2.5uS intervals, with SPI set at max speed (4Mhz) you'll get WCOL i

Thread view Attachments: 0

Re: [AVR-Chat] AVR Assembler idea

2004-02-02 by Dave VanHorn

At 10:17 PM 2/2/2004 +1100, Les Grant wrote: >Hi Dave, > >Why don't you put the file in an include file. When you need to check >on some bit definitions, just open the include file in another editor >window. I can right click on a variable and the editor opens the file >where the

Thread view Attachments: 0

Re: [AVR-Chat] AVR Assembler idea

2004-02-02 by Les Grant

Hi Dave, Why don't you put the file in an include file. When you need to check on some bit definitions, just open the include file in another editor window. I can right click on a variable and the editor opens the file where the variable is defined. Regards, Les. On 31 Jan 2004 a

Thread view Attachments: 0

Is this configuration compatible ?

2004-02-02 by suri_list

I am just starting out with the atmega128 this is what i plan to use: 1) avr-gcc tool chain 2) UISP software programmer 3) A populated AVR-H128B Header Board from olimex 4) Parallel Port Dongle Programmer (AVR-PG2B)from olimex My questions are : 1) Is the "Parallel Port Dongle Pr

Thread view Attachments: 0

AW: [AVR-Chat] AVR Assembler idea

2004-02-01 by Klaus Ruebsam

Hi Dave, DvH> This is an html-like kind of thing and requires a little thought to implement, but I think it will make everyone's lives easier. You won´t (of course you do!) believe how much I´d like to have exactly THAT feature. I often thought back to the old 8080-times where Ma

Thread view Attachments: 0

Re: STK300 and ATMEGA 128L

2004-02-01 by lexx296

> I was wondering if anyone out there had any experience > with the STK300 starter kit. > > I've got one with an ATMEGA 103L daughter card but want > to use this with the ATMEGA 128L. > > Is this board upgradable to the new ATMEL 128L part or > do I toss it? Well, if you do toss

Thread view Attachments: 0

AVR Assembler idea

2004-01-31 by Dave VanHorn

I have a suggestion, to make something very tedious, and yet very important, much less of a problem.. Frequently, you end up with a register (or ram location) filled with bit flags doing inter-task signalling. So, you end up with something like this in your comments: ; ;Burn Flag

Thread view Attachments: 0

RE: [AVR-Chat] OT: Poslan protocol ?

2004-01-30 by Dave Miller

Interfacing POS peripherals used to be my life. In the early-mid 90's that is all I did. I do have some of the specifications for POS peripherals such as IBM 468x, 469x, IBM 3680, NCR OCIA, and ICL/Datachecker Multidrop. The Specification that I have for ICL is the Multidrop. Thi

Thread view Attachments: 0

Re: [AVR-Chat] GDB debugger advice sought

2004-01-30 by Brian Dean

On Fri, Jan 30, 2004 at 08:33:36AM +0000, Adrian wrote: > > To install avarice: > > > > cd /usr/ports/devel/avarice && make install > > > > To install avr-gdb; > > > > cd /usr/ports/devel/avr-gdb && make install > > > > To install a pretty good simulator: > > > > cd /usr/ports/de

Thread view Attachments: 0

Re: Change settings UART COM2

2004-01-30 by sven_32@yahoo.com

Programming in BASCOM AVR ATMEGA128 8Mhz internal Crystal BASCOM-AVR IDE Version : 1.11.7.4 Compiler: Version 1.11.7.4 --- In AVR-Chat@yahoogroups.com, Dave VanHorn wrote: > > > > >there is no change in the actual settings of the com port.... > >Please help > >Hope that makes it

Thread view Attachments: 0

GDB debugger advice sought

2004-01-30 by Adrian

Brian wrote: > To install avarice: > > cd /usr/ports/devel/avarice && make install > > To install avr-gdb; > > cd /usr/ports/devel/avr-gdb && make install > > To install a pretty good simulator: > > cd /usr/ports/devel/simulavr && make install I have tried to use these (binary di

Thread view Attachments: 0

OT: Poslan protocol ?

2004-01-30 by Alex Gibson

Does anyone know where I could find the specs for this protocol or get a copy. allelectronics.com are selling a vfd display that was made for ICL. http://www.allelectronics.com/cgi-bin/category.cgi?category=search&item=VFD-202&type=store Can get the display powered up and lightin

Thread view Attachments: 0

Re: [AVR-Chat] Re: A day in the life

2004-01-29 by Brian Dean

On Thu, Jan 29, 2004 at 07:51:23AM -0500, Dave VanHorn wrote: > Speaking of that, I do wish that atmel hadn't decided to make the > registers available as ram. I'm on the trail now, of what may be a > bad ST Z,temp into register space. Does that platform allow > breaking on write

Thread view Attachments: 0

Re: [AVR-Chat] Re: A day in the life

2004-01-29 by Dave VanHorn

At 04:43 PM 1/29/2004 +1100, samperi@ampertronics.com.au wrote: >At 10:32 PM 28/01/04 -0500, you wrote: > >everytime I use the JTAGICE, I ask myself, "why don't I use this more > >- it works great?". > >Poor old (HAIRLESS) Dave is working with the Mega8 if I'm >not mistaken on th

Thread view Attachments: 0

Re: [AVR-Chat] Re: A day in the life

2004-01-29 by Dave VanHorn

> >Come on over to the dark side, Dave - FreeBSD. > >Find a spare system and load up the latest FreeBSD 4.9-RELEASE >Download that from here: > > http://www.freebsd.org/ > >To install avr-gcc: > cd /usr/ports/devel/avr-gcc && make install > >To install avrdude: > cd /usr/ports/de

Thread view Attachments: 0

RE: [AVR-Chat] AVR development Environemnt and Programmer question

2004-01-29 by Claxton, Dean J

Here's that URL for DIY ICE http://avr.openchip.org/bootice/ Regards Dean Claxton -----Original Message----- From: Bruce Parham [mailto:obparham@jpl.nasa.gov] Sent: Thursday, 29 January 2004 7:04 AM To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] AVR development Environemnt

Thread view Attachments: 0

Re: [AVR-Chat] Re: A day in the life

2004-01-29 by samperi@ampertronics.com.au

At 10:32 PM 28/01/04 -0500, you wrote: >everytime I use the JTAGICE, I ask myself, "why don't I use this more >- it works great?". Poor old (HAIRLESS) Dave is working with the Mega8 if I'm not mistaken on this project. No JTAGICE for it. Regards John Samperi *********************

Thread view Attachments: 0

RE: [AVR-Chat] AVR development Environemnt and Programmer question

2004-01-29 by Claxton, Dean J

Had anyone built the DIY JTAG debugger? Got the link to the website somewhere, but essentially it was based around ATMEGA163, and flashed with the Atmel JTAG firmware. Just wondering if it works like the $300US real thing. Dean -----Original Message----- From: Bruce Parham [mailt

Thread view Attachments: 0

Re: [AVR-Chat] Re: A day in the life

2004-01-29 by Brian Dean

On Wed, Jan 28, 2004 at 11:52:18AM -0500, Dave VanHorn wrote: > >Seriously, that sounds awful. How are major projects developed > >with AVR if the tools couse this much pain ? > That is a question I have asked myself a lot, over the last couple > years. My experience with studio

Thread view Attachments: 0

RE: [AVR-Chat] AVR development Environemnt and Programmer question

2004-01-29 by stevech

PRLLC and other companies have relatively small boards which have boot loaders in flash and can download new flash code via a serial link at, say, 19.2Kbps. Some, like PRLLC include the PC side downloader program free with the board. C code: WinAVR - a form of GCC for the ACVR. N

Thread view Attachments: 0

Re: [AVR-Chat] AVR development Environemnt and Programmer question

2004-01-28 by Bruce Parham

I'm currently using the Imagecraft AVR C compiler (ICCAVR) for an 'M128 project. It's about as good as it gets. The "Pro" version ($500 US) I'm using, has full support for debugging structures in AVRStudio. For a fresh start project, I'd recommend investing $300 (US) for the Atme

Thread view Attachments: 0

AVR development Environemnt and Programmer question

2004-01-28 by harshit suri

Hello Our team has chosen the Atmel Mega 128 as the MCU for our project. I was actually misled by the Ad on atmel website that Avr studiocxan be used to compile C code for the Atmel MCU. It only has support for 3rd party vendors. Our development environment is windows. this is wh

Thread view Attachments: 0

Re: [AVR-Chat] Driving FET.

2004-01-28 by Wagner Lipnharski

MuRaT KaRaDeNiZ wrote: > internal clamping diodes of the IRF530 like > transistors are of fast recovery type, as documented, > so supplying external clamping diodes (1n4007 in your > part's list ) is not needed, and but if you insist on > using them, try to use fast recovery shot

Thread view Attachments: 0

Re: [AVR-Chat] Driving FET.

2004-01-28 by MuRaT KaRaDeNiZ

internal clamping diodes of the IRF530 like transistors are of fast recovery type, as documented, so supplying external clamping diodes (1n4007 in your part's list ) is not needed, and but if you insist on using them, try to use fast recovery shottky ones. _______________________

Thread view Attachments: 0

Re: [AVR-Chat] Re: A day in the life

2004-01-28 by Dave VanHorn

> >Planning on switching to PICs are we ? :P heh heh I see it more as a testament to how much I despise the internal "architecture" of the pic. >Seriously, that sounds awful. How are major projects developed with AVR >if the tools couse this much pain ? That is a question I have

Thread view Attachments: 0

A day in the life

2004-01-28 by Dave VanHorn

Just for laughs, I thought it would be interesting to actually log what happens in an actual day of debugging. Here's yesterday's 12 hour session, debugging a M8 project, using the latest studio, and ICE-50, on a 2 ghz win-98 machine with 256m of ram. I did not log how many issue

Thread view Attachments: 0

RE: [AVR-Chat] RESET problems

2004-01-28 by Dave VanHorn

At 08:37 PM 1/28/2004 +1000, Jack Valmadre wrote: >I've fixed the problem. >Turns out the IC pins weren't reaching deep enough in my breadboard to >find the connection. >In future I'll use one of those sockets with the really long legs. >Sorry it was such a stupid mistake. >Thank

Thread view Attachments: 0

Re: A day in the life

2004-01-28 by fnatmed

--- In AVR-Chat@yahoogroups.com, Dave VanHorn wrote: > > Just for laughs, I thought it would be interesting to actually log what > happens in an actual day of debugging. > Similar problems happen in simulation, so I don't think that the ICE is > involved, at least not directly. >

Thread view Attachments: 0

RE: [AVR-Chat] RESET problems

2004-01-28 by Kathy Quinlan

I hate breadboards and love them at the same time lol Try putting an IDC dip header in one, they usually fall put :o( I now have a set of dev boards with 16 dip switches (2x8) 16 leds buffered, enough 10pin IDC to socket holes for running a Mega part, LCD, Rs 232 and RS 422 drive

Thread view Attachments: 0

RE: [AVR-Chat] RESET problems

2004-01-28 by Kathy Quinlan

Not wishing to start a holy war ;o) but as an ENGINEER I can not condone running parts out of spec. I also dislike people complaining of problems when they run parts out of spec. I agree a lot off people do it, but try reliably accessing the EEPROM when over clocking the AVR (btw

Thread view Attachments: 0

RE: [AVR-Chat] RESET problems

2004-01-28 by Jack Valmadre

I've fixed the problem. Turns out the IC pins weren't reaching deep enough in my breadboard to find the connection. In future I'll use one of those sockets with the really long legs. Sorry it was such a stupid mistake. Thanks, Jack -----Original Message----- From: Jack Valmadre [

Thread view Attachments: 0

RE: [AVR-Chat] RESET problems

2004-01-28 by Jack Valmadre

It is an AT90S8535, however replacing the 10MHz crystal with an 8MHz crystal did not fix the RESET problem. I doubt this would be what caused the damage, because I know someone who runs an AT90S2313 at 20MHz, when it is recommended to run at 10MHz. Could the problem be fuses? Jac

Thread view Attachments: 0

RE: [AVR-Chat] RESET problems

2004-01-28 by Kathy Quinlan

Is it a mega 8535 or just an AT90S8535 ? As the old non mega part does not run above 8Mhz, and running at 10Mhz will cause this problem. Regards, Kat. > -----Original Message----- > From: Jack Valmadre [mailto:jack.valmadre@optusnet.com.au] > Sent: Wednesday, 28 January 2004 4:03

Thread view Attachments: 0

RE: [AVR-Chat] RESET problems

2004-01-28 by Jack Valmadre

Forgot to mention: I am using PonyProg 206c on WinXP home. Jack. -----Original Message----- From: Jack Valmadre [mailto:jack.valmadre@optusnet.com.au] Sent: Wednesday, 28 January 2004 6:03 PM To: AVR-Chat@yahoogroups.com Subject: RE: [AVR-Chat] RESET problems I'm using a simple h

Thread view Attachments: 0

RE: [AVR-Chat] RESET problems

2004-01-28 by Jack Valmadre

I'm using a simple homebrew programmer circuit that consists of 5 input lines being connected to MOSI, MISO, SCK, RESET and GND. I remember these were 6, 7, 9, 10 and 25 though I forget what order. There are two more connections - pin 2-13 and 3-11 or something like that. I teste

Thread view Attachments: 0

AVRDUDE Version 4.3.0 Released

2004-01-28 by Brian Dean

Greetings, We are pleased to announce AVRDUDE Version 4.3.0. AVRDUDE is open source Atmel AVR FLASH programming software which runs on FreeBSD Unix, Linux, and Windows. This release includes several significant enhancements including: * STK500 optimization where empty blocks of f

Thread view Attachments: 0

Re: [AVR-Chat] Driving FET.

2004-01-27 by Ken Holt

Hi Wagner - I have been driving power FETs in 2 projects this past month, both with lower voltage and power than yours. I'm down in the 3V / 1A region, and have had good results with the Fairchild FDG311N and FDG312P, which were used in one project as a bridge driven directly fro

Thread view Attachments: 0

Re: [AVR-Chat] RESET problems

2004-01-27 by Wagner Lipnharski

Jack Valmadre wrote: > Hi, > I've been running a few simple LED chaser and PWM programs on my > AT90S8535 and I just went to switch from my old Windows 98 computer to > my Windows XP machine, when I noticed that the RESET pin wasn't > working. No matter what I connect to it, it c

Thread view Attachments: 0

RE: Sim problems, AGAIN.

2004-01-27 by Dave VanHorn

At 10:18 AM 1/9/2004 +0100, avrbeta@atmel.com wrote: >Hi, > >Thanks for your feedback. In your last mail you state that this below >problem is fixed. Both #1 and #2? #1 was my fault, sorry. :-P #2 has not recurred, but I didn't do anything about it. While we're on the subject, th

Thread view Attachments: 0

Re: [AVR-Chat] Re: Change settings UART COM2

2004-01-27 by Dave VanHorn

> >there is no change in the actual settings of the com port.... >Please help >Hope that makes it more clear.... Not really. Is this some version of basic for the AVR that you're working with? If so, which one, and which version? Which AVR are you using? Crystal speed?

Thread view Attachments: 0

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.