Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: at91sam7s-ek Major Problems With Example Files
PostPosted: Wed Apr 14, 2010 5:47 pm 
Offline

Joined: Fri Jan 22, 2010 7:24 pm
Posts: 8
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.


Top
 Profile  
 
 Post subject: Re: at91sam7s-ek Major Problems With Example Files
PostPosted: Wed Apr 14, 2010 6:00 pm 
Offline

Joined: Fri Jan 22, 2010 7:24 pm
Posts: 8
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?


Top
 Profile  
 
 Post subject: Re: at91sam7s-ek Major Problems With Example Files
PostPosted: Wed Apr 14, 2010 6:31 pm 
Offline

Joined: Fri Jan 22, 2010 7:24 pm
Posts: 8
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?


Top
 Profile  
 
 Post subject: Re: at91sam7s-ek Major Problems With Example Files
PostPosted: Thu May 13, 2010 10:42 pm 
Offline

Joined: Thu May 13, 2010 9:50 pm
Posts: 2
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


Top
 Profile  
 
 Post subject: Re: at91sam7s-ek Major Problems With Example Files
PostPosted: Fri May 14, 2010 11:28 am 
Offline

Joined: Thu May 13, 2010 9:50 pm
Posts: 2
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


Top
 Profile  
 
 Post subject: Re: at91sam7s-ek Major Problems With Example Files
PostPosted: Wed Jan 11, 2012 5:21 pm 
Offline

Joined: Wed Jan 11, 2012 4:54 pm
Posts: 3
Hi.

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

Best Regards.


Top
 Profile  
 
 Post subject: Re: at91sam7s-ek Major Problems With Example Files
PostPosted: Wed Jan 11, 2012 5:25 pm 
Offline

Joined: Wed Jan 11, 2012 4:54 pm
Posts: 3
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!!!


Top
 Profile  
 
 Post subject: Re: at91sam7s-ek Major Problems With Example Files
PostPosted: Thu Apr 26, 2012 2:56 pm 
Offline

Joined: Thu Apr 26, 2012 2:41 pm
Posts: 1
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....


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron