[avr-gcc-list] basic UART problem / example

2005-06-03 Thread Przemek Urbanski
Hey, I am new to avr programming. I can not get my at90s8515 talk to rs232. I wrote basic interrupt driven program for at90s8515 talking via UART to rs232 on my PC. Compiled using CodeVisionAVR. It worked fine. Now I am using: avr-gcc (GCC) 3.4.4 binutils 2.15 avr-libc 1.2.3 on linux (Fedora

[avr-gcc-list] Re: [avr-chat] will an avr be fast enough...

2005-06-03 Thread Kitts
On Friday 03 Jun 2005 1:44 am IST, Reza Naima wrote: So, I'm working on a project where I'll be taking data from an MAX1031 16-channel 10-bit SPI based A2D and need to stream the data out via an infrared link. The max SPI clock of the MAX1031 is 10mhz, and I need a sampling rate of around

[avr-gcc-list] strlen() returns erroneous values

2005-06-03 Thread Kitts
Hi All, Are there any special considerations to take care of when using the function strlen()? The function does not always return the right values. Some times it appears to skip a NULL character and reaches out to the next following NULL. I am multitasking on the AVR and from the avr-libc

Re: [avr-gcc-list] basic UART problem / example

2005-06-03 Thread Parthasaradhi Nayani
Hello, A lot about serial port programming has been discussed in the avrfreaks forum. This is the best place to get answers. Nayani P --- Przemek Urbanski [EMAIL PROTECTED] wrote: Hey, I am new to avr programming. I can not get my at90s8515 talk to rs232. I wrote basic interrupt driven

Re: [avr-gcc-list] About the EEPROM application problem in AVR

2005-06-03 Thread Bob Paddock
On Thursday 02 June 2005 09:32 pm, laser lei wrote: I used the ATmega48 EEPROM stored my parameter. But I can't read back right data before in my program For the Mega48 the logic at the end of avr/io.h is flawed because iomx8.h sets E2END to 0xFF. #if E2END 0x100