cancel
Showing results for 
Search instead for 
Did you mean: 

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

KBern
Associate

- 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?

2 REPLIES 2

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?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

Are you sure those banks aren't just erased?

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

If you feel a post has answered your question, please click "Accept as Solution".