2020-09-27 11:28 PM
the project from designer is running correctly
then,i open the .ioc with cubeMX, select the option <generate peripheral intialization as a pair of .c/.h files per periphreal >,and re-generated the code , in running, the screen display nothing and checked the value of reg <ltdc->L1CFBAR> ,that is never changed at all
2020-09-28 12:30 AM
Hello,
Could you provide some screenshot of your changes in CubeMX ?
/Alexandre
2020-09-28 12:32 AM
nothing changed but this
2020-09-28 01:27 AM
Did you enable double framebuffer strategy from TouchGFX Generator? =)
2020-09-28 01:29 AM
2020-09-28 02:25 AM
latest progress : set a break point at <tick();>,then click the <run> ,never stop at tick() again;
the result shown as the picture
2020-09-28 03:31 AM
Okay, so the application isn't even running. This explains why you're not swapping.
What's it doing if you break execution?
2020-09-28 04:07 AM
2020-09-28 04:10 AM
Well, what? Debug your application and check what it's doing - The interrupt to drive touchgfx (from tft controller) is probably not firing