Getting HelloWorld to talk

OP (Company: LeDon Inc) #3156884
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.
OP (Company: LeDon Inc)
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?
Attached files:

Reply

A question of your own? This thread is over 13 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.