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

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

Attached files:

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


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.