RE: [avr-gcc-list] Atmel EIT

2005-06-04 Thread Eric Fu
Hugo wrote: I recently purchased the EIT (Embedded Internet Toolkit) from Atmel. I have modified the source code so that it compiles under avr-gcc. But I have problems accessing the CS8900A Ethernet Controller and I cannot read the ID register of that chip. Does anybody have

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

2005-06-04 Thread Kitts
On Sunday 05 Jun 2005 12:09 am IST, you wrote: Yes constant strings are copied from ROM to RAM at startup and indeed RAM is consumed at this point. Therefore is it better to use strings in ROM/FLASH as this would save RAM. Would it be possible to declare a string to be in flash memory? I can

Re: [avr-gcc-list] PEN on atmega128

2005-06-04 Thread Kitts
On Sunday 05 Jun 2005 12:47 am IST, Jamie Morken wrote: Does PEN need to be tied to GND for the SPI programming interface to work on the atmega128? From the datasheet: PEN is a programming enable pin for the SPI Serial Programming mode. By holding this pin low during a Power-on Reset, the

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

2005-06-04 Thread Joerg Wunsch
Kitts [EMAIL PROTECTED] wrote: Something like this... length = strlen_P(PSTR(some string)); Yes, exactly that way. -- cheers, Jorg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/NIC: JW11-RIPE Never trust an operating system you don't

Re: [avr-gcc-list] avrdude, ATMega128

2005-06-04 Thread Joerg Wunsch
Torsten Mohr [EMAIL PROTECTED] wrote: I added a new programmer in avrdude.conf: programmer id= dapa; desc = What 'uisp' understands as 'dapa'; type = par; vcc = 3; reset = 16; sck = 1; mosi = 2; miso = 13; ; Btw., please take a moment, and fill out a patch

Re: [avr-gcc-list] Atmel EIT

2005-06-04 Thread Jeff Kowing
On Sat, 2005-06-04 at 09:56 -0400, Hugo Villeneuve wrote: I recently purchased the EIT (Embedded Internet Toolkit) from Atmel. I have modified the source code so that it compiles under avr-gcc. But I have problems accessing the CS8900A Ethernet Controller and I cannot read

Re: [avr-gcc-list] Atmel EIT

2005-06-04 Thread Hugo Villeneuve
On Sat, 04 Jun 2005 15:25:10 -0500 Jeff Kowing [EMAIL PROTECTED] wrote: On Sat, 2005-06-04 at 09:56 -0400, Hugo Villeneuve wrote: I recently purchased the EIT (Embedded Internet Toolkit) from Atmel. I have modified the source code so that it compiles under avr-gcc. But

Re: [avr-gcc-list] PEN on atmega128

2005-06-04 Thread Jamie Morken
- Original Message - From: Anton Erasmus [EMAIL PROTECTED] Date: Saturday, June 4, 2005 1:36 pm Subject: Re: [avr-gcc-list] PEN on atmega128 Make sure you used the correct pins for the SPI programming. On the ATMega128 one does not use the normal MOSI, MISO pins for SPI, but RXD and

Re: [avr-gcc-list] PEN on atmega128

2005-06-04 Thread Parthasaradhi Nayani
--- Torsten Mohr [EMAIL PROTECTED] wrote: i wonder if anybody ever successfully used an ATMega128? I always assumed that. We have been using ATMega128 without any problems for more than a year. We use the SPI bus to program the chip with AVRISP. On some occations used JTAG programmer.

RE: [avr-gcc-list] PEN on atmega128

2005-06-04 Thread Trampas
Remember the Atmega128 does not use the SPI pins for the ISP it uses the Rx/Tx pins of the UART. Regards, Trampas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Parthasaradhi Nayani Sent: Saturday, June 04, 2005 10:25 PM To: Torsten Mohr;