1.0k views
in System Integration by
Greetings to all.

Could some one please explain the below error code.

EMWI ERROR: code: 335, info1: C01C2000, info2: 22

The function EwVerifyHeap() has detected an incoherence in internal Heap Management structures. info1 specifies the address of the affected memory area within the memory pool (see function EwAddHeapMemoryPool()). info2 specifies the number of the failed coherence test.

1 Answer

0 votes
by

Hello,

the error message indicates that there happens some memory corruption within the memory area managed by the Heap Management.

Typically, the following reasons can cause such a situation:

1.) SDRAM is not working properly, timing is not correctly or refresh does not work properly => Please ensure that the SDRAM is working correctly by using our SDRAM memory test.

2.) Memory becomes corrupted because of accessing Embedded Wizard GUI application from several threads or tasks. Please be aware that the entire user interface application has to be executed in the context of one thread - the GUI thread. For other purposes (e.g. receiving data from a network, accessing some hardware drivers,...) you can create as many worker-threads as you need. See also Avoid multithreading.

3.) Overwriting memory, e.g. within your own decoded bitmaps when using Extern Bitmap interface or incorrect access of strings within native code.

I hope this helps...

Best regards.

Manfred.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...