Skip to main content
Robmar
Senior II
July 30, 2026
Question

CubeProgrammer reports duplicate memory error with itcm functions

  • July 30, 2026
  • 3 replies
  • 61 views

With functions loaded into ITCM and working in debug and release, when programming using CubeProgrammer July 2026 edition, it reports duplicate memory areas.
Is it unable to handle ITCM functions or is there something that needs to be set?

3 replies

Robmar
RobmarAuthor
Senior II
August 3, 2026

Another case of ZERO support from STM.  This looks like the CubeProgrammer code was not designed with ITCM function loading,  would any one ata STM care to comment?

TDK
August 3, 2026

Another case of ZERO support from STM.

You’ve provided very little to comment on here other than a vague report that something isn’t working to your expectations. Consider adding detail. Add a screenshot showing the “issue”.

At a fundamental level, the ITCM functions will need to live in flash as well and be moved to ITCM on startup. The duplication is necessary--there is no magical way to get them into ITCM otherwise.

 

Either show what you’ve done or use pre-existing working examples. Or if you just want to complain, do that, but don’t expect it to be productive.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Robmar
RobmarAuthor
Senior II
August 3, 2026

There are another two post on this forum with the exact same issue, some long while back and no solution posted, and very few comments.
You don’t need my project to test this, get any H7 board project, and assign some functions into ITCM RAM and then use CubeProgrammer, really that’s it!

I have 50 KB of functions in ITCM RAM, regardless of the error my application runs with no sign of corrupted program.

ITCM 2 or more segments overlap

Incorrect warning? "Warning: File corrupted. Two or more segments defines the same memory zone