291 views
in Platform Packages by

Hi, I've been working on a project for STM32F413-Discovery and it suddenly started glitching like on the picture below, commenting any change I've made right before it started didn't helped. I can compile and upload earlier version without glitch, but I would love to find out the cause to preserve my changes. Any tip on how to debug this?

Best regards,

Pavel

1 Answer

0 votes
by

Hello,

are there any messages on the console output that could help to find the root cause?

Best regards,

Manfred.

by

Hi Manfred, thanks for the swift response. It does actually:

Create UI thread...                          [OK]
Initialize Display...                        [OK]
Initialize Touch Driver...                   [OK]
Initialize Memory Manager...                 [OK]
Initialize Graphics Engine...                [OK]
Create Embedded Wizard Root Object...        [OK]
Create Embedded Wizard Viewport...           [OK]
---------------------------------------------
Target system                                STM32F413-Discovery
Color format                                 RGB565
MemoryPool address                           0x20000744
MemoryPool size                              122880 bytes
Scratch-pad buffer address                   0x2001E794
Scratch-pad buffer size                      14400 pixel
Display size                                 240 x 240
Framebuffer size                             240 x 60
EwScreenSize                                 240 x 240
Graphics accelerator                         none
Warp function support                        enabled
Vector graphics support                      enabled
Bidirectional text support                   enabled
Gradients support                            enabled
Compression support                          enabled
Index8 bitmap resource format                enabled
RGB565 bitmap resource format                enabled
Native bitmap resource format                enabled
Native destination bitmap support            enabled
Operating system                             FreeRTOS
External Flash memory                        QSPI Flash
Linker section for bitmap pixel              .SectionEwResource
Linker section for font pixel                .SectionEwResource
Linker section for font metrics              .SectionEwResource
Linker section for string constants          .SectionEwResource
Toolchain                                    GCC
C-Compiler version                           9.3.1
Build date and time                          Nov 26 2021, 16:39:01
Runtime Environment (RTE) version            11.00
Graphics Engine (GFX) version                11.00
Max surface cache size                       0 bytes
Glyph cache size                             128 x 128
Max issue tasks                              32
Surface rotation                             270
---------------------------------------------
EMWI ERROR: code: 41
For details please visit https://doc.embedded-wizard.de/errors
EMWI ERROR: code: 111, info1: 242, info2: 242
For details please visit https://doc.embedded-wizard.de/errors
EMWI ERROR: code: 320
For details please visit https://doc.embedded-wizard.de/errors
EMWI ERROR: code: 187, info1: 200161F8, info2: 310
For details please visit https://doc.embedded-wizard.de/errors
EMWI ERROR: code: 187, info1: 200161F8, info2: 310
For details please visit https://doc.embedded-wizard.de/errors
EMWI ERROR: code: 187, info1: 200161F8, info2: 310
For details please visit https://doc.embedded-wizard.de/errors

by

Ok, so you find the answer in the first error message: Out of memory.

The system does not provide much memory - the current memory pool is configured to 120 kByte.

You can check the memory usage of your GUI application within the RAM usage window of Embedded Wizard. For more information see also the chapter Memory Footprint.

I hope this helps...

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

...