Skip to main content
Lead
April 20, 2026
Question

A suspected bug i CubeMX for MP257

  • April 20, 2026
  • 2 replies
  • 150 views

Hi!

I think a have found a bug in CubeMX for STM32MP257F processor.

If you go to RIF - RISAB - VDERAM. You will find that the region size can only be 0x21000. That's more than 128 kB, according to the data sheet.

SYSRAM1, SYSRAM2, SRAM1, SRAM2, RETRAM have 0x20000 as maximum region size.

Question: If this is a bug, then I want to send a PR to the Github ST repository of the MP2 firmware. Can you guide me where the code is so I can make a PR?

2 replies

Technical Moderator
April 20, 2026

Hello @DMårt 

Thank you for highlighting this issue on STCommunity.
I will check it internally with the dedicated team and get back to you as soon as possible.

BR, Souhaib

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.
DMårtAuthor
Lead
April 20, 2026

@Souhaib MAZHOUD

Thank you for your reply.

Waiting for the feedback.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-ComputerSTM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer
Technical Moderator
April 21, 2026

Hello @DMårt 

An internal ticket has been raised to the dedicated team to review this issueInternal ticket number: CDM0061992 (This is an internal tracking number and is not accessible or usable by customers.)

Regarding the "field linuxkernel2 region size" could you clarify further?

BR, Souhaib

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.
DMårtAuthor
Lead
April 23, 2026

@Souhaib MAZHOUD 

Unfortunately, my laptop having some issues. So, I cannot show you what I mean. But according what's happening is that the field linuxkernel2 having some issues. It's not possible to configure. Check the values of the start and region size.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-ComputerSTM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer