Re: 32F303 support
Posted: Sat Jan 18, 2025 10:59 am
It works fine with original Bluepill board, no changes required.
The crystal is 8MHz, that is ok with the F303CB too.
I had to install the 4k7 R10 for proper USB operation (was not installed on that board).
The flashing via DFU works fine - you have to set the Boot0 header switch to "1", and power on the board,
PC (Win10) recognizes the BluePill (you have to install the drivers), and Arduino (with your STM32 core installed) set to Generic 303CBx board flashes the resulting binary fine.
On the TeraTerm monitor I can see output data (via USB serial). In order to see USB serial you have to have the Boot0 switch in "0" position.
So it builds and flashes properly it seems, the issues could come with details like peripheries, FPU, DSP, and of course the 256kB flash.
The 2x bigger flash is my priority to investigate. I need F303CB to be flashed up to 256kB (my understanding is the CB and CC chips are the same silicon, as it was/is with genuine F103 chips).
In past we had the bootloaders (RogerC era) for 64kB and 128kB versions of the F103 (all my Bluepills with genuine STM32F103 had 2x bigger flash). My F303CB is genuine too.
The original STM programmers are usually looking at the chip ID, so I need an uploader which does not care and flashes 256kB into a 128kB chip as well. I have to investigate.
The crystal is 8MHz, that is ok with the F303CB too.
I had to install the 4k7 R10 for proper USB operation (was not installed on that board).
The flashing via DFU works fine - you have to set the Boot0 header switch to "1", and power on the board,
PC (Win10) recognizes the BluePill (you have to install the drivers), and Arduino (with your STM32 core installed) set to Generic 303CBx board flashes the resulting binary fine.
On the TeraTerm monitor I can see output data (via USB serial). In order to see USB serial you have to have the Boot0 switch in "0" position.
So it builds and flashes properly it seems, the issues could come with details like peripheries, FPU, DSP, and of course the 256kB flash.
The 2x bigger flash is my priority to investigate. I need F303CB to be flashed up to 256kB (my understanding is the CB and CC chips are the same silicon, as it was/is with genuine F103 chips).
In past we had the bootloaders (RogerC era) for 64kB and 128kB versions of the F103 (all my Bluepills with genuine STM32F103 had 2x bigger flash). My F303CB is genuine too.
The original STM programmers are usually looking at the chip ID, so I need an uploader which does not care and flashes 256kB into a 128kB chip as well. I have to investigate.