What problem does it solve?
Troubleshooting embedded systems can be time-consuming and frustrating without proper diagnostic tools. This skill provides a comprehensive suite of checks and recovery procedures to quickly identify and resolve common issues with the Badger 2350, from firmware problems to hardware malfunctions.
Core Features & Use Cases
- System Health Checks: Verify MicroPython version, memory usage, filesystem space, and core module availability with quick commands.
- Hardware & Network Diagnostics: Test display, buttons, GPIO, I2C bus, and WiFi connectivity with dedicated functions.
- Error Diagnosis & Recovery: Provides insights into common MicroPython errors and guides for safe mode boot, factory reset, and firmware reflash.
- Use Case: When an app crashes with a
MemoryError, use this skill to run a memory analysis, identify the problematic module, and then follow the recovery steps if a reflash is needed.
Quick Start
To perform a full system verification, run mpremote exec "import sys, gc; from badgeware import screen; print('=== VERIFICATION ==='); print('✓ MicroPython:', sys.version[:30]); print('✓ Memory:', gc.mem_free(), 'bytes'); print('✓ badgeware: loaded'); print('=== ALL OK ===')".