Skip to main content
Associate
June 3, 2024
Solved

Firmware Question after changing from STM32F401RBT6 to STM32F401RCT6

Hello,

 

The only difference between STM32F401RBT6 vs STM32F401RCT6 is the memory size, 128KB vs 256KB. 

I have a board in production with the STM32F401RBT6. If I switch to STM32F401RCBT6 (larger memory), can I share the same .hex firmware if I don't exceed 128KB? I think the answer is a big NO; but I just want to avoid two different firmwares. 

Customers are using the DFO for updates.

Thanks for the help!! 

    This topic has been closed for replies.
    gbm
    gbmBest answer
    Super User
    June 3, 2024

    The answer is big YES. Officially, RCT is a simple superset of of RBT. You may simply forget the extra memory.

    My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice

    3 replies

    gbm
    gbmBest answer
    Super User
    June 3, 2024

    The answer is big YES. Officially, RCT is a simple superset of of RBT. You may simply forget the extra memory.

    My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
    Tesla DeLorean
    Guru
    June 3, 2024

    The memory usage is a function of the Linker, and the Linker Script. Both these parts likely have the same die. You can check by reading the DEVID value.

    Code binary from smaller part will run on larger one. 

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    mendezAuthor
    Associate
    June 3, 2024

    Thanks a lot gbm and Tesla DeLorean!