363 views
in Getting started by
I am using the Actron Lizard Board with EmWi:

I have placed a rectangle as Background - this works really well.
As soon as I am trying to Display a Text or a simple Widget the Lizard Boards jumps to the ewPanic function?

Could somebody give me an advice?

BR, Max

1 Answer

0 votes
by

Hi Max,

please try to follow the single steps that are described in our Getting Started with STM32F469-LIZARD board. 

Does this work?

Can you try other examples that are provided in the Build Environment - do they work?

In case you get some EwPanic() - there should be some error message in advance. Please check the console output and let us know the error code.

Best regards,

Manfred.

by

Hello Manfred.

I followed all the steps. As soon as I am adding something else than a Rectangle the Board shows a black screen with its backlight.
I think somehow the STM32CubeIDE Project ist not working correctly.

The .hex files of the examples work really well. All the other examples which are generated in EmWi and imported in the STM32CubeIDE Project are not working.

 

BR,

Max

Rectangle

by
Hi Max,

just to recap the issue:

The MasterDemo (which is provided as hex file) is working fine, correct?

What about the HelloWorld example? Can you try with GCC (via StartGccBuildEnvironment.bat). Does this work?

Does it work when you try to build it with STM32CubeIDE?

Best regards,

Manfred.
by
Hello Manfred.

1. Master Demo --> Working

2. Compiled with GCC via StartGccBuildEnvironment.bat --> NOT Working

3. Compiled with STM32CubeIDE --> Not Working.

BR,

Max
by

Hello Max,

o.k.  so we should first figure out why the HelloWorld application is not working before trying to make your own GUI application.

Some more questions:

1. Did you adapt the display configuration according to your display?

2. Is there any error message reported during the download of the application?

3. Do you have a serial connection to the target, so that we can receive any error message from the target? Please check the console output and let us know the error code.

Best regards,

Manfred.

by

Hello Manfred:

 

Here are the error Messages:

1. Only Blue Background, without Text

Initialize Display...                        [OK]<\r><\n>
Initialize Touch Driver...                   [OK]<\r><\n>
Initialize Memory Manager...                 [OK]<\r><\n>
Initialize Graphics Engine...                [OK]<\r><\n>
Initialize Invocation Queue...               [OK]<\r><\n>
Create Embedded Wizard Root Object...        [OK]<\r><\n>
Create Embedded Wizard Viewport...           [OK]<\r><\n>
---------------------------------------------<\r><\n>
Embedded Wizard System Info                  <\r><\n>
---------------------------------------------<\r><\n>
Target system                                STM32F469-LIZARD      <\r><\n>
Color format                                 RGB565      <\r><\n>
Build Environment version                    V12.00.00.01      <\r><\n>
Runtime Environment (RTE) version            V12.00<\r><\n>
Graphics Engine (GFX) version                V12.00<\r><\n>
MemoryPool address                           0xC0025800  <\r><\n>
MemoryPool size                              8081408 bytes<\r><\n>
Framebuffer address                          0xC0000000  <\r><\n>
Doublebuffer address                         0xC07DA800  <\r><\n>
Display size                                 320 x 240 <\r><\n>
Framebuffer size                             320 x 240 <\r><\n>
Surface rotation                             0      <\r><\n>
EwScreenSize                                 320 x 240 <\r><\n>
Graphics accelerator                         DMA2D      <\r><\n>
Warp function support                        enabled      <\r><\n>
Vector graphics support                      enabled      <\r><\n>
Gradients support                            enabled      <\r><\n>
Blur support                                 enabled      <\r><\n>
Mask support                                 enabled      <\r><\n>
Tint support                                 enabled      <\r><\n>
Bidirectional text support                   enabled      <\r><\n>
Compression support                          enabled      <\r><\n>
Index8 bitmap resource support               enabled      <\r><\n>
RGB565 bitmap resource support               enabled      <\r><\n>
Native bitmap resource support               enabled      <\r><\n>
Max surface cache size                       4194304 bytes<\r><\n>
Glyph cache size                             256 x 256 <\r><\n>
Max issue tasks                              256      <\r><\n>
External Flash memory                        enabled      <\r><\n>
Linker section for bitmap pixel              .SectionEwResource      <\r><\n>
Linker section for font pixel                .SectionEwResource      <\r><\n>
Linker section for font metrics              .SectionEwResource      <\r><\n>
Linker section for string constants          .SectionEwResource      <\r><\n>
Operating system                             FreeRTOS      <\r><\n>
Toolchain                                    GCC      <\r><\n>
C-Compiler version                           10.3.1      <\r><\n>
Build date and time                          Aug  7 2023, 15:04:27  <\r><\n>
---------------------------------------------<\r><\n>

2. Text Error: Simple Text Box on Screen

Initialize Display...                        [OK]<\r><\n>
Initialize Touch Driver...                   [OK]<\r><\n>
Initialize Memory Manager...                 [OK]<\r><\n>
Initialize Graphics Engine...                [OK]<\r><\n>
Initialize Invocation Queue...               [OK]<\r><\n>
Create Embedded Wizard Root Object...        [FATAL ERROR] Unmanaged string found 'rying to enqueue a task twice!'<\r><\n>
PANIC: System halted<\r><\n>

3. Gauge Element On Screen

Initialize Display...                        [OK]<\r><\n>
Initialize Touch Driver...                   [OK]<\r><\n>
Initialize Memory Manager...                 [OK]<\r><\n>
Initialize Graphics Engine...                [OK]<\r><\n>
Initialize Invocation Queue...               [OK]<\r><\n>
Create Embedded Wizard Root Object...        EMWI ERROR: code: 236, info: "WidgetSetGaugeNeedleMedium"<\r><\n>
For details please visit https://doc.embedded-wizard.de/errors<\r><\n>
<\r><\n>
PANIC: System halted<\r><\n>

 

Compiled with STM32Cube IDE

Version: 1.12.0
Build: 14980_20230301_1550 (UTC)

BR. 

Max
 

by
Hello Max,

I assume that the external flash is not programmed correctly.

Can you try to build the application with gcc/make?

Alternatively, you can try to disable the external flash by setting EW_USE_EXTERNAL_FLASH=0 within the file ewconfig.h. Then you are using only the internal flash memory. Does it work with this setting?

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

...