Atmel website | ARM Community | AVR freaks | Technical Support
Banner
Welcome to AT91SAM Community Forum
http://www.at91.com/samphpbb/

at91sam7s-ek Major Problems With Example Files
http://www.at91.com/samphpbb/viewtopic.php?f=15&t=19152
Page 1 of 1

Author:  Benj [ Wed Apr 14, 2010 5:47 pm ]
Post subject:  at91sam7s-ek Major Problems With Example Files

Hello,

Right I am trying to get up to speed with the SAM7S examples pack "at91sam7s-ek" available from the Atmel website.

When I load any project into Eclipse I get the following error. For example here is the getting started project.

make all
makefile:60: ../at91lib/boards/at91sam9260-ek/board.mak: No such file or directory
make: *** No rule to make target `../at91lib/boards/at91sam9260-ek/board.mak'. Stop.

Looking in the makefile I see the first problem is that these lines of code are incorrect,

CHIP = at91sam9260
BOARD = at91sam9260-ek

Changing to this makes for a bit more success.

CHIP = at91sam7s128
BOARD = at91sam7s-ek

However now I get the following error.

make (e=2): The system cannot find the file specified.

make: *** [obj/flash_board_cstartup.o] Error 2

I have checked that paths are correct and that the files are where they are suppost to be.

Is there anyone that can help me to get this running or can anyone recommend a better set of examples that actually work for the SAM7S devices.

Author:  Benj [ Wed Apr 14, 2010 6:00 pm ]
Post subject:  Re: at91sam7s-ek Major Problems With Example Files

I've just contacted Atmel Support and also phoned one of their support engineers (I got the answer phone)

My guess is that I will not hear back from either.

Has anyone else used these example files succesfully?

Author:  Benj [ Wed Apr 14, 2010 6:31 pm ]
Post subject:  Re: at91sam7s-ek Major Problems With Example Files

Here is the official reply.

I am sorry but we do not support eclipse toolchain.
Our SAM7S-EK are working fine under IAR or Keil.

To which I replied.

Please can you tell me why there is examples for the "GNU" compiler in the "at91sam7s-ek" examples package?

Also there is a getting started document that shows how to set up the "GNU" compiler. Why?

Is there anything you can do to help me to get this working it really does seem that the code very nearly compiles as is.

We actively sell a product called ***** that uses the Atmel ARM SAM7S devices and the GCC compiler.

This sells lots of your SAM7S chips to our customers. Are you saying that we should scrap ***** for Atmel ARM because the "GNU" compiler is not supported?

Author:  billium [ Thu May 13, 2010 10:42 pm ]
Post subject:  Re: at91sam7s-ek Major Problems With Example Files

I am also trying to build the gnu examples, but cp15_asm.S fails on a double slash comment. I could easily change the source file, but would prefer if you could advise on the settings you used to compile the examples. The binutils I'm using is 2.20.1

Many thanks

Author:  billium [ Fri May 14, 2010 11:28 am ]
Post subject:  Re: at91sam7s-ek Major Problems With Example Files

Sorry my fault .. I was trying to use my own simplified makefile because I do not understand your makefiles. I will just have to go through them and and try to understand them. :roll:

All in all your projects build fine. :D

Many thanks

Author:  oscarin43 [ Wed Jan 11, 2012 5:21 pm ]
Post subject:  Re: at91sam7s-ek Major Problems With Example Files

Hi.

Did you find a solution to your problem?
actually i have the same.

Best Regards.

Author:  oscarin43 [ Wed Jan 11, 2012 5:25 pm ]
Post subject:  Re: at91sam7s-ek Major Problems With Example Files

I had the error of the board.mak but i change this line

AT91LIB = ../at91lib to
AT91LIB = at91lib

but now i have this

make all
arm-elf-gcc -g -Iat91lib/boards/at91sam9xe-ek -Iat91lib/peripherals -Iat91lib/components -Iat91lib -Dat91sam9xe512 -D__ASSEMBLY__ -c -o obj/board_cstartup.o at91lib/boards/at91sam9xe-ek/board_cstartup.S
process_begin: CreateProcess(NULL, arm-elf-gcc -g -Iat91lib/boards/at91sam9xe-ek -Iat91lib/peripherals -Iat91lib/components -Iat91lib -Dat91sam9xe512 -D__ASSEMBLY__ -c -o obj/board_cstartup.o at91lib/boards/at91sam9xe-ek/board_cstartup.S, ...) failed.
make (e=2): El sistema no puede encontrar el archivo especificado.

make: *** [obj/board_cstartup.o] Error 2

Help!!!

Author:  lnties [ Thu Apr 26, 2012 2:56 pm ]
Post subject:  Re: at91sam7s-ek Major Problems With Example Files

hii....i also have the same problem....when i am loading the files i am getting the error
make: *** No rule to make target `at91lib/boards/at91sam9260-ek/board.mak'. Stop.
Did u find any solution to deal with dis?
Help me out....

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/