Skip to content

NMIoT v0.3.2: Boot loop when TF card is inserted — unable to back up config to TF #126

Description

@pdvigil64

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

Description

On NMIoT firmware v0.3.2 (flashed via https://flash.nmiot.net/), inserting a TF/microSD card causes the device to enter a boot loop. Without the TF card, the device boots and operates normally. This also prevents backing up configuration settings to the TF card, which is a critical workflow. This issue has been present across previous firmware versions as well — it is not a new regression in v0.3.2.

Hardware

  • Board: NM-CYD-C5 (ESP32-C5)
  • Firmware: NMIoT v0.3.2 (ESP-Claw based, flashed from flash.nmiot.net)
  • TF card: Samsung 4GB, FAT32

Steps to Reproduce

  1. Flash NMIoT v0.3.2 via https://flash.nmiot.net/
  2. Boot the device without TF card — works normally
  3. Power off, insert Samsung 4GB FAT32 TF card
  4. Power on — device enters boot loop, never reaches operational state
  5. Remove TF card — device boots normally again

Expected Behavior

  • Device should boot normally with TF card inserted
  • Should be able to back up / write configuration settings to TF card
  • FATFS should mount and operate without filling up or crashing

Suspected Cause

This may be related to the upstream ESP-Claw FATFS issue where the filesystem fills to 100% and causes app_claw_start to fail with "Failed to init event router" / "Failed to configure session manager", triggering a reboot loop.

Upstream reference: #84

Additional Context

  • Not a regression — this has never worked across previous firmware versions either
  • Prevents the TF config backup feature from being usable entirely
  • NMMiner skills are affected since they may rely on TF storage

Actual behavior (suspected bug)

Suspected Cause

This may be related to the upstream ESP-Claw FATFS issue where the filesystem fills to 100% and causes app_claw_start to fail with "Failed to init event router" / "Failed to configure session manager", triggering a reboot loop.

Error logs or terminal output

Steps to reproduce the behavior

Steps to Reproduce

  1. Flash NMIoT v0.3.2 via https://flash.nmiot.net/
  2. Boot the device without TF card — works normally
  3. Power off, insert Samsung 4GB FAT32 TF card
  4. Power on — device enters boot loop, never reaches operational state
  5. Remove TF card — device boots normally again

Project release version

v0.3.2

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

windows 11

Shell

other (details in Additional context)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions