I'm working on a ChibiOS application for the STM32F303CBT6, but thus far I haven't been able to get a binary to run on the microcontroller. The CBT6 is a 48-pin variant of the F303, with 32K of RAM, rather than 40K.
I've begun by using the demo under /ARMCM4-STM32F303-DISCOVERY/, testing on a normal discovery board with the STM32F303VCT6, compiling with Launchpad GCC in Linux. The demo works fine on the discovery board, so I believe that my build environment and programming tools are working properly.
To adapt the program for the CBT6, I've changed the STM32F303xC.ld file under ChibiOS-RT/os/ports/GCC/ARMCMx/STM32F3xx/ld/ to reflect the smaller memory size than the VCT6. The relavent line was changed to:
Code: Select all
ram : org = 0x20000000, len = 32kI've tried this on the CBT6, but I get no signs of life. Next, I went into main.c of the demo, and removed all the references to GPIOE pins, since there is no Port E on the CBT6. Still, no signs of life.
Does anyone have suggestions for where else I should look to modify the code? I imagine it must be something simple, as the STM32F303CBT6 and 303VCT6 are very similar.
Thank you!