Skip to main content
Associate
June 8, 2024
Solved

Why cannot properly see opcodes on memory browser ?

I can see the addresses when I hover over them, but I can't see the opcodes. Is there a setting to fix this or is it broken? 

 

Starting server with the following options:

Persistent Mode : Disabled

Logging Level : 1

Listen Port Number : 61234

Status Refresh Delay : 15s

Verbose Mode : Disabled

SWD Debug : Enabled

InitWhile : Enabled

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

-------------------------------------------------------------------

STM32CubeProgrammer v2.16.0

-------------------------------------------------------------------

Log output file: C:\Users\Shichaz\AppData\Local\Temp\STM32CubeProgrammer_a18664.log

ST-LINK SN : 0671FF575377524867053453

ST-LINK FW : V2J45M30

Board : STM32F4DISCOVERY

Voltage : 2.91V

SWD freq : 4000 KHz

Connect mode: Under Reset

Reset mode : Hardware reset

Device ID : 0x413

Revision ID : Rev Y

Device name : STM32F405xx/F407xx/F415xx/F417xx

Flash size : 1 MBytes

Start Address : 8000000

Device type : MCU

Device CPU : Cortex-M4

BL Version : 0x91

Memory Programming ...

Opening and parsing file: ST-LINK_GDB_server_a18664.srec

File : ST-LINK_GDB_server_a18664.srec

Size : 4.93 KB

Address : 0x08000000

Erasing memory corresponding to segment 0:

Erasing internal memory sector 0

Download in Progress:

File download complete

Time elapsed during download operation: 00:00:00.372

Verifying ...

Download verified successfully

Untitled.png

This topic has been closed for replies.
AScha.3
AScha.3Best answer
Super User
June 9, 2024

Just to mention : memory can only be read, when debug stop core, at a breakpoint or click "suspend" .

While running, only last readed values or "????" shown.

If you feel a post has answered your question, please click on " Best Answer ".

6 replies

Tesla DeLorean
Guru
June 8, 2024

Which STM32 ?

Erased FLASH, or content expected?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Associate
June 8, 2024

I am using the STM32F407-DISC and trying to see the content of memory. I am a newbie so sorry for missing info.

Tesla DeLorean
Guru
June 8, 2024

Suggests this is a connectivity issue with the ST-LINK/V2 on the STM32F407-DISCO, make sure it has most current firmware. Check it is readable in STM32 Cube Programmer

The F4 doesn't have ECC (error correction / checking) so reading blank memory shouldn't fault, which could be the case for H7 parts, say. Those devices might reflect unreadable memory with '????' displays.

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