Tool/software: TI-RTOS
Hello,there is a issue when i play with the srioIpcBenchmark_c6678 project.
i modify the source code which run on 2 cores to the 8 cores on the C6678 for running.
the one thing i uncertain is about the sharememory,the code as follow:
case "ti.sdo.ipc.examples.platforms.evm6678.core0":
case "ti.platforms.evm6678":
Program.global.USING_C6678 = 1;
procNameList = ["CORE0", "CORE1","CORE2","CORE3","CORE4", "CORE5","CORE6","CORE7"];//
Program.global.shmBase = 0x0C000000;
Program.global.shmSize = 0x00200000;
break;
...
var HeapBufMP = xdc.useModule('ti.sdo.ipc.heaps.HeapBufMP');
var SharedRegion = xdc.useModule('ti.sdo.ipc.SharedRegion');
SharedRegion.translate = false;
SharedRegion.setEntryMeta(0,
{ base: Program.global.shmBase,
len: Program.global.shmSize,
ownerProcId: 0,
isValid: true,
cacheEnable: true,
cacheLineSize: 128,
name: "internal_shared_mem",
});
And then i execute the .out,i get the console which i find the problem:
[C66xx_6] timerFreq.lo = 1000000000. timerFreq.hi = 0
[C66xx_6] cpuFreq.lo = 1000000000. cpuFreq.hi = 0
[C66xx_6] Core ("CORE6") starting
[C66xx_6] Debug(Core 6): Waiting for SRIO to be initialized.
[C66xx_0] timerFreq.lo = 1000000000. timerFreq.hi = 0
[C66xx_1] timerFreq.lo = 1000000000. timerFreq.hi = 0
[C66xx_2] timerFreq.lo = 1000000000. timerFreq.hi = 0
[C66xx_3] timerFreq.lo = 1000000000. timerFreq.hi = 0
[C66xx_4] timerFreq.lo = 1000000000. timerFreq.hi = 0
[C66xx_5] timerFreq.lo = 1000000000. timerFreq.hi = 0
[C66xx_7] timerFreq.lo = 1000000000. timerFreq.hi = 0
[C66xx_0] cpuFreq.lo = 1000000000. cpuFreq.hi = 0
[C66xx_1] cpuFreq.lo = 1000000000. cpuFreq.hi = 0
[C66xx_2] cpuFreq.lo = 1000000000. cpuFreq.hi = 0
[C66xx_3] cpuFreq.lo = 1000000000. cpuFreq.hi = 0
[C66xx_4] cpuFreq.lo = 1000000000. cpuFreq.hi = 0
[C66xx_5] cpuFreq.lo = 1000000000. cpuFreq.hi = 0
[C66xx_7] cpuFreq.lo = 1000000000. cpuFreq.hi = 0
[C66xx_0] Core ("CORE0") starting
[C66xx_1] Core ("CORE1") starting
[C66xx_2] Core ("CORE2") starting
[C66xx_3] Core ("CORE3") starting
[C66xx_4] Core ("CORE4") starting
[C66xx_5] Core ("CORE5") starting
[C66xx_7] Core ("CORE7") starting
[C66xx_0]
[C66xx_1] Debug(Core 1): Waiting for SRIO to be initialized.
[C66xx_2] Debug(Core 2): Waiting for SRIO to be initialized.
[C66xx_3] Debug(Core 3): Waiting for SRIO to be initialized.
[C66xx_4] Debug(Core 4): Waiting for SRIO to be initialized.
[C66xx_5] Debug(Core 5): Waiting for SRIO to be initialized.
[C66xx_7] Debug(Core 7): Waiting for SRIO to be initialized.
[C66xx_0] -----------------------Initializing---------------------------
[C66xx_0] Core 0 : L1D cache size 4. L2 cache size 0.
[C66xx_0] address of hostDesc[] = 0xc178000. Converted=0x1c178000
[C66xx_0] Core 0 : Memory region 0 inserted
[C66xx_0] Port 0 is okay
[C66xx_0] Port 1 did not initialize
[C66xx_0] Port 2 did not initialize
[C66xx_0] Port 3 did not initialize
[C66xx_0] Debug(Core 0): SRIO Driver has been initialized
[C66xx_6] Debug(Core 6): SRIO can now be used.
[C66xx_1] Debug(Core 1): SRIO can now be used.
[C66xx_2] Debug(Core 2): SRIO can now be used.
[C66xx_3] Debug(Core 3): SRIO can now be used.
[C66xx_4] Debug(Core 4): SRIO can now be used.
[C66xx_5] Debug(Core 5): SRIO can now be used.
[C66xx_7] Debug(Core 7): SRIO can now be used.
[C66xx_0] Debug: AppConfig Tx Queue: 0x69 Flow Id: 195
[C66xx_0] Debug: SRIO Driver Instance 0x@00804990 has been created
[C66xx_1] Debug: AppConfig Tx Queue: 0x69 Flow Id: 195
[C66xx_1] Debug: SRIO Driver Instance 0x@00804990 has been created
[C66xx_2] Debug: AppConfig Tx Queue: 0x69 Flow Id: 195
[C66xx_2] Debug: SRIO Driver Instance 0x@00804990 has been created
[C66xx_1] ti.sdo.ipc.heaps.HeapBufMP: line 619: E_noBlocksLeft: No more blocks left in buffer (handle = 0x804c88, requested size = 256)
[C66xx_3] Debug: AppConfig Tx Queue: 0x69 Flow Id: 195
[C66xx_3] Debug: SRIO Driver Instance 0x@00804990 has been created
[C66xx_1] ti.sdo.ipc.heaps.HeapBufMP: line 619: E_noBlocksLeft: No more blocks left in buffer (handle = 0x804c88, requested size = 256)
[C66xx_4] Debug: AppConfig Tx Queue: 0x69 Flow Id: 195
[C66xx_4] Debug: SRIO Driver Instance 0x@00804990 has been created
[C66xx_5] Debug: AppConfig Tx Queue: 0x69 Flow Id: 195
[C66xx_5] Debug: SRIO Driver Instance 0x@00804990 has been created
[C66xx_1] ti.sdo.ipc.heaps.HeapBufMP: line 619: E_noBlocksLeft: No more blocks left in buffer (handle = 0x804c88, requested size = 256)
[C66xx_6] Debug: AppConfig Tx Queue: 0x69 Flow Id: 195
[C66xx_6] Debug: SRIO Driver Instance 0x@00804990 has been created
[C66xx_1] ti.sdo.ipc.heaps.HeapBufMP: line 619: E_noBlocksLeft: No more blocks left in buffer (handle = 0x804c88, requested size = 256)
[C66xx_7] Error: Receive Flow Configuration failed
[C66xx_7] ti.transport.ipc.srio.transports.TransportSrio: line 408: assertion failure: A_srioDriverError: SRIO Driver Start Failed.
[C66xx_7] xdc.runtime.Error.raise: terminating execution
Is this associated with the sharememory?
so what should i do with the error.
thanks.