Hello,
I'm having a hard time using the command linker file provided by logic PD for the AM3517evm. I getting the following error on a simple HelloWorld example :
What am I doing wrong?

This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I'm having a hard time using the command linker file provided by logic PD for the AM3517evm. I getting the following error on a simple HelloWorld example :
What am I doing wrong?

That linker command file looks like it was written for use with TI's ARM compiler rather than the CodeSourcery tools. I think that's your issue, i.e. wrong tool chain.
Hello Brad,
You are absolutly right, I found out about it yesterday. Besides I forgot to mention that I'm using Linux and according to what I understood I don't need to use a linker script.
I'm learning on my own all that stuff and it's a lot to digest.
Thanks for your reply
Hello Brad,
Is it actually a true statement that I don't need to use a linker script to load a program with a Jtag cable on a board running an OS? I'm a bit confused on how to do that.
I was able to compile Hello_World with CodeSourcery, connect to the AM3517evm board with my new Jtag cable xds560v2 from Spectrum Digital and Linux is up and running, but when I load the program CCSv5.1 tell me "trouble writing Memory Block ...Verify that the memory address is in a valid memory".
It does make sense, because it seems that nowhere I'm indicating the emulator where to load the program. However, of course when I execute the program under linux prompt ./Hello_World it's working because according to my understanding Linux knows how to load the program in the right memory block.
Can you explain to me the process and tell me how to do this simple task.
Thank you very much
Laurent Z said:Is it actually a true statement that I don't need to use a linker script to load a program with a Jtag cable on a board running an OS? I'm a bit confused on how to do that.
Depends on the OS! For example, Linux will link the files at run-time (e.g. support for dynamically linked libraries, etc). If you're running on "bare metal" then you would have to link the files at build time.
Laurent Z said:I was able to compile Hello_World with CodeSourcery, connect to the AM3517evm board with my new Jtag cable xds560v2 from Spectrum Digital and Linux is up and running, but when I load the program CCSv5.1 tell me "trouble writing Memory Block ...Verify that the memory address is in a valid memory".
You shouldn't load a Linux program over JTAG. You need to put the program in the Linux root file system and then invoke the program through the target's Linux shell (e.g. through serial port or by logging in through telnet).