Tool/software: TI-RTOS
Hi,
I'm trying to use an external SDRAM for allocate 8 MB of HEAP (Full size is 16MB, other 8MB is for my RAMDisk), as my product will be storing big data on the RAM, so I need to allocate a lot of memory.
My SDRAM is already tested and should work correctly and my RAMDisk with FRTOS FAT16 as well.
This thread has almost the same problem but no solution: e2e.ti.com/.../371084
I tried many things to place the RTOS Heap into the SRDAM, but it always ended in a abort after prvSetupDefaultMPU(); or vPortStartFirstTask(); in "os_port.c "
I tried it with the "os_heap.c" and with "heap_5.c" .
I also expanded the MPU settings in prvSetupDefaultMPU(); with
prvMpuSetRegion(portPRIVILEGED_RAM_REGION, 0x80000000, portMPU_SIZE_16MB | portMPU_REGION_ENABLE, portMPU_PRIV_RW_USER_RW_EXEC | portMPU_NORMAL_OIWTNOWA_SHARED);
but it also ended with an abort after prvSetupDefaultMPU();
Is it possible to put the heap on the SDRAM or is there still a problem with the HW like in the thread above?
Thanks.