Loading...
 
Skip to main content

System Workbench for STM32


CUBE error for STM32F476RG causes these processors to not work

Tunisia

Hi Matthew,

Thank You for reporting this issue, the issue is reported to MX dev team

But the modification that you have done will not fix the issue.

In fact this MCU has two SRAM memories:

  1. SRAM1 (96KB = 0x18000) starts from 0x20000000
  2. SRAM2 (32KB = 0x08000) (with parity check) starts from 0x10000000


The root cause of this runtime crash is as you have said that the stack is misplaced:
to fix this issue you need to modify the _estack and RAM size in you linker :

  1. _estack should be 0x18000 instead of 0x20000
  2. RAM size should be 96K


Regards,
Tarek