cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jack3
Senior II

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?

13 REPLIES 13
PatrickF
ST Employee

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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Ozone
Lead II

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

PatrickF
ST Employee

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,

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
PatrickF
ST Employee

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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

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

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.

"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.

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

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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.