Hello,
I'm trying to implement STemWin to STM32F769NI based board.
H/W setting; I'm using external SDRAM as frame buffer with FMC, LTDC, and DSIHOST.
The LCD interface is LVDS; so a bridge chip(TI's SN65DSI83) is used to convert DSI signal into LVDS signal.
At first, the LTDC and DSIHOST is initialized. Then, SN65DSI83 is initialized using I2C.
After that, writing to frame buffer is successfully applied to LCD display.
As you may noticed there isn't any LCD driver initialization step.
So, I've chosen GUIDRV_LIN_32 as display driver and GUICC_M8888 as color conversion in LCDConf.c, originally derived from STM32Cube Fw F7 V.1.7.0, STemWin Hello world project.
In that source file, I've commented every step related to LTDC/DSI initialization and the part related to LCD driver(otm8009A).
Here's the problem: at the GUI_Init() - GUI__Config - LCD_X_Config - GUI_DEVICE_CreateAndLink - GUI_DEVICE_Link.
I can only see the source so I attached debugger's disassembly screen. Hard fault with UNALIGNED bit set in CFSR occurs after that break point at 0x8001e58.
Can you tell me the major suspects of this problem?
Thank you in advance.
I'm trying to implement STemWin to STM32F769NI based board.
H/W setting; I'm using external SDRAM as frame buffer with FMC, LTDC, and DSIHOST.
The LCD interface is LVDS; so a bridge chip(TI's SN65DSI83) is used to convert DSI signal into LVDS signal.
At first, the LTDC and DSIHOST is initialized. Then, SN65DSI83 is initialized using I2C.
After that, writing to frame buffer is successfully applied to LCD display.
As you may noticed there isn't any LCD driver initialization step.
So, I've chosen GUIDRV_LIN_32 as display driver and GUICC_M8888 as color conversion in LCDConf.c, originally derived from STM32Cube Fw F7 V.1.7.0, STemWin Hello world project.
In that source file, I've commented every step related to LTDC/DSI initialization and the part related to LCD driver(otm8009A).
Here's the problem: at the GUI_Init() - GUI__Config - LCD_X_Config - GUI_DEVICE_CreateAndLink - GUI_DEVICE_Link.
I can only see the source so I attached debugger's disassembly screen. Hard fault with UNALIGNED bit set in CFSR occurs after that break point at 0x8001e58.
Can you tell me the major suspects of this problem?
Thank you in advance.
The post was edited 1 time, last by mcubebry ().