2024-06-16 07:39 AM
Hi Guys,
New in STM32 design.
We are going to use STM32G4 MCU (specific P/N hasn't been selected yet).
We want to use dual image boot (for upgrade option).
I need to choose an external QSPI flash for that.
What is the maximum image size for STM32G4?
Thanks
Shay
Solved! Go to Solution.
2024-06-16 08:06 AM
>>New in STM32 design
Ok, but read the documentation and specifications.
They say 512KB of Internal Flash
External QSPI NOR 256MB (2Gbit) should be easy enough to map.
https://www.st.com/en/microcontrollers-microprocessors/stm32g4-series.html
2024-06-16 08:06 AM
>>New in STM32 design
Ok, but read the documentation and specifications.
They say 512KB of Internal Flash
External QSPI NOR 256MB (2Gbit) should be easy enough to map.
https://www.st.com/en/microcontrollers-microprocessors/stm32g4-series.html
2024-06-16 08:09 AM
I read the datasheet, I missed the information that the internal Flash is good for dual image boot.
Thaks for the information.
Shay
2024-06-16 08:16 AM - edited 2024-06-16 08:30 AM
Code can XIP (Execute In-Place) from QSPI NOR
If you split the Internal banks, then 2x 256KB Images, but if you've got a complete valid firmware staged elsewhere I'm not sure you need to split the banks.
How much code space does your application use?
2024-06-16 08:19 AM
We don't know yet.
Specifications stage...
2024-06-16 08:34 AM
You'd probably want a grasp of complexity before picking MCU's
What's currently driving the choice of STM32G4, vs say a F7 / H7 with caching, and better FPU options.
2024-06-16 11:06 PM
Hi,
To be honest with you, it should be a general purpose MCU for controlling some sensors via I2C, UART, GPIOs, and stabilized a temperature environment (according to temp' sensor and some algorithm, activate a load switch).
No need for FPU or other ISP capabilities.
The system will not be mobile, and power consumption is not critical.
This is the reasons we choose the "general purpose" family.
Thanks
Shay