EmbDev.net

Forum: µC & Digital Electronics Arduino + Ethershield Programming with avr-gcc

Author: Andreas Hoeschler (ahoesch)
Posted on: 2010-02-06 20:47

Hi all,

I have built the avr-gcc tool chain under Solaris and am able to write
and burn simple blinking led programs to my Arduino Duemilanove board
with avrdude and a avrispmkII SPI programmer.

I now would like to establish communication between the Duemilanove
board and my host (Solaris 10). I could try RS232 but that would mean
that i have to physically separate the TxD, RxD lines from the ATMEGA to
the USB-chip and instead solder some MAX232 to the board. Since the
Ultra 20 Workstation (Solaris 10) I am using for programmming the board
via SPI does not even have a serial port, I am prefering to communicate
with the board via TCP. I have the Arduino Ethernet Shield board but no
idea how to use that. All samples I have found so far are for Arduino
sketches. Since I am programming on the command line with pico, make,
aavr-gcc and avrdude, I need to do this differently but how? Any example
for that? Help (Example code, Example Makefile) would be greatly
appreciated!

Thanks a lot!!!

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]






webmaster@embdev.netContactAdvertising on EmbDev.net