Skip to main content
Associate
Jul 18, 2024 4:57 PM UTC
Solved

Error: Operation exceed memory limits with STM32CubeProgrammer v2.17.0

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

 

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jul 18, 2024 5:26 PM UTC

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 Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

3 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jul 18, 2024 5:26 PM UTC

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 Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Associate
Jul 18, 2024 6:12 PM UTC

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
Jul 18, 2024 6:39 PM UTC

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 on " Best Answer ".