Update and test

Console factory CLI

The factory test port. Do not leave debug commands open for end users.

Update and test Factory CLI ESP32 family

Official path: examples/system/console

01 Overview

UART CLI for test commands.

  • Use when: fixtures and lab debug.
  • Skip when: consumer UI.

02 Hardware

  • Test UART may share the log port or not.
  • Decide test pads on the first PCB.

03 Software flow

1. Start console, register commands.

2. Fixture commands: lamp, radio, MAC, serial write.

3. Disable or lock dangerous commands in release.

04 Core points

  • The CLI is a factory asset, not a user feature.
  • Custom work: fixture protocol, serialisation, release switch.

中文

升级与产测

Console 产测指令

工厂测试口。不要把调试命令留给最终用户乱开。

升级与产测 产线命令 ESP32 family

官方路径: examples/system/console

01 项目概述

UART 命令行,可跑测试命令。

  • 适用: 产线治具、研发调试。
  • 不适用: 面向消费者的界面。

02 项目硬件描述

  • 产测 UART 可与日志口共用或分开。
  • 出货是否引出测试垫,要在 PCB 上提前留。

03 项目软件流程描述

1. 启动 console,注册命令。

2. 产测命令:测灯、测网、读 MAC、写序列号。

3. 发行固件关闭或密码保护危险命令。

04 项目核心点

  • 产测口是工厂资产,不是用户功能。
  • 可定制: 治具协议、序列号写入、发行开关。