Page 1 of 1

[STM32F103C8T6] How can I use '128 Kbytes of Flash memory'?

Posted: Tue Feb 27, 2024 7:43 am
by myksj1105
[STM32F103C8T6] How can I use '128 Kbytes of Flash memory'?3

hello. Nice to meet you.

When coding, ‘flash memory’ is important.

Is there any way to increase the flash memory to '128 Kbytes'?

Q1) Do I need to change the chip number?
Q2) Or is there another way?

https://cafeptthumb-phinf.pstatic.net/M ... EG/fig.jpg

Re: [STM32F103C8T6] How can I use '128 Kbytes of Flash memory'?

Posted: Tue Feb 27, 2024 8:01 am
by ag123
officially u'd need to get a stm32f103c{b,B}t6, that one has 128 k per specs, c8 is 64k per specs.

So if you think you literally have 128k memory, you can try a variant for 128k e.g. maple mini.
The details are actually in the ld script, check in there in the variant.

Alternatively, get something like a stm32f401/f411, these has more like 256k flash, and 64k sram.
https://stm32-base.org/boards/STM32F401 ... -V1.2.html

sram matters just as much, in fact more so than flash. and f4xx is much faster for the same mhz (has 'ART' accelerator (on chip cache) and FPU)

Re: [STM32F103C8T6] How can I use '128 Kbytes of Flash memory'?

Posted: Thu Feb 29, 2024 1:17 pm
by myksj1105
ag123 wrote: Tue Feb 27, 2024 8:01 am officially u'd need to get a stm32f103c{b,B}t6, that one has 128 k per specs, c8 is 64k per specs.

So if you think you literally have 128k memory, you can try a variant for 128k e.g. maple mini.
The details are actually in the ld script, check in there in the variant.

Alternatively, get something like a stm32f401/f411, these has more like 256k flash, and 64k sram.
https://stm32-base.org/boards/STM32F401 ... -V1.2.html

sram matters just as much, in fact more so than flash. and f4xx is much faster for the same mhz (has 'ART' accelerator (on chip cache) and FPU)
@ag123

Thank you for your kindness.

I hope it's filled with only good things.
Thank you.