PPP rx task Out of Memory 0x0004

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PPP rx task Out of Memory 0x0004

531 Views
TobiasBystricky
Contributor III

Hello,

If I try to open a ppp connection over a GPRS dialin connection I get the error "Out of memory (0x0004)" at the ppp rx task. As you can see in the attached screenshot there should be enought space in the stack.

2013-11-12_14h35_52.png2013-11-12_14h36_02.png

I have tried to increase the RTCSCFG_SOCKET_PART_INIT, RTCSCFG_SOCKET_PART_GROW and RTCSCFG_SOCKET_PART_MAX.

The strange thing is that it works from time to time but mostly I'll get the Out of memory message.

Does anybody has an idea how to solve this problem?

Thanks and regards,

Tobias

Labels (1)
1 Reply

282 Views
Martin_
NXP Employee
NXP Employee

Hello,

I would try to put data watchpoint on the PPP Rx task error code location, with intention to halt the MCU on a CPU write access to this memory location. Then you can see the call stack and review the conditions that lead to this task error code.