2023-08-29 04:56 AM
Hi, I write to report a possible bug in generating a project by selecting an STM32G0B1CB MCU.
I created the basic project using STM32CubeMX (6.9.0).
In the autogenerated file "stm32g0b1xx.h" (in Drivers/CMSIS/Device/ST/STM32G0xx/Include) there is the following define:
#define FLASH_DBANK_SUPPORT
However, the chip in question should have only one bank of 128kB.
Is this a bug or am I missing something?
2023-08-29 06:22 AM
Seems like a bug to me.
Note that often on chips like this, both banks of FLASH are present, but ST only tests the portion that they specify in the datasheet.
2023-08-29 06:53 AM - edited 2023-08-29 06:54 AM
Hello @locchi93 and welcome to the Community.
The Dual bank feature is supported in STM32G0B01 MCU devices.
For more explanation, please refer to FLASH memory organization Section and FLASH option byte description Section in RM0444.
I suggest also viewing the two links:
Thanks.
Mahmoud.
2023-08-29 06:58 AM
> The Dual bank feature is supported in STM32G0B01 MCU devices.
The STM32G0B1CB has 128kB of FLASH per the datasheet (and the OP).
There is no table in the RM which suggests it has dual bank support.
2023-08-29 07:17 AM