I have a project to display some text using touchgfx. I'm using a custom H750 board, a LCD-TFT display. My LTDC, DMA2D, SPI is working fine but when i try including touchgfx, every time the framebuffer gets zero.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-04 12:23 AM
I'm not using rtos, my touchgfx process is included in while(1). After debugging through IAR, i've run it and below image is from the .map file. I've also checked the memory address, it is getting zero only.
- Labels:
-
STM32H7 Series
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-04 3:24 AM
Could you start by telling me how you created this project?
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-04 3:40 AM
Hi Martin,
I started this project from CubeMX for IAR. From CubeMX, i initialized the below mentioned. I can display some image or text by directly putting an array into LTDC Framebuffer start address. But i need to use TouchGFX for my design. I'm not using RTOS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-04 3:42 AM
After creating through CubeMX, i opened the .part file to simply add an background in black and a text in white and i generated code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-05 12:02 AM
If you pause your program and inspect the framebuffer, nothing is there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-05 12:12 AM
No it is always zero. If i pause it, it is going to hardfault handler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-05 12:22 AM
I was commenting out CRC_Init(), Now i removed the commenting and this new fault is coming up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-05 1:54 AM
Okay. TouchGFX is CRC-locked to STM32 so commenting that out is a bad idea :)
Check your freertos mem strategy, size of stack and heap.
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-05 2:03 AM
I'm not using freertos at all. In the driver section you see "NO OS". I want to create this project without RTOS. I didn't change the default stack and heap size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-05 2:08 AM
Sorry, forgot you werent :) Check your fault registers to find out what kind of fault this is.
