External Loader Algorithm with LTDC Initial Failded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-10 5:54 PM - edited ‎2023-08-10 5:55 PM
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
- Labels:
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-10 8:17 PM
I'm having a hard time deciphering what you're saying.
Are you initializing the LTDC from within the External Loader?
Or is the LTDC failing to initialize after you use the loader, or run code from the external flash?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-10 8:50 PM
Hi,
Thanks for your reply!
Using no matter CubeProgrammer or IDE build-in Programming tool, must select the External Loader file (*.stldr).
I add LTDC Initial code in Loader_Src.c file which generate the *.stldr, but LCD not work and LCD clock also no signal.
So I am wondering why the QSPI Initial is work but others No.
Charlie.
