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  [ 2 posts ] 
Author Message
 Post subject: linking error in AT91SAM7X256 using IAR
PostPosted: Thu Jul 16, 2009 12:18 pm 
Offline

Joined: Thu Jul 16, 2009 12:13 pm
Posts: 1
hi..
i'm a starter with this kit (AT91SAM7X256) and while trying to create my first project on IAR, i had these two errors:
Error[Li005]: no definition for "resetHandler" [program entry]
Error while running Linker

i've put in a lot of time but couldn't find out how to fix it... please help me out..


Top
 Profile  
 
 Post subject: Re: linking error in AT91SAM7X256 using IAR
PostPosted: Sat Aug 01, 2009 1:09 pm 
Offline

Joined: Thu Mar 02, 2006 1:32 pm
Posts: 127
Location: Switzerland
Hi

The linker is expecting to find a code location called resetHandler which it puts to the start of FLASH (this will be defined either in a linker script file or in a project configuration).
This code is usually supplied in an assembler start up file so if it can't be found there are two possible reasons:
1) the assembler startup is not included in the project files. In this case do a search through all assembler files to locate the one needed.
2) the assembler startup is included but it has a different name for this code. (eg. reset_code rather than "resetHandler"). In this case you may be able to change the project define to expect this name or else change the name accordingly.

Regards

Mark

http://www.uTasker.com


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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: