cancel
Showing results for 
Search instead for 
Did you mean: 

Persistent data surviving re-programming within CubeIDE

Toneski
Associate III

Hi All,

I'm sure this has been discussed before - and there's probably a solution out there, but for the life of me, I can't find it.

So here's the situation.

I have a large (~256K) block of graphics data, that sits within its own designated sectors at the top of the CPU flash. This data very rarely changes.

Is there any method that I can use, that will stop this data being re-programmed by CubeIDE everytime I change some software? Is there an IDE setting that will ignore reprogramming data/sectors that haven't  changed since the last reprogram?

Obviously, this would speed up development - which would be nice...

Cheers,

Toneski

1 REPLY 1

CubeIDE only erases enough of the flash to program the generated code - See: 

https://community.st.com/t5/stm32cubeide-mcus/partial-or-full-chip-erase-before-programming/m-p/734869/highlight/true#M31829

So is your "large (~256K) block of graphics data" part of the compiled ELF image?

If so, I guess the thing to do would be to separate it out...