Skip to main content
rammit
Senior
July 17, 2020
Question

CubeProgrammer not flashing between 0x08100040 and 0x08100800

  • July 17, 2020
  • 6 replies
  • 1559 views

Programming bank2 of an STM32H743 starting at 0x0810000 leaves a section unprogrammed between 0x08100040 and 0x08100800. Programming bank 1 works fine.

Using the UI and the CLI version 2.4.0 via the UART. I'm pretty sure I don't have any security bits set. What am I doing wrong? My own flash routine in my boot code in bank 1 programs it fine.

This topic has been closed for replies.

6 replies

Tesla DeLorean
Guru
July 17, 2020

>>What am I doing wrong? 

Hard to know, insufficient data

Are you using .BIN or .HEX files, have you inspected the files?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
rammit
rammitAuthor
Senior
July 17, 2020

bin files which look correct. I flash the same files using my my own boot loader and it flashes fine. I inspect the flash memory using CubeProgrammer and IAR.

rammit
rammitAuthor
Senior
July 20, 2020

Has anyone been successful at flashing bank2 on the SMT32H743 ?

Pavel A.
Super User
July 20, 2020

STM32H753. Yes, both via Cube Programmer debugger interface and internally ("IAP"). Not tried the UART bootloader.

-- pa

rammit
rammitAuthor
Senior
July 23, 2020

I verified that programming via ST-Link works fine, but UART does not. Has anyone tried UART programming of Bank2 using Cube Programmer?

Uwe Bonnes
Chief
July 23, 2020

Is the bin file padded to an 256 bit boundary? Perhaps some padding problem?

rammit
rammitAuthor
Senior
July 23, 2020

The bin file is 256k in size. I could understand if the size was not rounded to a 256bit boundary at the end of the file That it would not programm that last 256bit word, but the section of flash between 0x08100040 and 0x08100800 does not get programmed.

rammit
rammitAuthor
Senior
August 2, 2020

This has been reproduced by ST.