cs01 / cs01/gdbgui

[gcc-arm-none-eabi] Cannot access memory at address

Open
#422 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10.4k
Forks
521
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
gdb error reading variable: Cannot access memory at address 0xdeadbef.

**To Reproduce**
Steps to reproduce the behavior:
1. debug board: NUCLEO-F412ZG
2. download gdbgui: pip install gdbgui
3. download arm-none-eabi-gcc
4. download pyocd: pip install pyocd
5. compile NUCLEO-F412ZG project and generate .elf file
6. start pyocd: pyocd gdbserver --board NUCLEO-F412ZG
7. start gdbgui: gdbgui -g /home/tools/gcc-arm-none-eabi-10.3-2021.07/bin/arm-none-eabi-gdb
8. load Binary
9. Connect to gdbserver

**Screenshots**
![image](https://user-images.githubusercontent.com/44889940/157569732-e2101a86-fc1f-44f5-97cd-bec36b12bc5c.png)

![image](https://user-images.githubusercontent.com/44889940/157569799-1848db99-f6c0-4434-b6c7-6538ae10f031.png)

**Please complete the following information:**
* OS: ubuntu 20.04
* gdbgui version (`gdbgui -v`): 0.15.0.1
* gdb version (`gdb -v`):GNU gdb (GNU Arm Embedded Toolchain 10.3-2021.07) 10.2.90.20210621-git
* browser [e.g. chrome, safari]:edge
* python packages (`pip freeze`):

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.