2023-02-07 07:49 PM
During the normal operation of the program, after touching the pin on the external sdram by hand, the UI screen is stuck. The simulation shows that the DMA2D Transfer error flag is set, touchgfx cannot work normally, and the chip works normally after resetting; It is speculated that the address line on the sdram was temporarily short-circuited by static electricity, and DMA2D could not access the target address. Is there any way to solve this problem to ensure that touchgfx can continue to work normally instead of resetting?
2023-02-08 03:16 AM
Hello L丶zs ,
Actually I'm not sure it's a good idea to touch the pins by hand while the program is running :grinning_face_with_sweat:
My opinion is that resetting TouchGFX is the normal thing to do, and if short-circuit happens on SDRAM address line you shouldn't be able to continue the run of your program.
/Osman
2023-02-08 05:25 PM
In fact, this happens not only when I touch the pin with my hand, but also when I touch the metal frame to generate static electricity, so I want to take some measures to remedy it.
Is there any way to reset TouchGFX in the program? Does it mean that it will run again from the startup screen, but I don't want it to. I think this short-circuit is only temporary, so I originally wanted to reset the DMA2D to keep the UI running from the last stuck position, but it didn't work.