public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: about AT91SAM7XEK .
       [not found] <1170928780629.186.postmaster@masibus.com>
@ 2007-02-08 11:18 ` Andrew Lunn
  0 siblings, 0 replies; only message in thread
From: Andrew Lunn @ 2007-02-08 11:18 UTC (permalink / raw)
  To: Chirag shah; +Cc: eCos Disuss

On Thu, Feb 08, 2007 at 03:29:19PM +0530, Chirag shah wrote:
> Dear All,

Please don't email to individuals. Use the eCos mailling list, or pay
us lots of money for a support contract.....

>             Can anyone give me the C code for LED test on AT91SAM7XEK.

Take a look at hal_at91_led in
hal/arm/at91/at91sam7sek/current/src/at91sam7sek_misc.c

However i would suggest you first get the test programs working.  ie
do a make tests and then run them. These are known to work so allow
you to test if you build environment works without having to worry if
your LED program works.

> also tell me how to generate bin file from that because I am compiling ecos
> with minimal package with windows based graphical tool. and using example
> make file(appropriate changes for INSTALL_DIR path), .bin file can not be
> generated. instead hello.o (.o extension) file and hello.file ( .file
> extension) files are generated. And I don't know how to generate bin file
> because SAM-BA is accepting .bin file for download.

What is a .file file?

Take a look at the documentation for objcopy. It can generate .bin files.

However i suggest you invest in a JTAG programmer. SAM-BA is probably
O.K. for putting the image into a device at final production, but it
is not very useful for development and debug work.

   Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-08 11:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1170928780629.186.postmaster@masibus.com>
2007-02-08 11:18 ` [ECOS] Re: about AT91SAM7XEK Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).