platformio / platformio/platform-raspberrypi

Internal error: Failed to update peripheral <PERIPHERAL> after memory reads

Open
#59 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
94
Forks
141
PR merge metrics
No merged PRs in 30d

Description

I am trying to read the contents of the peripheral registers using VS Code.

Unfortunately when I click on a peripheral on XPERIPHERAL section of the debug column I got the following error:

Internal error: Failed to update peripheral BUSCTRL after memory reads
Internal error: Failed to update peripheral PADS_BANK0 after memory reads
Internal error: Failed to update peripheral IO_BANK0 after memory reads
Internal error: Failed to update peripheral BUSCTRL after memory reads
Internal error: Failed to update peripheral DMA after memory reads
Internal error: Failed to update peripheral I2C0 after memory reads

The step-by-step debug works fine instead.

My platformio.ini file is the simplest one:

[env:pico]
platform = raspberrypi
board = pico
framework = arduino

Thanks in advance to everyone.

Contributor guide

No contributing guide indexed for this repository

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 error in VS Code with the supplied platformio.ini configuration and the Raspberry Pi Pico peripheral view. Compare peripheral-register reads with step-by-step debugging, and consider the issue resolved when the listed peripherals update without internal errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, raspberry-pi, vscode
Domain
embedded-iot, tooling
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.