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.

CCS/TMS320F28379D: Can CPU2 execute code from globally shared RAM?

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

When trying to run code on CPU2 from GSRAM it looks like it's ending up in an ITRAP:

 82             LB _c_int00         ;Branch to start of boot._asm in RTS library
        $../F2837xD_CodeStartBranch.asm:82:107$(), code_start:
000000:   004113C7    LB           _c_int00
000002:   0000        ITRAP0       
000003:   0002        POP          IFR
000004:   0000        ITRAP0       
000005:   0000        ITRAP0       
000006:   0000        ITRAP0       
000007:   0000        ITRAP0       
000008:   0000        ITRAP0       
000009:   0000        ITRAP0       
00000a:   13C7        MPYS         P, T, *+XAR7[0]
00000b:   0001        ABORTI   

The appropriate registers in MemCfgRegs.GSxMSEL.bit.MSEL_GSn have been set in the CPU1 code, and the linker command file is configured for each core based on the GSnRAM it would like to use.

I'm guessing that CPU2 is trying to run its code before the before CPU1 has set the MemCfgRegs registers???

If CPU2 can execute code from GSRAM I'm not sure how to set it up.

Kindly,

Graham