Has someone encountered issues using dual bank flash on random chips?
Our design and firmware used to work with former batch but a current lot of STM32F427 does not have a proper readout of the flash size and does not switch from bank A<->B.
The STlink reads the following on a working chip:
STM32 ST-LINK CLI v3.2.0.0
STM32 ST-LINK Command Line Interface
ST-LINK SN : Old ST-LINK firmware/ST-LINK already used
ST-LINK Firmware version : V2J14S3 (Need Update)
Old ST-LINK firmware detected!
Please upgrade it from ST-LINK->'Firmware update' menu.
Connected via SWD.
Target voltage = 3.3 V.
Connection mode : Normal.
Device ID:0x419
Device flash Size : 2048 Kbytes
Device family :STM32F42xxx/F43xxx
0xE0042000 : 19 64 01 20
0x1FFF7A22 : 00 08 AE 4D
and reads this on a failing bank swap chip:
STM32 ST-LINK CLI v3.2.0.0
STM32 ST-LINK Command Line Interface
ST-LINK SN : Old ST-LINK firmware/ST-LINK already used
ST-LINK Firmware version : V2J14S3 (Need Update)
Old ST-LINK firmware detected!
Please upgrade it from ST-LINK->'Firmware update' menu.
Connected via SWD.
Target voltage = 3.2 V.
Connection mode : Normal.
Device ID:0x419
Device family :STM32F42xxx/F43xxx
0xE0042000 : 19 64 03 20
0x1FFF7A22 : FF FF D0 A0
The register 0x1FFF7A22 should be factory-programmed but reads 0xffff instead of 0x0800 !
The DBGMCU_IDCODE, Address: 0xE004 2000, suggests a die revision 3 (20 01) in the first working chip and a die revision 5 or B for the second one (20 03).
Could the die revision affect the dual bank features?
Can the flash_size be overwritten?
Or should I think of a clone chip?
Thanks for your inputs!
YCoqu