Skip to main content
bibble235
Associate III
June 17, 2023
Question

Debugging SRAM Memory with vs Code

  • June 17, 2023
  • 1 reply
  • 1436 views

Hi,

I am trying to understand the memory on my STM32F302R8

Looking in the manual I understood the SRAM to be at 0x2000 0000 - 0x2000 3FFF

This is the first time I have used VS Code for Cortex and understood that I would be able to view this using the Memory View pictured below

bibble235_0-1686988037836.png

I might be doing this wrong but I did expect the view to match the watch.

Thanks all.

 

 

 

 

This topic has been closed for replies.

1 reply

KnarfB
Super User
June 17, 2023

The windows do match. 64000000 decimal is 0x03D09000, shown in the memory view but it looks different because the MCU is in little-endian mode. And so on...

hth

KnarB

bibble235
bibble235Author
Associate III
June 17, 2023

I feel as stupid as a photocopier. You don't get much free time to do your own projects. Thanks this is great. Shame you cannot edit with cortex-debug yet but vs-code is so nice to use.