Hi ,
I am integrating TouchGFX to STM32F746NE custom board with external SDRAM and I am getting Hardfault as 'Invalid State' while executing MVPApplication(). What could be root cause ?Please let me know.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-26 11:28 PM
I am using TouchGFX 4.10 library with IAR version 7.80.1
Solved! Go to Solution.
- Labels:
-
DEBUG
-
STM32F7 Series
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-01 12:07 AM
Hi,
Issue is resolved, I was using old version of ST HAL drivers which didn't have '__HAL_RCC_CRC_CLK_ENABLE()' statement.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-26 11:50 PM
Hi, what is the resolution of the display? I tried the same using the STM32746IG processor with external ram and a 800x480 4.3" display. As I see it is the code in the libraries relies on exact timing. Each example with STM32 boards only runs on that hardware. I have tried the same hardware with STemWin and other libraries and had no problems. Without the source code and only inadequate documentation it will be hard to find the root cause. Please post if you make any progress.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-27 12:49 AM
Hi,
Thanks for your quick answer. I am using 800x480 7" display. Now we are in the process of removing our old graphics stack and replacing with TouchGFX. Compilation went fine , but execution failed. I integrated generated code from ToucGFX designer and necessary changes for DMA and LTDC .Posting entire code will be difficult, I can post some of integration code, please let me know. Did I miss any specific integration step ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-01 12:07 AM
Hi,
Issue is resolved, I was using old version of ST HAL drivers which didn't have '__HAL_RCC_CRC_CLK_ENABLE()' statement.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-01 6:08 AM
Hi @SAnve​,
Glad you solved it. I guess we should add this to some sort of check list :) Possible cause of HardFault = CRC not initialized.
/Martin
