pyocd / pyocd/pyOCD

Change which RAM area used by pyocd on RT1060

Open
#1,508 0 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

Hi,
I have an RT1060 board that had the eFuse setting modified, so I cannot really use the DTCM/ITCM area. When I tried to use pyocd it crashes with the message "pyocd.core.exceptions.TransferFaultError: Memory transfer fault @ 0x20000000-0x200003ff"

The failure itself is expected. My question is, is there a way I can make pyocd use other area of the SRAM?

say I would not have any trouble using the area 0x20220000
Thanks!

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

Start by tracing how pyOCD selects the RT1060 transfer area after the reported fault at 0x20000000-0x200003ff. Determine whether the target memory configuration can use 0x20220000 instead, and consider the work complete when pyOCD can program and debug this board without accessing the unavailable DTCM/ITCM area.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools, embedded-iot
Issue type
Feature
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.