stm32f429 Disc1 is crashing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-20 6:30 AM
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();
Solved! Go to Solution.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-20 6:48 AM
Hello.
Is your wildcard buffer 'textAreaMMethodBuffer' enough big to hold 11 characters ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-20 6:48 AM
Hello.
Is your wildcard buffer 'textAreaMMethodBuffer' enough big to hold 11 characters ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-20 6:49 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-20 7:26 AM
Thank you, this was the case ;)
