Skip to main content
bkupev
Associate
January 15, 2021
Question

STemWIN does not work on STM32L4R9-DISCO

  • January 15, 2021
  • 0 replies
  • 512 views

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?

This topic has been closed for replies.