Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Hard fault: memory access or instruction error on Cytron Maker Nano RP2040 running 10.2.1

オープン
#11,197 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
c, python
領域
embedded-iot

調査の方向性

Start with the reported Cytron Maker Nano RP2040 setup, CircuitPython 10.2.1, and the Safe Mode overview linked in the issue. The report does not include the program or a reproducible test, so first narrow down whether the hard fault depends on the 200 MHz clock setting or the described workload; done means identifying a reproducible cause or a specific next diagnostic step.

索引モデルが issue の本文から書いたものです。

説明

bug crash rp2
CircuitPython version and board name
Adafruit CircuitPython 10.2.1 on 2026-05-13; Cytron Maker Nano RP2040 with rp2040
Code/REPL
Code is large!
Behavior
Auto-reload is off.
Running in safe mode! Not running saved code.

You are in safe mode because:
CircuitPython core code crashed hard. Crikey!
Hard fault: memory access or instruction error.
Please file an issue with your program at github.com/adafruit/circuitpython/issues.
Press reset to exit safe mode.

Press any key to enter the REPL. Use CTRL-D to reload.
Description

I've got some large code which is doing lots of i2c comms, some UART, low frequency PWM to make LEDs flash on GPIO, very occasional neopixel use and using a fair bit of memory including some use of large array.array.

I have the RP2040 running at 200Mhz rather than 125MHz. I looked at https://learn.adafruit.com/circuitpython-safe-mode/overview and it doesn't include over-clocking as a potential cause. About a minute after that hard crash the microcontroller.cpu.temperature was 37 degrees celsius FWIW. The temperature is now printed from the program and it's peaking at 43 (ambient is 30, it's hot over here). Can over-clocking cause that type of hard fault?

I'd had the program running okay for 2 hours yesterday and today it died after about 10 minutes of use today.

Additional information

No response

主要言語
C
スター
4.6k
フォーク
1.4k
平均マージ
1日 1時間
マージ済み PR(30日)
161

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

adafruit/circuitpython のほかの issue

adafruit/circuitpython の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。