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: load image to AXD debugger
PostPosted: Fri Sep 24, 2004 10:59 pm 
Offline

Joined: Fri Sep 24, 2004 10:45 pm
Posts: 2
Location: South Dakota
Hi, I have a problem to load an image into AXD debugger. I am using ADS 1.2 and ATMEL EB55 evaluation board. First, I wrote an small HelloWorld.s program in assembler which display "helloworld" to console, and loaded into AXD debugger, it can be loaded and run properly. then, I wrote another C program with just one line code, printf("hello World"). The C program is then put into a new project and compiled. It has one warning saying
"c2207W: inventing 'extern int printf()\;'.

When I started to load this image into the board using AXD, the load process can not complete. it took some time, and then stop loading, due to timeout.

This problem happed before at debugger setup. When I start a project, the stationary target, debug's default setting on ARM linker is
"-info totals -ro-base 0x008000."
However, I found that the ATMEL provided projects using "-info totals -ro-base 0x000040". So I changed it with ATMEL's setting, and the image can be downloaded. I am not sure what this setting for, if this has any effect on the loading the image to board.

Thanks,
Li

_________________
Regards,
Li


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 23, 2004 12:02 pm 
Offline

Joined: Tue Feb 17, 2004 5:46 pm
Posts: 16
Location: ATMEL Rousset
hI Li

I advice to use the basic software provide by ATMEL for get the correct project configuration.

http://www.atmel.com/dyn/products/tools ... ol_id=2719

Warning when you use the printf you try to use the semis hosting facility, in this case you need to configure the C linker and the AXD semi hosting feature.

The Arm linker not use the "-info totals -ro-base 0x008000."
The AT91EB55 don't have memory at this address check in the ATMEL project the current address setting.

The best way it's to download the basic tools example available on www.atmel. web site.
hope this help


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 11 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: