CUBE error for STM32F476RG causes these processors to not work
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:
- SRAM1 (96KB = 0x18000) starts from 0x20000000
- 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 :
- _estack should be 0x18000 instead of 0x20000
- RAM size should be 96K
Regards,
Tarek