cancel
Showing results for 
Search instead for 
Did you mean: 

STemWIN does not work on STM32L4R9-DISCO

bkupev
Associate

I'm trying to start the Hello World application and the application generates HardFalut when calling the function GUI_DispStringHCenterAt. While debugging it seem that within the library function GUI__GetLineDistX a call to null pointer function happens. As i can see the third parameter stored at r2 points to a non populated function and jump to 0x0000000 happens.

Stack call thread is:

Thread #1 (Suspended : Signal : SIGINT:Interrupt)

HardFault_Handler() at stm32l4xx_it.c:67 0x800056e

<signal handler called>() at 0xfffffff9

0x0

GUI__GetLineDistX() at 0x800c7b2

GUI_DispString() at 0x80073ec

GUI_DispStringHCenterAt() at 0x80074f4

MainTask() at BASIC_HelloWorld.c:25 0x8000286

main() at main.c:102 0x800038c

I've noticed this behavior in using System workbench and import of examples from:

STM32Cube_FW_L4_V1.14.0 and then PATCHED to 1.15.0

STM32Cube_FW_L4_V1.16.0

STM32Cube_master (from github version 15 with latest STemWIN downloaded from STM)

Is there any possible cause that is already known?

0 REPLIES 0