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.

Running "Hello World" on an EVM board (with TMS320C6748 SOM)

I am trying that ol' standard test program -- "Hello World". 

I followed the instructions (given in http://tiexpressdsp.com/images/2/27/CCSv4Tutorial-HelloWorld.pdf ), including attaching my configuration file to the project.

When I run/debug the program, it gives the following error:

C674X_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.

C674X_0: Trouble Writing Register PC: Error 0x00000006/-1176 Error during: Memory, Register, The IM memory request is not serviced by the HW memory system. This could be caused by the memory address specified does not exist in the specified memory/cache level.

I'm guessing the config file is not properly telling the linker/loader how to access memory. (?)  But my config file already uses the GEL file obtained from the maker of my EVM board (LogicPD). 

Any ideas on what is causing the problem?

Thanks for your help.

  • Hi Walter,

    If you don't specify a linker command file, the linker will use default locations to place the sections. In some cases, this is fine (like with the tutorial running "hello world" on a simulator). But depending on your device, the defaults may not work. I used the attached linker command file to build and run "hello world" on the DSP of the C6748. I got the original file from one of the examples for the EVM, which are available from Logic PD's website. Try dropping this file into your project folder.

    ki

     

    linker_dsp.cmd