pyocd / pyocd/pyOCD

Unable to set breakpoint on Realtek RTL8195AM

Open
#317 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.5k
Forks
560
Avg merge
1h 41m
Merged PRs (30d)
3

Description

When I try to set a breakpoint, for example on mbedtls_ssl_handshake in the test example below:

https://github.com/marcuschangarm/mbed-os-example-tls/tree/master/tls-client

I get this error:

(gdb) break mbedtls_ssl_handshake
Cannot access memory at address 0x3001c660

pyocd-gdbserver: 0.8.1a1 and 0.8.1a2.dev38
DAPLINK: 0241
GCC: 5.4.1 20160609
GDB: 7.10.1.20160616-cvs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the linked mbed-os-example-tls/tls-client example and the mbedtls_ssl_handshake breakpoint on the Realtek RTL8195AM. Start at the pyocd-gdbserver breakpoint handling entry point and compare the reported versions and DAPLINK details. Done means identifying and fixing the cause, with the breakpoint setting successfully on this target.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.