Skip to main content
Harish1
Associate III
July 11, 2022
Solved

Query on SW compatibility between STM32L475RC and STM32L475RE

Hi,

I have a project which is based on the STM32L475RC and now I want to upgrade to the STM32L475RE controller. I have changed the device from STM32L475RC to STM32L475RE in options for the target of the Keil environment. But the new project based on the STM32L475RE is not working. Any other steps to change the project configuration?

    This topic has been closed for replies.
    waclawek.jan
    waclawek.janBest answer
    Super User
    July 11, 2022

    > I enabled the FPU module just after the main() in the RC project.

    Do it in startup code.

    JW

    5 replies

    waclawek.jan
    Super User
    July 11, 2022

    Probably there's no difference between these two two chips, except for the FLASH size.

    > not working

    This is not a helpful description of the problem. Elaborate. Debug.

    JW

    Andrew Neil
    Super User
    July 11, 2022

    @Community member​ STM32L475RC and STM32L475RE

    So the only difference there is the 'C' or 'E' suffix.

    As @Community member​ said, that's just the Flash size - as the datasheet tells you:

    0693W00000QKqlcQAD.png 

    "the new project based on the STM32L475RE is not working"

    So what, exactly, is "wrong" with it?

    • Does it build?
    • Does it load?
    • Does it run?
    • etc, etc, ... ?

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Harish1
    Harish1Author
    Associate III
    July 11, 2022

    I enabled the FPU module just after the main() in the RC project. It is working in RC but not working in RE. When I have disabled the FPU in RE then it is working fine. These are a few inputs along with the above. If I find any others I will share them with you.

    Andrew Neil
    Super User
    July 11, 2022

    Again, "not working" tells us nothing!

    • Does it build?
    • Does it load?
    • Does it run?
    • etc, etc, ... ?

    Remember that we have no idea what your project is, or what you're doing - it's up to you to provide details!

    • What, exactly, did you expect it to do?
    • What, exactly, is it actually doing?
    • What investigation/testing/debugging have you done to find what's going wrong?

    Try to cut this down to a minimal but complete example which illustrates the problem...

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    waclawek.jan
    waclawek.janBest answer
    Super User
    July 11, 2022

    > I enabled the FPU module just after the main() in the RC project.

    Do it in startup code.

    JW