Part Number: TMS570LC4357
Hello guys,
I have the following problem:
I can't access this P_PtrToMutex. the program always crashes at line 81.
how can i fix it.
Thank you in advance
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS570LC4357
Hello guys,
I have the following problem:
I can't access this P_PtrToMutex. the program always crashes at line 81.
how can i fix it.
Thank you in advance
Hello,
I don't know what the function is used for. But the address of the pointer is out of the valid range of the flash and RAM in this device.
The valid Flash address range is: 0x00000000 ~ 0x003FFFFF
The valid RAM address range is; 0x08000000 ~ 0x0807FFFF
A abort will be generated when accessing the memory address out of this range.
i didn't provoque it intentionally. It occurs when i try to allocate up to 8858 Bytes memory after i received udp-data. I think the Interrupt in the Lwip manipulate the memory. Because i can allocate more than 8858 Bytes memory before the Interrupt is fired and any data are received. Is my supposition plausible ?
Otherwise, Is it possible to remap or increase the size of the valid RAM address range?
The SRAM is also mapped to 0x08000000, and it's size is 0x512KB. Those are not changeable.
If you use data sections, you can map the sections to different locations in the SRAM.
You can increase or decrease the stack size in the SRAM either.
The exception may be caused by a instruction in interrupt isr. Please take a look at this FIQ: