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.

Network initial failed on EVM6678L with SYS/BIOS



Hi, all!

Recently I have added a network routine by modifying the example client_evm6678l, the SYS/BIOS runs on Core0 for client set (other cores are used for signal processing). When I run my project, an error appears in the console window:

[C66xx_0] Error: Inserting memory region 0, Error code : -131

The error is thrown by the function Qmss_insertMemoryRegion(&memCfg).

I tried to find solution for the  problem on this bbs, but got nothing usefull. So, how can I fix this error??

Additionally, my CCS is 5.2.1, and my MCSDK is 2_00_06_18, bios_6_33_02_31.

thanks for reading and answering!

Kaka Huang

2013/6/20

  • It is this error:

        /* Invalid memory region index */
        if (index < 0 || index >= QMSS_MAX_MEM_REGIONS)
        {
            result = QMSS_MEMREGION_INVALID_INDEX;
            goto exitCs; /* common exit to close CsEnter and MemAccess */
        }

    At the time of the error, what are you passing in via Qmss_MemRegInfo *memRegCfg, and what is in qmssGObj.obj.memRegInfo?

    Are Qmss_osalCsEnter and Qmss_osalBeginMemAccess implemented in your osal (but breakpoint on Osal_qmssCsEnter and Osal_qmssBeginMemAccess and inspect that the CsEnter contains a hardware semaphore or a gate mp, and the BeginMemAccess contains a L2 cache invalidate (if qmssGObj is in DDR) or a L1 cache invalidate (if qmssGObj is in MSMC).