dear all,when I build a a8host project on 814xEVM,I choose as the following:
if platform choose evmDM8148 or ti.platforms.evmTI814X,it will be a build error:
Cannot read property "base" from undefined (E:/J4/AV_BIOS/avsdk_00_03_00_00/demos/avsk_app_test/ipc.cfg#49)
if platform choose evmCentaurus.host , building will be ok.
why?
Can you please attach the ipc.cfg file that is causing this problem?
Thanks,-Karl-
2541.ipc.rar
var SharedRegion = xdc.useModule('ti.sdo.ipc.SharedRegion'); SharedRegion.numEntries = 4; SharedRegion.setEntryMeta(0, { base: sr0Segment.base, len: sr0Segment.len, ownerProcId: sr0OwnerProcId, isValid: true, cacheEnable:true, name: "Sr0", });
Hi Jianbo --
I think the problem is that 'sr0Segment' is not defined. Can you look for a variable of that name in your .cfg file? Can you attach your complete .cfg file? And zip up the platform package that works? I think that sr0Segment is defined in the platform package that works, and this does not exist in the more general platform packages.
The AV BIOS SDK CCS projects build only for the platform evmCentaurus. In the user guide we have clearly put a note saying that the RTSC configuration must not be changed.
The file ipc.cfg refers to the memory segment SHARED_CTRL, which is present in the file Platform.xdc of the platform evmCentaurus.host. This memory segment is not present in the platforms evmDM8148 or ti.platforms.evmTI814X. Hence the error.
Regards,
K R Baalaaji