Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Hi there, I have specified heap memory in the Memory Management section of the SYSBIOS Configuration file to be 1MB.
In my main function I am using some port of the heap by calling the following function:
c_state = (system_vector*) Memory_alloc(NULL,sizeof(c_state),0,&eb);
When I read the c_state after executing the about memory_alloc function I get an pointer to the buffer as 0xC3000100 which is pointing to the external memory (DDR2)
I have restarted the main() many times and it for some reason always uses 0xC3000100 address to point the buffer, Which I guess is okay. But when I look at the Memory Browser in CCS at this address 0XC3000100
__ASM__, ti_sysbios_heaps_HeapMem_Instance_State_0_buf__A
What is this? the reason I ask is, I am noticing the data in the buffer changing randomly.
Please let me know if there is any other mention to allocate buffer in the SYSBIOS dynamically.
Regards,
Mitesh