EmbDev.net

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


Author: Don Bartholomew (Company: LeDon Inc) (bart524)
Posted on:
Attached files:

Rate this post
0 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.

Author: Don Bartholomew (Company: LeDon Inc) (bart524)
Posted on:
Attached files:

Rate this post
0 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?

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.