Yahoo Groups archive

AVR-Chat

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

Messages

Browse messages

Page 52 of 307 · 15341 messages matched

Re: [AVR-Chat] virtual terminal

2009-07-27 by hossein hashemi

but i want to do it by atmega32! --- On Mon, 7/27/09, Richard Reeves wrote: From: Richard Reeves Subject: Re: [AVR-Chat] virtual terminal To: AVR-Chat@yahoogroups.com Date: Monday, July 27, 2009, 11:17 PM The Virtual Terminal in ISIS doesn't need a MAX232 driving it - you'll be g

Thread view Attachments: 0

Re: [AVR-Chat] virtual terminal

2009-07-27 by Richard Reeves

The Virtual Terminal in ISIS doesn't need a MAX232 driving it - you'll be giving it inverted data, but there was a bug in the Mega16 and Mega32 models at some point recently, causing the UART to transmit rubbish. I think I reported it to Labcenter. I'd suggest trying a Mega644 wi

Thread view Attachments: 0

Re: Problem in receive a serial data and show it

2009-07-27 by aligole_2005

I mean, for example when I use "%S" it shows some strange figures in GLCD, or when I use "%U" it shows some wrong numbers in GLCD (because the numbers should formally be in a range and don't change very much). The structure of packet exist in the second file that I shared. It's 5

Thread view Attachments: 0

virtual terminal

2009-07-27 by iijfet

hi, 1.i want to make a virtual serial data by proteus virtual terminal,i place a virtual terminal block,join it to mega32,also i use max232 between them,but after max 232,from mega32 to output(virtual terminal) no data transmit 2.how do i make my favorite data* to send it for mic

Thread view Attachments: 0

Re: Problem in receive a serial data and show it

2009-07-26 by s.holder123@btinternet.com

When you say wrong, what do mean ? When you send your data from the pc how is the data formatted ie are they ascii characters '0','1','2' etc or number values 1,2,3,4 interpretation between these values would be different especially when you send them as a string. What is a typic

Thread view Attachments: 0

Re: [AVR-Chat] Re: Problem in receive a serial data and show it

2009-07-25 by Jim Wagner

If it is CodeVision, then some other mechanism is probably involved. gcc uses "volatile". Sounds like it is time to read! Jim On Jul 25, 2009, at 11:51 AM, aligole_2005 wrote: > Dear Catalin > I don't think so, because if you mean these : > char status,data; > they are some codes

Thread view Attachments: 0

RE: [AVR-Chat] Problem in receive a serial data and show it

2009-07-25 by Cat C

Could it be that you update some variable in an ISR routine and it's not declared as "volatile" ? Good luck, Cat > To: AVR-Chat@yahoogroups.com > From: aligole_2005@yahoo.com > Date: Fri, 24 Jul 2009 21:20:07 +0000 > Subject: [AVR-Chat] Problem in receive a serial data and show i

Thread view Attachments: 0

Re: Problem in receive a serial data and show it

2009-07-25 by aligole_2005

Dear Catalin I don't think so, because if you mean these : char status,data; they are some codes that the code vision make them itself, when we active the usart. --- In AVR-Chat@yahoogroups.com, Cat C wrote: > > > Could it be that you update some variable in an ISR routine and it

Thread view Attachments: 0

RE: [AVR-Chat] JTAGICE MKII

2009-07-24 by John Samperi

At 12:52 AM 25/07/2009, you wrote: >Where? http://www.arrownac.com/manufacturers/atmel/s/avr/ Scroll down at the bottom of the page. I think it is still valid until October. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Br

Thread view Attachments: 0

Problem in receive a serial data and show it

2009-07-24 by aligole_2005

Hello I'm doing my final project of university. In a part of this I need to receive a serial data with special structure that I shared it here : http://www.4shared.com/file/120420235/3829d17a/Usart.html It's briefly a 5 byte formatted data, that every single byte has a meaning fo

Thread view Attachments: 0

RE: [AVR-Chat] JTAGICE MKII

2009-07-24 by Steve Hodge

Where? Steve From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of John Samperi Sent: Thursday, July 23, 2009 2:57 PM To: AVR-Chat@yahoogroups.com Subject: Re: [AVR-Chat] JTAGICE MKII At 11:49 PM 23/07/2009, you wrote: >original JTAGIC MKII is very expensi

Thread view Attachments: 0

Re: [AVR-Chat] JTAGICE MKII

2009-07-23 by John Samperi

At 11:49 PM 23/07/2009, you wrote: >original JTAGIC MKII is very expensive 300 Dollars. Currently there is a special on for half price and you get the real Atmel unit. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwo

Thread view Attachments: 0

JTAGICE MKII

2009-07-23 by a_decent22

Hello Everybody, Is there anybody using the clone version of JTAGICE MKII? I want to use this to work with STK1000. I find price of original JTAGIC MKII is very expensive 300 Dollars. Secondly, anyone in this forum has done something with the STK1000 32-bit development board. I h

Thread view Attachments: 0

Re: [AVR-Chat] WatchDog Timer

2009-07-21 by Dennis Clark

One quick way that I'm fond of is to write to an external one-byte buffer. I usually don't have the I/O lines to do a parallel write, but use a serial-in, parallel out part. Before every task spit out a byte that identifies what task is currently running. If the unit crashes I ca

Thread view Attachments: 0

Re: WatchDog Timer

2009-07-21 by s.holder123@btinternet.com

Thanks for the tip on the nana lib, could come in useful, but i do have some tried and tested assertion macros that have served me fine,. I wasn't suggesting that the eeprom fix is a good idea for production code, only to find out what is going wrong, you need some area that won'

Thread view Attachments: 0

Re: [AVR-Chat] WatchDog Timer

2009-07-21 by David VanHorn

> So how does one record information to determine where the bug might be in a > situation where it is very difficult to reproduce the conditions that caused > the software hang? > > I can have the application leave 'breadcrumbs' at different points but this > would either take a

Thread view Attachments: 0

Re: [AVR-Chat] Re: WatchDog Timer

2009-07-21 by Bob Paddock

On Tue, Jul 21, 2009 at 4:01 AM, s.holder123@btinternet.com wrote: > > > Just a minor point, the newer range of AVR devices , (atmega168, xmega etc) > have the capability of mapping the watchdog timeout to an interrupt rather > than a reset, Check the errata, that doesn't work in

Thread view Attachments: 0

Re: WatchDog Timer

2009-07-21 by s.holder123@btinternet.com

Just a minor point, the newer range of AVR devices , (atmega168, xmega etc) have the capability of mapping the watchdog timeout to an interrupt rather than a reset, therfore breadcrumbs can be managed. 2 methods spring to mind with watchdogs, 1) The dark art of assertion Macros,

