Skip to main content
Associate
July 18, 2024
Solved

Error: Operation exceed memory limits with STM32CubeProgrammer v2.17.0

  • July 18, 2024
  • 1 reply
  • 2196 views

A write of size 294KB to STM32H7A3VGHx Internal Flash works, but a write of size 775KB does NOT

BTW, same issue with STM32CubeProgrammer v2.16.0

 

Best answer by Tesla DeLorean

Why does in say 0x080F0000 as the Address? That's like 64KB short of the 1MB ceiling, which is WHY it's failing.

Is this a .HEX or .ELF type file internally?

 

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
July 18, 2024

Why does in say 0x080F0000 as the Address? That's like 64KB short of the 1MB ceiling, which is WHY it's failing.

Is this a .HEX or .ELF type file internally?

 

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Associate
July 18, 2024

Internally it is a compressed binary file

The file size 294KB works, while 775KB does NOT

Further research shows that the STM32H7A3VGHx seems to have only 1MB of Internal Flash

So, starting from 0x0807-0000 there probably is only 512KB available after 0x080F-0000

If true, that will explain why 294KB works, and 775KB does NOT

Let me look at this more...

AScha.3
Super User
July 18, 2024

Right. On VG you have not continuous memory...so flash complies about it.

BUT you could make project with H7A3VI type, 2MB flash, continuous.

(And probably you have same die - same chip, just not tested and "payed for" memory. )

So try with "VI" setting, then it should work.

+

If you need room for big program, net time buy VI version. :)

"If you feel a post has answered your question, please click ""Accept as Solution""."