Skip to main content
VGing.1
Associate
Apr 27, 2023 1:30 PM UTC
Question

STM32CubeIDE and STM32CubeProgramer can't erase a page on BANK 2 of STM32U575.

Hi,

Does anyone are able to erase a memory page of BANK2 on a STM32U575 with ST-LINK/V2 in STM32CubeIDE or STM32CubeProgramer? The mcu is configure in dual bank by default. I'm only able to work with a SEGGER JLINK (in IDE) or it is possible to program mcu after a full chip erase. When I put it in single bank mode, the IDE only erase 8K of the 16K page and generate an error at verification.

Thanks

This topic has been closed for replies.

4 replies

Senior III
Apr 27, 2023 6:26 PM UTC

I have u575 but in work place. Tomorrow I'm going to check ​

Dudo
Senior III
Apr 28, 2023 8:47 AM UTC

Hmmm. In documentation U575 say that "page have 8K" not 16K? Perhaps you use wrong linker script?

Dudo
Senior III
Apr 28, 2023 8:48 AM UTC

Or settings your debugger/programmer are wrong :)

Dudo
VGing.1
VGing.1Author
Associate
May 1, 2023 1:36 PM UTC

Here is a snapshot of the programer.


_legacyfs_online_stmicro_images_0693W00000bj8LjQAI.png 

When I uncheck the DBANK Option like next picture.


_legacyfs_online_stmicro_images_0693W00000bj8LtQAI.png