588 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 - 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

...