Thread view Attachments: 0

Re: [AVR-Chat] WatchDog Timer

2009-07-21 by Jim Wagner

Chuck - My experience is that a watchdog timer is simply a reset of last resort, after the horses are out of the barn, but hopefully before they have wandered to some place dangerous. I know of no way to read the watchdog timer. You only know when it has timed out. I personally d

Thread view Attachments: 0

Re: [AVR-Chat] parallel eeprom for signal pattern generator

2009-07-21 by mago Umandam

Thanks a lot David and John regards, mago --- On Tue, 7/21/09, John Samperi wrote: From: John Samperi Subject: Re: [AVR-Chat] parallel eeprom for signal pattern generator To: AVR-Chat@yahoogroups.com Date: Tuesday, July 21, 2009, 1:15 PM At 01:06 PM 21/07/2009, you wrote: >if i w

Thread view Attachments: 0

Re: [AVR-Chat] parallel eeprom for signal pattern generator

2009-07-21 by John Samperi

At 01:06 PM 21/07/2009, you wrote: >if i write once and read 1 million times is OK? Yes. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA Tel. (02) 9674-6495 Fax (02) 9674-8

Thread view Attachments: 0

Re: [AVR-Chat] parallel eeprom for signal pattern generator

2009-07-21 by David VanHorn

> If i remove the serial eeprom and AVR, change the SRAM with parallel EEPROM, will there any problem in read cycle? Datasheet for AT28C040 says endurance is 10 000 cycles. This means 10 000 read and write? so if i write once and read 1 million times is OK? Just need some inputs

Thread view Attachments: 0

WatchDog Timer

2009-07-21 by Chuck Hackett

I am about to use the WDT for the first time (ATMega16). I do not have a software problem in my device at the moment but I want to have the WDT active in my production application. From reading the full datasheet for the ATMega16 it seems that, after a WD reset, there is no way t

Thread view Attachments: 0

parallel eeprom for signal pattern generator

2009-07-21 by magzky02

Good day to everyone. I am going to make a signal pattern generator. initilly, i am using a serial eeprom to store data, an AVR controller and an SRAM. Upon power up the AVR read data from serial eeprom and pass to the SRAM. Then run a frequency counter on SRAM address to create

Thread view Attachments: 0

Re: [AVR-Chat] double UART code

2009-07-19 by John Samperi

At 06:11 PM 19/07/2009, you wrote: >avr chip:atmega64 >software:codevision >are you have a sample code for me? Codevision has an example in the example folder for 2 USARTs and LCD. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd

