Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

RTOS/AM5728: memory access in SMP mode

$
0
0

Part Number:AM5728

Tool/software: TI-RTOS

Dear Team,

Could you please let me know if it is possible to access over 0xbfffffff in SMP mode?

My customer is using TI-RTOS PSDK v5.0 and CCSv8.

When they run below IPC messageQ Example with SMP mode, they failed to access over 0xbfffffff and memory access was limited to 0xbfffffff.

But, when they disabled SMP mode, they can access all memory range between 0x80000000 and 0xffffffff.

They are testing it on their custom board with 2GBytes DDR memory, and added below in the cfg file of IPC messageQ Example to access DDR memory.

Could you please let me know if it is possible to access over 0xbfffffff in SMP mode?

\\ti\ipc_3_47_02_00\examples\AM572X_bios_elf\ex02_messageq

In *.cfg file,

var attrs1 = new Mmu.DescriptorAttrs();

Mmu.initDescAttrsMeta(attrs1);

attrs1.type = Mmu.DescriptorType_BLOCK; // BLOCK descriptor

attrs1.shareable = 3; // inner-sharerable

attrs1.attrIndx = 2; // Cached, normal memory

// Set the descriptor for each entry in the address range

for (var i=0x80000000; i < 0x100000000; i = i + 0x00200000) {

// Each 'BLOCK' descriptor entry spans a 2MB address range

Mmu.setSecondLevelDescMeta(i, i, attrs1);

}

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Thanks and Best Regards,

SI.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>