This is my boardOn my board the µC is a
STM32F103RCLot of discussion on the internet that a STM32F103RC can be open up to 512KB.
I just compiled the last stable Marlin 2.0.9.1 with this Platformio env:
[platformio]
src_dir = Marlin
boards_dir = buildroot/share/PlatformIO/boards
default_envs = STM32F103RE_btt_maple
include_dir = Marlin
extra_configs =
ini/avr.ini
ini/due.ini
ini/esp32.ini
ini/features.ini
ini/lpc176x.ini
ini/native.ini
ini/samd51.ini
ini/stm32-common.ini
ini/stm32f0.ini
ini/stm32f1-maple.ini
ini/stm32f1.ini
ini/stm32f4.ini
ini/stm32f7.ini
ini/stm32h7.ini
ini/teensy.ini
and everything works perfectly. I have to admit my firmware build is still below the 256KB limit.
I am sure the STM32F103RC has a flash memory of 512KB on the die, the problem it is not specified by ST.
Usually it is common to have only one part in production, and then assign a different name depending on the quality check results.
I imagine if a STM32F103R passes the 512KB flash test then it becomes a STM32F103RE, if only the 256KB flash test then STM32F103RC.
So if your firmware is >256KB in a STM32F103RC, and it acts funny we know why now.
It is like playing the lottery: hit or miss.
Am I right with my assumption?
Second, the cost of a STM32F103RE is not prohibitive. I have the soldering equipment required to swap the STM32F103RC with a STM32F103RE.
I have also the firmware from Platformio, what I do not have is the ability to flash the proper bootloader to a virgin STM32F103RE.
In other words what µC tools I need to up upgrade a board from the STM32F103RC to STM32F103RE?
Many thanks and sorry in advance if the questions are too stupid...