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.

RTOS/PROCESSOR-SDK-C667X: Error in running the Image Processing Demo from P-SDK

Part Number: PROCESSOR-SDK-C667X
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

I have Processor SDK RTOS C667x v5.03.00.07 and Code Composer Studio v8.3.1 on Linux Ubuntu v16.04 LTS

I am trying to run the Image Processing demo included in the P-SDK as instructed here.

I went through each step sequentially. The project was built successfully using the make demo command and uploaded to the respective core/group.

The problem is when I upload the slave program and run it, the master program raises an error and halts saying:

[C66xx_0] ti.sysbios.family.c64p.Hwi: line 192: E_alreadyDefined: Hwi already defined: intr# 5
xdc.runtime.Error.raise: terminating execution
ti.sysbios.family.c64p.Hwi: line 192: E_alreadyDefined: Hwi already defined: intr# 5
xdc.runtime.Error.raise: terminating execution

on the CIO.

I am quite new the board and TI-RTOS and am not able to debug what causes the error.

Thank you...

  • Hi,

    Those examples are tested before release and is expected to work as it is. Let me double check. Do you run it on TI C6678 EVM in no boot mode and there is a GEL file to initialize the board?

    Regards, Eric

  • Hi,

    I just tried the above demo from PRSDK 5.3 release and I saw the same error as you did, I also saw the same was reported:  

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

    I looked at ROV view and didn't find out who is using INTR#5, this need further debug.  I opened a ticket for this.

    Regards, Eric

  • Hi,

    This is being debugged and target fix is PRSDK 6.1 release (2019-Q3). I am closing this.

    Regards, Eric 

  • Hi,

    The problem is root caused and will be fixed in the PRSDK 6.1 release (2019-3Q). Meanwhile, please try the following fix:

    Please the

    board_status = Board_init(BOARD_INIT_UART_STDIO|BOARD_INIT_ETH_PHY|BOARD_INIT_ECC);

    with

    #if (defined(DEVICE_C6678)||defined(DEVICE_C6657))
        board_status = Board_init(BOARD_INIT_ETH_PHY|BOARD_INIT_ECC);
    #else
        board_status = Board_init(BOARD_INIT_UART_STDIO|BOARD_INIT_ETH_PHY|BOARD_INIT_ECC);
    #endif

    in EVM_init() of mcip_master_main.c.

    Best regards,

    Ming