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.

DM6446 program code addresses

Other Parts Discussed in Thread: TMS320DM6446, CCSTUDIO

Dear all,

Hi, I am quite new to this forum, and hence a newbie. I have bought and now using TMS320DM6446 EVM, and my team is now developing through an emulator using CCStudio 5.3.

I have a question related to program code addresses. I need to know (or configure if possible) the exact program code addresses in order to:

1. Copy the program codes into Flash and then (restart and) boot the ARM from there
2. Enter the interrupt routine by setting the interrupt entry base address (the EABASE and IRQENTRY registers)
3. Copy part of the program codes into DDR so that I can boot the DSP from there

The problem is:

1. I don't know how to configure the program code addresses. Is it related to something like "#pragma"?
2. If I just read the addresses from the disassembly code after compiling, then whenever the program is changed, the addresses will change as well.

My question is:

1. Is my logic correct? Is configuring the program code address the correct way to do the above 3 things?
2. How to configure the addresses? I am using C. If necessary I can use assembly code.

I read through some of the related posts, but I have not found a solution. Any help will be greatly appreciated. Thank you in advance.

Regards,
AL

  • Hi Alvin,
    Do you want to boot linux on ARM core + DSP app or ARM app + DSP app?


    1. I don't know how to configure the program code addresses. Is it related to something like "#pragma"?
    2. If I just read the addresses from the disassembly code after compiling, then whenever the program is changed, the addresses will change as well.


    We have to mention the program code section in linker command file. (*.cmd)

    processors.wiki.ti.com/.../Linker_CMD_Files_for_CCS

    After building the 'C' code with linker command file, the map file would be generated.

    Please refer to the following TI E2E post for ARM+DSP boot.

    e2e.ti.com/.../7068
  • Dear Titus,

    Thank you for the reply. I figured that I should change the .cmd file instead of changing the registers by brute force (which I was about to do). The Assembly Guide in your link is exactly what I need. For those who do not know how to write or modify the .cmd file, please refer to the spnu151 document.

    Regards,

    AL