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.
2020-05-04 03:24 AM
Could you start by telling me how you created this project?
/Martin
2020-05-04 03: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.
2020-05-04 03: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.
2020-05-05 12:02 AM
If you pause your program and inspect the framebuffer, nothing is there?
2020-05-05 12:12 AM
No it is always zero. If i pause it, it is going to hardfault handler.
2020-05-05 12:22 AM
I was commenting out CRC_Init(), Now i removed the commenting and this new fault is coming up
2020-05-05 01: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
2020-05-05 02: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.
2020-05-05 02:08 AM
Sorry, forgot you werent :) Check your fault registers to find out what kind of fault this is.