101 views
in GUI Development by



I have attached the call stack for reference. i'm trying to use the homecontrol example project. OnSetCurrentPageClass uses PresentDialog() function in which im getting hardfault error.

Thanks and regards,
Abubakkar Siddiq I 

1 Answer

0 votes
by
Hello,

please let us know more details about the hardfault and the callstack. Then we can see the next steps...

Best regards,

Manfred.
by

I have attached the call stack for further reference

 

by

Hello,

can you provide the entire console output from your target from startup until the error happens?

Furthermore, is the error reproducible on the STM32H743-Evalboard or on your custom specific hardware?

Is the hardfault reproducible or does this happen sporadically?

Thanks and best regards,

Manfred.

by
Initialize Display...                        [OK]
Initialize Touch Driver...                   [OK]
Initialize Memory Manager...                 [OK]
Initialize Graphics Engine...                [OK]
Initialize Invocation Queue...               [OK]
Create Embedded Wizard Root Object...        [OK]
Create Embedded Wizard Viewport...           [OK]
---------------------------------------------
Embedded Wizard System Info                  
---------------------------------------------
Target system                                STM32H743-Evalboard      
Color format                                 RGB565      
Build Environment version                    V13.03.00.00      
Runtime Environment (RTE) version            V13.03
Graphics Engine (GFX) version                V13.03
MemoryPool address                           0xC0096000  
MemoryPool size                              7159808 bytes
Framebuffer address                          0xC0000000  
Doublebuffer address                         0xC076A000  
Display size                                 640 x 480
Framebuffer size                             640 x 480
Surface rotation                             90      
EwScreenSize                                 480 x 640
Graphics accelerator                         DMA2D      
Warp function support                        enabled      
Vector graphics support                      enabled      
Gradients support                            enabled      
Blur support                                 enabled      
Mask support                                 enabled      
Tint support                                 enabled      
Bidirectional text support                   enabled      
Compression support                          enabled      
Index8 bitmap resource support               enabled      
RGB565 bitmap resource support               enabled      
Native bitmap resource support               enabled      
Max surface cache size                       8388608 bytes
Glyph cache size                             256 x 256
Max issue tasks                              100      
External Flash memory                        disabled      
Operating system                             bare-metal      
Toolchain                                    GCC      
C-Compiler version                           12.3.1      
Build date and time                          Aug  1 2024, 18:09:00  

The hardfault is reproducable and i'm using custom specific hardware. Im getting hardfault for using effects even though i have provided null as input.
by
Can you reproduce the same issue on the Eval-Board?

Is there any other error message in the console before the hardfault happens?

Does the behavior change when you are using a different compiler optimization?

How large is your stack? Can you increase the stack?

Embedded Wizard Website | Privacy Policy | Imprint

...