pyocd / pyocd/pyOCD

Timeout reading from probe attempting to program LPC54628

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

I have been attempting to program a custom board I made without using the linkserver and NXP software to ensure that I have a stack to support this board long into the future. I first attempted OpenOCD however it didn't seem to support programming flash and then I saw that PyOCD did support the LPC54608.

Flashing a blank LPC54628 worked without issue however the device instantly went into hardfault. Attempting to debug the next morning I was unable reprogram the device. I can run through the code, restart, pause, and breakpoint however attempting to program I get
E Unhandled exception in handle_message (b'v'): Timeout reading from probe

Anyway to further debug this.

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

No source file, test, or entry point is identified in the report. Start by reproducing the programming attempt on the custom LPC54628 board and capturing the probe and debug configuration around the v message; done means isolating a reproducible cause for the timeout and documenting or fixing it.

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.