Keil™, An ARM® Company

Technical Support

RL-ARM: SYS_ERROR (ERR_MEM_FREE) CALLED


Information in this article applies to:

  • RL-ARM Version 3

QUESTION

I am using TCPnet from the Real-Time Library to implement TCP/IP communications. There are two places in my application where the sys_error routine returns the error code ERR_MEM_FREE. what could be the reason for this?

ANSWER

The reasons you receive ERR_MEM_FREE from the sys_error routine could be any of the following:

  • Releasing an invalid memory block (memory block pointer out of mempool boundaries).
  • The memory pool system is corrupted (writing more bytes than available in allocated memory block).
  • Improper use of RTX if it is used (TCPnet functions should be used from one task only).

Last Reviewed: Tuesday, January 23, 2007


Did this article provide the answer you needed?
 
Yes
No
Not Sure