Thread view Attachments: 0

double UART code

2009-07-19 by iijfet

hi,i want to read "8bit data,odd parrity,1stop bit" from a medical module & send it for a bluetooth module(capable of serial communication & has RX,TX pins).bauderate is 4800bps. avr chip:atmega64 software:codevision are you have a sample code for me?

Thread view Attachments: 0

Re: [AVR-Chat] Moving average filter

2009-07-19 by David Kelly

On Jul 17, 2009, at 5:43 PM, Adeilton Oliveira wrote: > I don't know how the division operation is internally implemented, > but I > think in your case you can use >>4 instead of /16. Its a simple matter to examine the generated assembly with the debugger in AVR Studio. Or to ask

Thread view Attachments: 0

Re: [AVR-Chat] Moving average filter

2009-07-18 by Roy E. Burrage

How about just modifying an Atmel application note? http://www.atmel.com/dyn/products/app_notes.asp?family_id=607 Look at AVR222 and 223. Both address digital filters. dpharris@telus.net wrote: > Use a revolving buffer to store your last 16 values. > > Do an initial sum from the

Thread view Attachments: 0

Re: [AVR-Chat] Moving average filter

2009-07-18 by dpharris@telus.net

Use a revolving buffer to store your last 16 values. Do an initial sum from the first 16 values. Then at each step: if(++i>15) i=0; // get the next mafdata slot mafsum = mafsum + data - mafdata[i]; // update running sum mafdata[i] = data; // remember latest value in slot data = m

Thread view Attachments: 0

Re: [AVR-Chat] Moving average filter

2009-07-17 by Adeilton Oliveira

Hello. I don't know how the division operation is internally implemented, but I think in your case you can use >>4 instead of /16. ?????????? ????? ?????????? wrote: > > Hello! > > I using WinAVR 20090313 and ATMega32. > I write code for time critical application. > There is a mo

Thread view Attachments: 0

Re: [AVR-Chat] Moving average filter

2009-07-17 by David Kelly

On Fri, Jul 17, 2009 at 12:07:14PM +0300, ???????????????????? ?????????? ???????????????????? wrote: > Hello! > > I using WinAVR 20090313 and ATMega32. > I write code for time critical application. > There is a moving average filter algorithm. [...] Do not start a new thread wit

Thread view Attachments: 0

RE: [AVR-Chat] atmega64l programming

2009-07-17 by hossein hashemi

i didn't say it. --- On Fri, 7/17/09, Tim Mitchell wrote: From: Tim Mitchell Subject: RE: [AVR-Chat] atmega64l programming To: AVR-Chat@yahoogroups.com Date: Friday, July 17, 2009, 6:22 PM ----Original Message---- From: AVR-Chat@yahoogroup s.com [mailto:AVR-Chat@yahoogroup s.com]

Thread view Attachments: 0

RE: [AVR-Chat] atmega64l programming

2009-07-17 by Tim Mitchell

----Original Message---- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of hossein hashemi Sent: 17 July 2009 14:23 To: AVR-Chat@yahoogroups.com Subject: RE: [AVR-Chat] atmega64l programming > yes,i have a 4Mhz ext crystal.plz send me a fusebit > confi

Thread view Attachments: 0

RE: [AVR-Chat] atmega64l programming

2009-07-17 by hossein hashemi

yes,i have a 4Mhz ext crystal.plz send me a fusebit configuration for 2usart application. --- On Fri, 7/17/09, Tim Mitchell wrote: From: Tim Mitchell Subject: RE: [AVR-Chat] atmega64l programming To: AVR-Chat@yahoogroups.com Date: Friday, July 17, 2009, 1:46 PM ----Original Messa

Thread view Attachments: 0

Re[2]: [AVR-Chat] Moving average filter

2009-07-17 by Антощенков Роман Викторович

Hello, Andreas. > > Hallo Roman, > there are two things you could do to speed up the calculation > significantly. First of all, it's not necessary to shift the data > through the array with each update cycle. Instead, keep the data in > its position and just use an index to the o

Thread view Attachments: 0

Re: [AVR-Chat] Moving average filter

2009-07-17 by Andreas Stemmer

Andreas Stemmer wrote: > It's also not necessary to calculate the sum which each update. Instead, > save the old sum and just remove the oldest element and add the new element > with each update. Just an additional note: this works fine with integers - with floats however, this c

Thread view Attachments: 0

Re: [AVR-Chat] Moving average filter

2009-07-17 by Andreas Stemmer

Hallo Roman, there are two things you could do to speed up the calculation significantly. First of all, it's not necessary to shift the data through the array with each update cycle. Instead, keep the data in its position and just use an index to the oldest element (like a ring b

