Lost connection with STM32H7 after adding new component to the screen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-15 6:50 AM
Hi
I have a problem with TouchGFX on STM32H7B0 with external flash memory through OCTOSPI and TouchGFX 4.16. I try to make a screen with a debug console. It supposed to show debug logs from my application. The screen consists of 18 TextArea objects (lines of the console), one CustomContainer (4 TextAreas) and a fullscreen Box (background). I wanted to add one more object (SlideMenu). When I did it my application broke up - after startup I get this kind of random image: Then the debugger looses the connection to STM32 and I can't do anything. I tried increasing the stack size of the task running TouchGFX but it didn't help.
Can you please help me?
Regards,
Piotr
Solved! Go to Solution.
- Labels:
-
OctoSPI
-
STM32H7 Series
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-22 11:46 PM
Hi Martin,
thank you for your answer. I managed to resolve my issue. In the future I will be using FMC to connect NAND flash memory but for now I have all the pins loose with the FMC turned on. It turned out that pulling the FMC_NWAIT pin high or just turning off the whole peripheral resolves my issue. The application starts normally now.
Regards,
Piotr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-16 2:27 AM
@Romain DIELEMAN​ , @Martin KJELDSEN​ , @Alexandre RENOUX​ can you please help me solve this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-22 3:06 PM
Hi @Community member​ - I'll try to get back to this asap - in the middle of a new release.
It looks very strange, your issue. I can't imagine the application is actually running; it probably crashed. Did you check your stack sizes? Sometimes when applications grow you need to adjust.
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-22 11:46 PM
Hi Martin,
thank you for your answer. I managed to resolve my issue. In the future I will be using FMC to connect NAND flash memory but for now I have all the pins loose with the FMC turned on. It turned out that pulling the FMC_NWAIT pin high or just turning off the whole peripheral resolves my issue. The application starts normally now.
Regards,
Piotr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-06-23 2:57 AM
Ah, that's a nice find on your part :) Great.
/Martin
