cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging SRAM Memory with vs Code

bibble235
Associate III

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.

 

 

 

 

2 REPLIES 2
KnarfB
Principal III

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

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.