Skip to main content
Graduate II
January 4, 2025
Question

STM32MP157C-DK2 dev board slowing down 3d cube demo after days.

  • January 4, 2025
  • 4 replies
  • 2139 views

I have two STM32MP157C-DK2 dev boards, they still have the demo software on it.
They collected a lot of dust, over the past years.

The problem is the 3d cube demo slowing down after days.
After a reset it is fast again. Perhaps a memory leak?

Because it needs a reset every day or maybe every hour, I never was willing to start developing software on it.

I'm cleaning up, and I am about to throw these kits in the trashbin.

But, what's the undelying problem? Is there a solution to keep de kits running stable and at full speed anyway?

    This topic has been closed for replies.

    4 replies

    Technical Moderator
    January 6, 2025

    Hi @Jack3 

    I will give a try on my side with latest ecosystem on latest board STM32MP157F-DK2.

     

    Which version of SW ecosystem or Linux kernel version you have on the board ?

    • e.g. looking at board console log during boot or typing "uname -r" on the board console prompt

     

    Did you try to put the latest ecosystem SW on the board ?

    https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Let%27s_start/Populate_the_target_and_boot_the_image

     

    I assume the one delivered on SD-Card with this board is very old and largely updated meanwhile.

    Regards.

    Jack3Author
    Graduate II
    January 11, 2025

    Thank you very much!
    "uname -r" reports 4.19.9 on both units.

    Explorer
    January 7, 2025

    I would check what the "top" and "free" commands say in both instances.

    Jack3Author
    Graduate II
    January 11, 2025

    Thank you, this is a very good idea!
    Doing it now, but I may need to wait for the lugish stuttering to become more and more visible.
    A day should be enough.

    I will also capture a video, with both units, one freshly restarted, one running for a day, so you can see the difference.

    Technical Moderator
    January 7, 2025

    Hi,

    After about 1 day running the 3D demo on STM32MP157F-DK2 with latest ecosystem 6.x, I did not see any visible slow down not any significant change within 'top' results.

    I keep it running.

    Regards,

    Jack3Author
    Graduate II
    January 11, 2025

    "uname -r" reports 4.19.9 on both units, so I guess these need to be updated.
    I have a windows laptop and Linux mint 22 runs in VirtualBox.
    I need to look up how to update these units.

    Technical Moderator
    January 10, 2025

    Hi @Jack3 

     

    did you have time to try using latest ecosystem on your board.

    On my side, no issues after 3 days. I stop the investigations on my side.

    Issue is likely old ecosystem with old GPU driver which has evolved a lot in the past years (board are usually shipped with an outdated SW).

     

    Regards.

    Jack3Author
    Graduate II
    January 11, 2025

    Hi Patrick, thanks for testing this out.
    I will need to find out how to update these.

    Technical Moderator
    January 13, 2025

    Hi @Jack3 

    update is rather easy with STM32CubeProgrammer, on Windows or Linux machine.

    You should follow this wiki page https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Let%27s_start/Populate_the_target_and_boot_the_image

    (mostly steps 6, 7 and 8, using FlashLayout_sdcard_stm32mp157c-dk2-optee.tsv).

     

    Regards.