pyocd / pyocd/pyOCD

bug: PyOCD does not support flashing of LPCXpressp55S36 RevD1 (public release)

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

PyOCD does not support flashing of the LPCXpressp55S36 RevD (public release), that contains the latest LPC55S36 v1 chip.
During flashing it print error message:
0006181 C target was not halted as expected after calling flash algorithm routine (IPSR=3) [__main__] FATAL ERROR: command exited with status 1: pyocd flash -e sector -t lpc55s36 'C:\_ddm\ZEPHYR\zephyr_vs\zephyr\build\mcuboot\zephyr\zephyr.bin'

NOTE:
The PyOCD supports the old LPCXpressp55S36 RevA board with an old LPC55S36 v0 chip (not public).
Most probably the issue is caused by incompatible changes in new chip ROM.

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 reproducing the reported pyocd flash -e sector -t lpc55s36 command with the LPCXpresso55S36 RevD1 board and compare it with the supported RevA board. Trace the lpc55s36 target and flash algorithm support in PyOCD, using the reported halt error as the failure point. Done means the RevD1 board flashes successfully without the target-halted error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.