2018-05-22 05:30 AM
Hi everyone,
I'm using Atollic True Studio 9.0.0 for my STM32F746G DISCO board project. No HAL Drivers, no CUBEMX, programming mcu manually. I have a debug problem. After i build and download the code, pressing the 'resume' button starts my application but when i 'pause' debug session and look at my 'LTDC register' values, it seems no register is configured as in my 'register configuration function'. However, if i restart the debug and continue debugging step by step, it enters my register configuration function and configures registers of LTDC as my wish. What can be the reason behind this problem? Also i have another issue about this problem such that only the LTDC registers are facing this issue. Can you please help me?
Thanks a lot.
2018-05-22 06:17 AM
It may be that there's some delay needed between you enable the LTDC clock in RCC, and you start writing into LTDC registers.
With the first written LTDC register, try to loop writing it and reading it back, until the readback matches the written value.
JW
2018-05-22 08:43 AM
Thanks JW, its OK now.