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/TMS320C6674: When using the Nortify routine by TI, it will fall into an infinite loop.

Part Number: TMS320C6674

Tool/software: Code Composer Studio

When I use the Nortify routine that comes with TI, I get stuck in an infinite loop.

After the pause, I will be prompted to have several .c files not found at an address, but the beginning of these addresses are /db/vtree/library/trees. I don't have any address like that in ti.

After I manually add the .c file, the program will still fall into an infinite loop, which is in an infinite loop after running to IPC_start in the main program.

I am using ipc1-24-03-32.This is my project file, I hope you can help me answer the question.EP_Nortify.zip

  • Hello,

    Thank you for your post. I've downloaded your project and inspected it. It looks like this is the same project posted by Nancy in the thread below. Can you confirm? 

    https://e2e.ti.com/support/processors/f/791/t/817435

    If yes, please allow me sometime to reproduce this on my end and debug. 

  • Hello,Sahin

    Thank you for your reminder, this is the same document, thank you for your help. I hope you can help me find the problem.

  • Hello, 

    Is this an existing custom application or one of our examples?

    If you are just trying to run a TI example, we have a tested, working IPC example in Processor SDK. This example sends a message to all cores in the system. Is this an option for you? To build the example, you can follow the instructions here: http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_Foundational_Components.html#id1

  • Hello,

    Just want to let you know I'm still looking at this. I apologize for the delay.

  • Hello,

    I was able to reproduce this on my board and root-cause the issue. The application was hanging in Ipc_start() because the cache setting of the SharedRegion did not match the cache settings of the DDR region where it was placed.

    So I added the "cacheEnable: true" property to the SR0 config:

    var SharedRegion = xdc.useModule('ti.sdo.ipc.SharedRegion');
    SharedRegion.setEntryMeta(0,
        { base: SHAREDMEM, 
          len:  SHAREDMEMSIZE,
          ownerProcId: 0,
          isValid: true,
          name: "DDR2_RAM",
          cacheEnable: true
        });

    With this change the application runs to completion with the following output (with the single-image loaded on all 8 cores).

    [C66xx_1] main: MultiProc id = 1
    main: MultiProc name = CORE1
    [C66xx_0] main: MultiProc id = 0
    main: MultiProc name = CORE0
    [C66xx_2] main: MultiProc id = 2
    main: MultiProc name = CORE2
    [C66xx_3] main: MultiProc id = 3
    main: MultiProc name = CORE3
    [C66xx_4] main: MultiProc id = 4
    main: MultiProc name = CORE4
    [C66xx_5] main: MultiProc id = 5
    main: MultiProc name = CORE5
    [C66xx_6] main: MultiProc id = 6
    main: MultiProc name = CORE6
    [C66xx_7] main: MultiProc id = 7
    main: MultiProc name = CORE7
    [C66xx_0] tsk1_func: Sent request #0 to CORE1
    [C66xx_1] tsk1_func: Received request #1 from CORE0
    tsk1_func: Sent request #1 to CORE2
    [C66xx_2] tsk1_func: Received request #1 from CORE1
    tsk1_func: Sent request #1 to CORE3
    [C66xx_3] tsk1_func: Received request #1 from CORE2
    tsk1_func: Sent request #1 to CORE4
    [C66xx_4] tsk1_func: Received request #1 from CORE3
    tsk1_func: Sent request #1 to CORE5
    [C66xx_5] tsk1_func: Received request #1 from CORE4
    tsk1_func: Sent request #1 to CORE6
    [C66xx_6] tsk1_func: Received request #1 from CORE5
    tsk1_func: Sent request #1 to CORE7
    [C66xx_7] tsk1_func: Received request #1 from CORE6
    tsk1_func: Sent request #1 to CORE0
    [C66xx_0] tsk1_func: Received request #1 from CORE7
    tsk1_func: Sent request #1 to CORE1
    [C66xx_1] tsk1_func: Received request #2 from CORE0
    tsk1_func: Sent request #2 to CORE2
    [C66xx_2] tsk1_func: Received request #2 from CORE1
    tsk1_func: Sent request #2 to CORE3
    [C66xx_3] tsk1_func: Received request #2 from CORE2
    tsk1_func: Sent request #2 to CORE4
    [C66xx_4] tsk1_func: Received request #2 from CORE3
    tsk1_func: Sent request #2 to CORE5
    [C66xx_5] tsk1_func: Received request #2 from CORE4
    tsk1_func: Sent request #2 to CORE6
    [C66xx_6] tsk1_func: Received request #2 from CORE5
    tsk1_func: Sent request #2 to CORE7
    [C66xx_7] tsk1_func: Received request #2 from CORE6
    tsk1_func: Sent request #2 to CORE0
    [C66xx_0] tsk1_func: Received request #2 from CORE7
    tsk1_func: Sent request #2 to CORE1
    [C66xx_1] tsk1_func: Received request #3 from CORE0
    tsk1_func: Sent request #3 to CORE2
    [C66xx_2] tsk1_func: Received request #3 from CORE1
    tsk1_func: Sent request #3 to CORE3
    [C66xx_3] tsk1_func: Received request #3 from CORE2
    tsk1_func: Sent request #3 to CORE4
    [C66xx_4] tsk1_func: Received request #3 from CORE3
    tsk1_func: Sent request #3 to CORE5
    [C66xx_5] tsk1_func: Received request #3 from CORE4
    tsk1_func: Sent request #3 to CORE6
    [C66xx_6] tsk1_func: Received request #3 from CORE5
    tsk1_func: Sent request #3 to CORE7
    [C66xx_7] tsk1_func: Received request #3 from CORE6
    tsk1_func: Sent request #3 to CORE0
    [C66xx_0] tsk1_func: Received request #3 from CORE7
    tsk1_func: Sent request #3 to CORE1
    [C66xx_1] tsk1_func: Received request #4 from CORE0
    tsk1_func: Sent request #4 to CORE2
    [C66xx_2] tsk1_func: Received request #4 from CORE1
    tsk1_func: Sent request #4 to CORE3
    [C66xx_3] tsk1_func: Received request #4 from CORE2
    tsk1_func: Sent request #4 to CORE4
    [C66xx_4] tsk1_func: Received request #4 from CORE3
    tsk1_func: Sent request #4 to CORE5
    [C66xx_5] tsk1_func: Received request #4 from CORE4
    tsk1_func: Sent request #4 to CORE6
    [C66xx_6] tsk1_func: Received request #4 from CORE5
    tsk1_func: Sent request #4 to CORE7
    [C66xx_7] tsk1_func: Received request #4 from CORE6
    tsk1_func: Sent request #4 to CORE0
    [C66xx_0] tsk1_func: Received request #4 from CORE7
    tsk1_func: Sent request #4 to CORE1
    [C66xx_1] tsk1_func: Received request #5 from CORE0
    tsk1_func: Sent request #5 to CORE2
    [C66xx_2] tsk1_func: Received request #5 from CORE1
    tsk1_func: Sent request #5 to CORE3
    [C66xx_3] tsk1_func: Received request #5 from CORE2
    tsk1_func: Sent request #5 to CORE4
    [C66xx_4] tsk1_func: Received request #5 from CORE3
    tsk1_func: Sent request #5 to CORE5
    [C66xx_5] tsk1_func: Received request #5 from CORE4
    tsk1_func: Sent request #5 to CORE6
    [C66xx_6] tsk1_func: Received request #5 from CORE5
    tsk1_func: Sent request #5 to CORE7
    [C66xx_7] tsk1_func: Received request #5 from CORE6
    tsk1_func: Sent request #5 to CORE0
    [C66xx_0] tsk1_func: Received request #5 from CORE7
    tsk1_func: Sent request #5 to CORE1
    [C66xx_1] tsk1_func: Received request #6 from CORE0
    tsk1_func: Sent request #6 to CORE2
    [C66xx_2] tsk1_func: Received request #6 from CORE1
    tsk1_func: Sent request #6 to CORE3
    [C66xx_3] tsk1_func: Received request #6 from CORE2
    tsk1_func: Sent request #6 to CORE4
    [C66xx_4] tsk1_func: Received request #6 from CORE3
    tsk1_func: Sent request #6 to CORE5
    [C66xx_5] tsk1_func: Received request #6 from CORE4
    tsk1_func: Sent request #6 to CORE6
    [C66xx_6] tsk1_func: Received request #6 from CORE5
    tsk1_func: Sent request #6 to CORE7
    [C66xx_7] tsk1_func: Received request #6 from CORE6
    tsk1_func: Sent request #6 to CORE0
    [C66xx_0] tsk1_func: Received request #6 from CORE7
    tsk1_func: Sent request #6 to CORE1
    [C66xx_1] tsk1_func: Received request #7 from CORE0
    tsk1_func: Sent request #7 to CORE2
    [C66xx_2] tsk1_func: Received request #7 from CORE1
    tsk1_func: Sent request #7 to CORE3
    [C66xx_3] tsk1_func: Received request #7 from CORE2
    tsk1_func: Sent request #7 to CORE4
    [C66xx_4] tsk1_func: Received request #7 from CORE3
    tsk1_func: Sent request #7 to CORE5
    [C66xx_5] tsk1_func: Received request #7 from CORE4
    tsk1_func: Sent request #7 to CORE6
    [C66xx_6] tsk1_func: Received request #7 from CORE5
    tsk1_func: Sent request #7 to CORE7
    [C66xx_7] tsk1_func: Received request #7 from CORE6
    tsk1_func: Sent request #7 to CORE0
    [C66xx_0] tsk1_func: Received request #7 from CORE7
    tsk1_func: Sent request #7 to CORE1
    [C66xx_1] tsk1_func: Received request #8 from CORE0
    tsk1_func: Sent request #8 to CORE2
    [C66xx_2] tsk1_func: Received request #8 from CORE1
    tsk1_func: Sent request #8 to CORE3
    [C66xx_3] tsk1_func: Received request #8 from CORE2
    tsk1_func: Sent request #8 to CORE4
    [C66xx_4] tsk1_func: Received request #8 from CORE3
    tsk1_func: Sent request #8 to CORE5
    [C66xx_5] tsk1_func: Received request #8 from CORE4
    tsk1_func: Sent request #8 to CORE6
    [C66xx_6] tsk1_func: Received request #8 from CORE5
    tsk1_func: Sent request #8 to CORE7
    [C66xx_7] tsk1_func: Received request #8 from CORE6
    tsk1_func: Sent request #8 to CORE0
    [C66xx_0] tsk1_func: Received request #8 from CORE7
    tsk1_func: Sent request #8 to CORE1
    [C66xx_1] tsk1_func: Received request #9 from CORE0
    tsk1_func: Sent request #9 to CORE2
    [C66xx_2] tsk1_func: Received request #9 from CORE1
    tsk1_func: Sent request #9 to CORE3
    [C66xx_3] tsk1_func: Received request #9 from CORE2
    tsk1_func: Sent request #9 to CORE4
    [C66xx_4] tsk1_func: Received request #9 from CORE3
    tsk1_func: Sent request #9 to CORE5
    [C66xx_5] tsk1_func: Received request #9 from CORE4
    tsk1_func: Sent request #9 to CORE6
    [C66xx_6] tsk1_func: Received request #9 from CORE5
    tsk1_func: Sent request #9 to CORE7
    [C66xx_7] tsk1_func: Received request #9 from CORE6
    tsk1_func: Sent request #9 to CORE0
    [C66xx_0] tsk1_func: Received request #9 from CORE7
    tsk1_func: Sent request #9 to CORE1
    [C66xx_1] tsk1_func: Received request #10 from CORE0
    tsk1_func: Sent request #10 to CORE2
    Test completed
    [C66xx_2] tsk1_func: Received request #10 from CORE1
    tsk1_func: Sent request #10 to CORE3
    Test completed
    [C66xx_3] tsk1_func: Received request #10 from CORE2
    tsk1_func: Sent request #10 to CORE4
    Test completed
    [C66xx_4] tsk1_func: Received request #10 from CORE3
    tsk1_func: Sent request #10 to CORE5
    Test completed
    [C66xx_5] tsk1_func: Received request #10 from CORE4
    tsk1_func: Sent request #10 to CORE6
    Test completed
    [C66xx_6] tsk1_func: Received request #10 from CORE5
    tsk1_func: Sent request #10 to CORE7
    Test completed
    [C66xx_7] tsk1_func: Received request #10 from CORE6
    tsk1_func: Sent request #10 to CORE0
    Test completed
    [C66xx_0] tsk1_func: Received request #10 from CORE7
    Test completed