Skip to main content
Associate
Solved

stm32f429 Disc1 is crashing

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.
JTP1Best answer
Graduate II

Hello.

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

3 replies

JTP1Best answer
Graduate II

Hello.

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

Osman SOYKURT
ST Technical Moderator

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

Thank you, this was the case ;)