Sign in

username:

password:



Not a member?

Search AT91SAM



Search tips

Subscribe to AT91SAM



Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | AT91SAM ARM | Making an Internet device from a 9261-EK -> Linux vs DM9000 low-level coding

For users of the Atmel AT91SAM7 and AT91SAM9 ARM CPU chips. Atmel has taken a new direction by combining on chip flash and ram with the ARM CPU on a single die. This provides low cost devices for small systems using the ARM CPU. This group is to exchange information to help users get started and learn how to use the devices.

Making an Internet device from a 9261-EK -> Linux vs DM9000 low-level coding - terryastone - Aug 2 15:32:49 2009

Hi AT91SAMs,

I have been studying the 9261-EK, writing boot programs, drawing to the LCD, communicating over USB. It's been slow, but fascinating.

Now I want to write an application that uses the network port. But I can't find an example of how to do this in the Atmel libraries. So I have two choices:

1) Write my own C code to communication with the DM9000 on board the 9261-EK, and then write my own code to receive and send files over a TCP-IP network. (This sounds like a major job, and I can't find anyone else on the Internet who has done this.)

2) Install the Linux system that came with the Atmel EK, and write code for the Linux system.

2.01) Like 2) but with Windows CE. Except I don't think Windows CE is free.

Has anyone tried either?

I have no experience of writing for Linux. I don't know which compiler to use, or even how to get apps onto a Linux AT91. Does anyone out there know a good intro? Can I use Eclipse?

Thanks for reading.

Terry.

------------------------------------



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )


Re: Making an Internet device from a 9261-EK -> Linux vs DM9000 low-level coding - Dan Lyke - Aug 2 16:14:36 2009

On Sun, 02 Aug 2009 15:38:30 -0000
"terryastone" wrote:
> 2) Install the Linux system that came with the Atmel EK, and write
> code for the Linux system.

I've done this by way of using Buildroot to build a Linux installation,
and writing code for the Linux system with the development chain that
Buildroot creates. It should also be possible to use the various
toolchains that people have compiled for Windows.

As for what environment you can use, yes, there are examples out there
using Eclipse. I prefer Linux as a general computing environment, so
I use Emacs and build with Makefiles in the Emacs environment.

I get apps on to the device in two ways:

1. If I have an ethernet port, I just put the machine on my local
network and copy files over to it, usually using "scp" as the last
stage of my build.

2. If I don't have a network port, usually I've got some sort of device
that'll work as a filesystem. Right now I've been working on a 9261-EK
on which the ethernet has been disabled in favor of some other
peripherals, so I use a USB stick.

Two other ways:

3. If the device has enough storage, you could put a complete
development environment on it and just compile and run in place.

4. I believe you can set up a USB TCP/IP connection and use scp or some
other network mechanism (heck, you could probably fairly easily NFS or
SMB mount a server) to get the binary applications across.

Dan
------------------------------------



(You need to be a member of AT91SAM -- send a blank email to AT91SAM-subscribe@yahoogroups.com )