Video decoding for STM32H7B3L.
Hi.
I am using SDRAM, OctoSPI and 24bit RGB888 TFT screen. Project is working normally with another widgets (button, shape, text area, image etc.). Now i want to use video decoding and video widget. I made the necessary cubemx settings by reading the Video decoding. application steps. As a trial, I prepared a project consisting of 4 images and one video (sample video in touchgfx) in touchgfx. There are 5 screens in the project. Screen1, screen2, screen3, screen4 and screen5. I play the video after showing the images at 2-second intervals. The video widget is in the 5th screen. The program works properly until the 4th screen. But when it comes to the part of playing the video, it going to the "hardfault" procedure. I think I'm making a mistake with the memory settings. Cubemx settings are as follows;
DMA2D
JPEG
JPEG-MDMA
JPEG-MDMA
LIBJPEG
RTOS-TASK
RTOS-HEAP
TouchGfx
I added the following code in STM32H7B3LIHXQ_FLASH.ld.
MEMORY
{
...
SDRAM (xrw) : ORIGIN = 0xD0200000, LENGTH = 8M
}
BufferSection (NOLOAD) :
{
*(Video_RGB_Buffer Video_RGB_Buffer.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >SDRAMWhere am i making a mistake?
