cancel
Showing results for 
Search instead for 
Did you mean: 

Any way to lower RAM in order to add to FLASH?

SScot.3
Associate II

Hello All.

I am working on a small project for a friend while learning the STM32 environment.

The project is currently using a STM32F030x4 in a 20 pin TSSOP20.

I have committed a sin; I have run out of Flash Memory.

Is there any way to reduce the RAM allocation and move it to FLASH?

STM makes a chip with the same footprint and pinout with more memory (STM32F042x4) but no one has any stock.

Just curious if there is any 'dirty little secret' to doing this......

Regards to All,

Steve

12 REPLIES 12

Thanks. I did manage to get 30% more from using TDK's advice!

I don't know how to do this. How would I use 'unannounced' flash? Makes sense to me being a hardware guy.

On a F103x8 the flash size register returns 0x40 for 64 kiB, on a F103xB 0x80 for 128. Many programmers deny to write above that border of this "announced" flash, I call the area above 64 k on a F103x8 "unannounced".