cancel
Showing results for 
Search instead for 
Did you mean: 

Spurious Firewall Resets Possibly Caused by TouchGFX Animations?

RBurg.2
Associate II

Hi TouchGFX Engineers,

I have been debugging an issue while developing secure updates for a touchgfx interface and I am interested in your thoughts on the problem:

  • Firewall is configured to protect flash at the start of each bank as per SBSFU requirements, firewall on RAM is disabled (we use a STM32L4R9 which has an errata issue with SRAM1 accesses).
  • Disabling the RAM part of the firewall allows my code to run and most of the screens and transitions work.
  • Now I get a firewall reset whenever I call an animation function like startMoveAnimation() or animateToItem(), and sometimes on certain cover screen transitions (not consistent like the animation calls though).

Do you think TouchGFX could be actually trying to access things in the protected sections? None of my application code overlaps.

System specs:

  • STM32L4R9VITx, assets in external flash
  • Dual frame buffer with GFXMMU, chromart DMA2D.
  • Touchgfx version 4.18.1
  • No animation buffer, all my transitions and animations work without one

Bonus because it may be relevant and I haven't seen this posted before: To get cover screen transitions to be smooth without an animation buffer I had to remove the

if(animationCounter == 1 && HAL::USE_DOUBLE_BUFFERING)

statement in cover transition handleTickEvent().

0 REPLIES 0