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.

"relocated address " error

Other Parts Discussed in Thread: TMS320F28069

 Hello,

I am using TMS320F28069. I am trying to implement CLA functionality to my existing program. and I have made some necessary changes to the .cmd file which is being used for linking.

Whenever I am trying to access any variable in CLA I get the following error

warning #17003-D: relocation from function "Cla1Task1" to symbol "_dac_data" overflowed; the 17-bit relocated address 0x14000 is too large to encode in the 16-bit unsigned field (type = 'R_ABS16_OC' (107),file = "./sine.obj", offset = 0x00000012, section = "Cla1Prog:retain")

I tried declaring variable to following places….

1) Local declaration (inside the CLA interrupt function)

2) Declaration in “CpuToCla1MsgRAM

3) Declaration in “Cla1ToCpuMsgRAM

But for any variable error remains same.

What could be the possible reason for trouble?

  • Shailesh,

    It is difficult to tell what is wrong from the information you've provided.  My first guess is some sort of byte vs. word confusion when the .cmd file was setup.  The address given by the warning message is 0x14000, and this is a reserved word address in the F28069 so you should not have anything linked there.

    What "necessary changes to the .cmd file" did you make that are causing the warning?

    - David