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.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
arduino, raspberry-pi, vscode

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.

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.

Dominant language
Python
Stars
96
Forks
142
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from platformio/platform-raspberrypi

All issues in platformio/platform-raspberrypi

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.