Thread view Attachments: 0

RE: [AVR-Chat] atmega64l programming

2009-07-17 by Tim Mitchell

----Original Message---- From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of iijfet Sent: 16 July 2009 18:53 To: AVR-Chat@yahoogroups.com Subject: [AVR-Chat] atmega64l programming > hi,i'm so deprss.i want to have a double-usart by > atmega64l. > > but i

Thread view Attachments: 0

Moving average filter

2009-07-17 by Антощенков Роман Викторович

Hello! I using WinAVR 20090313 and ATMega32. I write code for time critical application. There is a moving average filter algorithm. unsigned char data = 0; unsigned char i = 0; unsigned char mafinit = 0; unsigned int mafsum = 0; unsigned char mafdata[16]; if (!mafinit) { for (i

Thread view Attachments: 0

atmega64l programming

2009-07-16 by iijfet

hi,i'm so deprss.i want to have a double-usart by atmega64l. but i program it,exp for test i make PORTC=255,it program,but these pins of micro are not 1-logic,and these voltage are 0; i don't know really the correct fusebit configuration at usart state.i know M103 must set to 0,b

Thread view Attachments: 0

Re: Cant connect to avrfreaks at work, can connect at home

2009-07-15 by granz_consult

If you can get a resolution from NSLOOKUP, that means that you have connectivity to the DNS server, not the site. The next thing to check is to try to ping the site (first by name and if that fails then by IP address.) If you are able to ping the site, then the trouble is probabl

Thread view Attachments: 0

Re: [AVR-Chat] Cant connect to avrfreaks at work, can connect at home

2009-07-13 by John Samperi

At 02:26 AM 14/07/2009, you wrote: >Ideas of what to check/look for? Thanks. I'll be watching my mail. I have no idea...could it be some settings with the firewall that may have been accidentally set? Regards John Samperi ******************************************************** A

Thread view Attachments: 0

Re: [AVR-Chat] Cant connect to avrfreaks at work, can connect at home

2009-07-13 by Zack Widup

Hmm ... dunno. I can open it fine at the moment here with IE7 and Mozilla Firefox. Zack On Mon, Jul 13, 2009 at 11:26 AM, wrote: > > > Hello AVR users. I'm at work today... If I click my favorite in ie7 for > avrfreaks.net, I get 'cant display this website'. Boss says there is no

Thread view Attachments: 0

Cant connect to avrfreaks at work, can connect at home

2009-07-13 by BobGardner@aol.com

Hello AVR users. I'm at work today... If I click my favorite in ie7 for avrfreaks.net, I get 'cant display this website'. Boss says there is no site blocker on our system... its just a linksys router to a t1 box. In a cmd window I can do nslookup avrfreaks.net and it gives me the

Thread view Attachments: 0

Re: [AVR-Chat] Build fails with AVR Studio and WinAVR

2009-07-12 by John Samperi

At 10:27 AM 12/07/2009, you wrote: >I google it and found that i needed a patch, Why don't you post thin on this GCC forum at avrfreaks.net? Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NS

Thread view Attachments: 0

EEVBLOGS

2009-07-12 by Kathy Quinlan

Hi all, First off I am back from my 3.5 month enforced holiday. OK while on holiday I was surfing sites, I found some that may be of interest to some people: First cab off the rank is David Jones EEVblog :) http://www.alternatezone.com/eevblog/?paged=3 I hope you find something i

Thread view Attachments: 0

Build fails with AVR Studio and WinAVR

2009-07-12 by Ivan Gomez

Hi all, I am trying to use AVR Studio and WinAVR to copile the following code that is a sample provided in the AVR Studio tutorial: #include int main(void) { DDRB = 0xFF; while (1) { PORTB = PIND; } } But when I run the Build I got the following: Build started 11.7.2009 at 18:21:

Thread view Attachments: 0

More on the avrdude won't write EEPROM to TINY2313

2009-07-01 by dlc

Hi all, I've looked at everything that I have found on the 'net and tried a fuse setting, sending 16 bit data to the EEPROM, whatever. Here is the results of my last experiment. Oh, avrdude version 5.5 is what I'm using. Using the avr libc EEPROM routines I have this line of code

Thread view Attachments: 0

Re: [AVR-Chat] avrdude, TINY2313 and writing EEPROM problem

2009-06-29 by Dennis Clark

> I had, on occasion, to change timings in the avrdude config file. > I just increased some... basically trying my luck, and sometimes I got > lucky. This is what I'm wondering about - EEPROM writes take some special cycles for proper timing when doing it pro grammatically via th

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.