Keil Logo

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
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.