Skip to main content
Visitor II
July 17, 2020
Question

On board ST-LINK/v2 debugging on Nucleo-144 board (STM32H743) - upper flash banks show 0xFF, not real values.

  • July 17, 2020
  • 2 replies
  • 694 views

- Keil MDK5 v5.31

- STM32H743

- Nucleo-144 board

- STlink Firmware: STM32 Debug+Mass storage+VCP V2.J35.M26

Bank 0 Sector 0 and 1 I can view in the memory windows

Bank 0 Sectors 2 through 7, as well as all as Bank 1, show up as 0xFF, i.e. I can't view their contents while debugging.

Went through section 3.5 FLASH protection mechanisms in the DM00314099.pdf

every thing looks like the default settings and OK.

The RDP 0 values do not appear to be set?

Question:

Is there some other setting that will let me look at the flash bank values? Or is this just a design limitation?

    This topic has been closed for replies.

    2 replies

    Graduate II
    July 17, 2020

    Not aware of a reason it shouldn't work normally.

    You could try looking via STM32 Cube Programmer

    The code you have running could also dump data to a console, USART / SWV or whatever, to see what the processor can see from its view point.

    The internal FLASH is mapped at two addresses, which are you using?

    Super User
    July 17, 2020

    Are you sure those banks aren't just erased?

    Can you view those banks in STM32CubeProgrammer or when not debugging?