Cricket ESP32-P4 Firmware
Private build drop for M5Tab5 / ESP32-P4 devices.
How to use
First flash the base image (bootloader + partition table + firmware) once. After that, you normally only update the firmware image for newer builds. Download the files you need, then use one of the macOS flash helpers below.
| Build | Date / Time (UTC) | Files | Notes |
|---|---|---|---|
| R010 | 2026-04-03 · 00:21 | new Temporal Split model 104KB, 377msec ; Not drip trained yet. pthres: 92 for reliability and less fp, 70 is good setting, 30 for more sensitivity. | |
| R009 | 2026-03-22 · 22:25 | HD PCEN/AL/synthetic/PTQ candidate sweep/.. model. Leave CLIP OFF (in model now). Auto threshold in model (pthresh=56). | |
| R008 | 2026-02-14 · 07:35 | AI model w dribbles (alpha) + pthresh is proper prob setting (38(-42)) | |
| R007 | 2026-02-14 · 07:35 | new continuous recording auto-download script (grabs from record button) set clip OFF for TRAIN ; ehanced status report from script ; minor bugs/stability/.. | |
| R006 · Base | 2025-12-09 · 17:13 | + comprehensive crash log with core dump retrieval of pc/task even for watchdog >> requires new partition so full flash ; +mDNS fix ; +HTTP fix | |
| R005 | 2025-12-08 · 04:12 | + infinite time 🔁 ; + backup wifi eg cell hotspot ; + enhanced crash log ; audioMatrix_model_np_val_F1_251205_2132_i8 | |
| R004 | 2025-12-02 · 18:06 | + more stable version of R003, sniffer time up to 90m and save off | |
| R003 | 2025-12-01 · 07:02 | + support USB hub to USB micriphone (beta code) | |
| R002 | 2025-11-29 · 17:30 | + retrieve last recording to mac | |
| R001 | 2025-11-28 · 04:44 | Supports any rate of USB mic & Wifi network provisioning via USB-C. | |
| R000 · Base | 2025-11-23 · 00:18 | Base - one-time full flash (bootloader + partitions + firmware) ; audioMatrix_model_np_val_F1 250407_i8 |
macOS Tools
Download scripts to your Mac. Make executable with chmod +x *.sh then run.
| Script | Download | Description |
|---|---|---|
| flash_cricket.sh | ⬇️ Download | Flash app FW only (normal update) |
| monitor_cricket.sh | ⬇️ Download | Serial monitor (run anytime) |
| auto_grab_cricket_ab.sh | ⬇️ Download | Auto-download A/B buffer recordings (continuous mode) |
| cricket_status.sh | ⬇️ Download | Query Cricket device status over WiFi |
| flash_cricket_full.sh | ⬇️ Download | Erase + flash bootloader + partitions + app (fresh device) |
| flash_wifi_config_merge.sh | ⬇️ Download | Flash WiFi credentials (preserves recordings) (after full flash) |
| wifi_config_template.txt | ⬇️ Download | WiFi config template file |
| get_crash_log.sh | ⬇️ Download | Retrieve crash diagnostics (use --clear to reset) |
| install_esp_idf.sh | ⬇️ Download | Install ESP-IDF 5.4 (one-time setup) |
| build_cricket.sh | ⬇️ Download | Build firmware (requires source code) |
Directory Structure
Place downloaded files in this structure:
/Users/ming/Development/esp32/cricket/
Then run:
├── wifi_config.txt
├── flash_cricket.sh
├── flash_cricket_full.sh
├── monitor_cricket.sh
├── flash_wifi_config_merge.sh
├── grab_last_audio_recording.sh
└── build/
├── cricket.bin
├── bootloader/
│ └── bootloader.bin
└── partition_table/
└── partition-table.binchmod +x *.sh to make scripts executable.
WiFi Configuration Required
SECURITY NOTE: Default hardcoded WiFi has been removed from firmware.
You must provision WiFi via USB-C before first boot or device will show error.
📝 wifi_config.txt setup:
📥 Download wifi_config_template.txt from the Tools & Scripts section above, edit it with your WiFi credentials, rename it to wifi_config.txt, then place it in one of the locations below.
Backup SSID2/PASSWORD2 fields are optional — on connection failure, Cricket flip-flops between networks until one connects.
📍 Config file location: Place wifi_config.txt in one of these locations:
• /Users/uhuman/PycharmProjects/wifi_config.txt
• /Users/ming/Development/esp32/cricket/wifi_config.txt
• Current directory where you run the script
🔧 One-time setup: Install mklittlefs tool:
brew install mklittlefs
Flash WiFi config: Use flash_wifi_config_merge.sh (preserves recordings & files)
See README_WIFI_CONFIG.md for complete instructions.