Skip to main content
Associate
June 20, 2023
Solved

stm32f429 Disc1 is crashing

  • June 20, 2023
  • 3 replies
  • 1250 views

I use strncpy to print some value in the wildcard but after that the board crashes and does not react anymore. Has anybody an idea what is going wrong? (the text is displayed),

Unicode::strncpy(textAreaMMethodBuffer, "Multimeter", 11);
textAreaMMethod.resizeToCurrentText();
textAreaMMethod.invalidate();

This topic has been closed for replies.
Best answer by JTP1

Hello.

Is your wildcard buffer 'textAreaMMethodBuffer' enough big to hold 11 characters ?

3 replies

JTP1Best answer
Graduate II
June 20, 2023

Hello.

Is your wildcard buffer 'textAreaMMethodBuffer' enough big to hold 11 characters ?

Osman SOYKURT
ST Technical Moderator
June 20, 2023

Hello @PabloS ,

How big is your wildcard buffer? Have you tried to debug and see in which function it crashes?

/Osman

ST Software Developer | TouchGFX
PabloSAuthor
Associate
June 20, 2023

Thank you, this was the case ;)