325 views
in System Integration by
Hello,
actually we are facing a kernel panic in ewstring.c:

Initialize Display...
EwBspConfigDisplay [OK]
Initialize Touch Driver...          [OK]
Initialize Memory Manager...        [OK]
Initialize Graphics Engine...       [OK]
Create EmWi Root Object...
[FATAL ERROR in ../../../PlatformPackage/RTE/ewstring.c:583] Can not
create a string. Out of memory.

PANIC: System halted

But the behaviour is really strange:
If we flash the device using USB all is working fine. When flashing the same device with the same image via wlan, which produces the same, crc-verified image in flash, it fails.

We also tried the memory test sugested in https://ask.embedded-wizard.de/2474.
Memory test is also working fine.

1 Answer

0 votes
by
Hello,

as you already mentioned, there seems to be some difference when you are flashing your application via WLAN instead of USB.
The reported Out-Of-Memory error seems to be only the result of some erroneous content read from the flash.

The memory test that you have done is just verifying the SDRAM - it does not check the flash memory.

Can you upload and compare somehow the content of the entire flash that you have created in both cases? Are the two binaries really identical?

Best regards,

Manfred.

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...