Skip to main content
lxw
Associate III
March 28, 2019
Solved

Slide Transition animation effect does not show on target

  • March 28, 2019
  • 15 replies
  • 2333 views

Use cubemx to generate the project, then use the slider effect to switch screen and everything will run fine in the simulator.But I burned MDK to the hardware and didn't see the slider effect.Is there something wrong with the transplant?

This topic has been closed for replies.
Best answer by Martin KJELDSEN

hi @lxw​,

Glad you found that on your own =) For clarity, and others, let's look at the signature for setFrameBufferStartAddress(). e.g., if you want a 16-bit application, double buffering with animation storage enabled, you'd just ommit every argument but the first one (the framebuffer address):

/**
 * @fn virtual void HAL::setFrameBufferStartAddress(void* adr, uint16_t depth = 16, bool useDoubleBuffering = true, bool useAnimationStorage = true)
 *
 * @brief Sets the address used for frame buffers, usually located in external memory.
 *
 * Sets the address used for frame buffers, usually located in external memory. Will
 * reserve memory for one or two frame buffers based on display size. Will optionally
 * also reserve memory for a third frame buffer used for animationStorage.
 *
 * @param [in] adr Starting address to use for frame buffers.
 * @param depth (Optional) Depth of each pixel in bits, default is 16.
 * @param useDoubleBuffering (Optional) If true, reserve memory for an extra frame buffer.
 * @param useAnimationStorage (Optional) If true, reserve memory for animation storage.
 *
 * @deprecated Use the setFramaBufferStartAddress with 'format' parameter instead of 'depth'
 */
 virtual void setFrameBufferStartAddress(void* adr, uint16_t depth = 16, bool useDoubleBuffering = true, bool useAnimationStorage = true)

15 replies

Martin KJELDSEN
Principal III
March 28, 2019

Hi,

Are you sure you've programmed the external flash with image assets correctly?

/Martin

lxw
lxwAuthor
Associate III
April 26, 2019

Sorry,Can you help me?I've tried it many times and it's the same thing.Use STM32F469I_DISCOREVY.

There is another question, why does the TE touch release always 533 when subarea refresh

Martin KJELDSEN
Principal III
April 29, 2019

What exactly is it you've tried? Which program are you using to program the QSPI flash of the board? I suggest you just use ST-Link or CubeProgrammer.