External Loader Algorithm with LTDC Initial Failded
Hi,
I`m using small internal flash MCU for my research, so I need to store all function and data on external flash.
The File Extension is called *.stldr that generated from External Loader Algorithm. After programming, all function works fine.
Now I consider to add LCD showing control at my Algorithm when it is in programming situation. All initial is set correctly but it doesn`t work. And I find the function didn`t go into HAL_LTDC_MspInit, then I put a stuck point at LTDC HAL file, everywhere I put it can be stop at that point, but only if (hltdc->State == HAL_LTDC_STATE_RESET) didn`t work.
if (hltdc->State == HAL_LTDC_STATE_RESET)
{
/* Allocate lock resource and initialize it */
hltdc->Lock = HAL_UNLOCKED;
/* Init the low level hardware */
HAL_LTDC_MspInit(hltdc);
}
So I think LTDC is not initial incorrect.
Is there any suggestion or experience on External Loader for help?
Thanks!
Charlie