Hard fault: memory access or instruction error on Cytron Maker Nano RP2040 running 10.2.1
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 領域
- 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 の本文から書いたものです。
説明
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
adafruit/circuitpython のほかの issue
-
bug esp32 web workflow
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
adafruit/circuitpython#11616 · コメント 9 件 ·
メンテナーはふだん 1 日以内に返信
-
nordic
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
adafruit/circuitpython#11611 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
adafruit/circuitpython#11606 ·
メンテナーはふだん 1 日以内に返信
-
busio zephyr
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
adafruit/circuitpython#11605 ·
メンテナーはふだん 1 日以内に返信
-
busio zephyr
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
adafruit/circuitpython#11604 ·
メンテナーはふだん 1 日以内に返信
adafruit/circuitpython の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 8 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
native-cpu: -Wreturn-type in skainet_row_threads.c:150 (worker fn has no return)対応中かも @Doomguy-BFG9000 が今日担当しました。 オープンgood first issue size:xs skill:native
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
SKaiNET-developers/SKaiNET#1358 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
I/O internal correctness medium priority rt_lib
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信