EmbDev.net

Forum: ARM programming with GCC/GNU tools Getting HelloWorld to talk


von Don B. (Company: LeDon Inc) (bart524)



Rate this post
useful
not useful
Hi,
I am having trouble getting the HelloWorld.c to say anything.
Attached is my setup.
     I'm using Ethernut 5.1. Configurator.jpg will show you my setup.
     HelloWorld.c is the code.
     HelloWorld Linder address map is the portion of the linker that say 
where it all is being compiled. I think this is the problem. But I can't 
seem to find where to change this from x20000000 (xram) to x200000 
(flash).
     HelloWorld compile is the make results.
     SAM-BA connect is the settings for connecting to the AT91SAM9XE-EK
     SAM_BA upload shows that I'm loading it into the flash (where I 
want it).
     Putty setup is the com port setup (this works for the ATMEL demo 
program, blinking lights.

I want the HelloWorld to output "HelloWorld". I think my problem is in 
the compiling to an address.
Where do I set this?

Thanx for your help.

von Don B. (Company: LeDon Inc) (bart524)


Attached files:

Rate this post
useful
not useful
I found the change for readdressing in the at91sam9260_ram.ld.
recompiled, uploaded and still did not get any output.

According to the data sheet the 9260 and 9XE are the exact same pins. 
And there is not a platform file for the 9XE. When you look at the 
Configuration you will see this.

So now my question is do I need a 9XE platform file for Configurator?

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.