Plugging this ZECTRIX e-paper terminal into a Mac exposed an Espressif serial interface. There was no second display, USB drive, or microphone. I could read its logs and back up the firmware, but I couldn't find a command that would put my own text on the screen.
These are my notes from working through it on 21 October 2026: identifying the USB device, finding out what was running, and checking how much work a custom application would need.
Finding the serial port
system_profiler SPUSBDataType returned no device information on this Mac. ioreg was more useful:
ioreg -p IOUSB -w 0
ioreg -r -c IOSerialBSDClient -l -w 0The terminal was connected through a USB hub, so I compared the device tree with it plugged in and unplugged. The node that disappeared was an Espressif USB JTAG/serial debug unit, VID:PID 303A:1001. Its serial port was /dev/cu.usbmodem1301 on this setup.
At 115200 baud, the port produced ordinary application logs. One line gave an early clue:
I (751713) SystemInfo: free sram: 112179 minimal sram: 108103That format matched the xiaozhi system information code. After a reset, the boot log identified the application directly: xiaozhi 3.6.1, board SKU zectrix-s3-epaper-4.2, built with ESP-IDF v5.5.2-dirty. It runs FreeRTOS and uses LVGL for the UI. This is an ESP32 application, not a Linux system with a shell waiting behind the serial port.
I tried help and ?. Some early probes overlapped startup, so I repeated them after the application had settled. Neither produced command help or a prompt; the normal logs continued. There may be an undocumented protocol, but I didn't find one.
The port also has a side effect worth knowing about: opening it or changing DTR/RTS can reset the chip. A serial monitor and a second tool trying to use the same port can interfere with each other.
What the boot log tells us
The chip query and startup output established the main hardware details:
Item | What the device reported |
|---|---|
MCU | ESP32-S3, revision 0.2; dual-core Xtensa LX7 at 240 MHz |
Crystal | 40 MHz |
Flash | 16 MiB |
PSRAM | 8 MiB, initialized at 80 MHz |
Audio | ES8311 codec; I²S input and output at 16 kHz mono |
NFC | Initialization succeeded; reported capacity 880 bytes |
RTC | A device responded at I²C address |
Filesystem | LittleFS mounted at |
The corresponding NOTE4 development hardware is documented with a 4.2-inch, 400 × 300 monochrome panel and an SSD2683 controller. Its reference driver supports full and partial 1bpp refresh, plus full-screen 16-level grayscale. I haven't opened this unit to check the PCB revision or the panel marking, so those are reference specifications rather than a confirmed parts list for this particular device.
The audio initialization is encouraging for a push-to-talk project: the codec and both I²S directions come up, then the firmware disables the idle audio paths. I haven't recorded or played back sound, though. The logs don't tell me whether the microphone signal is usable, what the sample bit depth is, or whether the stock application has a recording feature.
The firmware also registers MCP tools, including self.memo.search, self.timer.pomodoro, and self.upgrade_firmware. Seeing those names in a boot log doesn't give the Mac a way to call them. I found no USB-accessible MCP endpoint.
Network testing stopped earlier than that. The application kept looking for a saved Wi-Fi access point and couldn't find it. I left it offline, so the cloud features below come from the documentation, not from successful requests to this unit.
Backing up before changing anything
Before considering replacement firmware, I read the flash with esptool 5.6.0. The security query reported Secure Boot and flash encryption disabled, with security flags 0x00000000. The flash-size query returned 16 MiB.
The relevant commands are below. I've shortened the executable and backup paths; esptool was installed in an isolated temporary environment. The serial port is the one used during this session, and the output filename should be changed for any later backup.
esptool --port /dev/cu.usbmodem1301 \
--baud 460800 --after hard-reset get-security-info
esptool --port /dev/cu.usbmodem1301 \
--baud 921600 flash-id
esptool --port /dev/cu.usbmodem1301 \
--baud 921600 read-flash 0 0x1000000 \
./factory-20261021.bin
shasum -a 256 ./factory-20261021.binThe read used a temporary RAM-resident stub and produced a 16,777,216-byte image. Its SHA-256 was:
f9a7c15b0e1ffec676f031bde34dc4d1c22e33c53dc746dd7d8ed9fb911777c7I parsed the partition table and application descriptor from that file. The populated application image passed its embedded SHA-256 check. That's a useful consistency check on the application, but I haven't restored the backup, so recovery is still untested.
The image stays outside the repository, with directory permissions 700 and file permissions 600. A full flash dump can include Wi-Fi credentials, device keys, and user data. The firmware also logs identifying and credential-like fields, so raw serial captures need checking before sharing.
No erase, flash-write, or eFuse-write command was run. The original application booted normally afterwards. The device was reset during the work, and normal startup may write persistent state; this wasn't a byte-for-byte preservation exercise.
Where the 16 MiB goes
Most of the flash is reserved for two application slots:
Partition | Offset | Size | Use |
|---|---|---|---|
|
| 16 KiB | Persistent configuration |
|
| 8 KiB | OTA selection and state |
|
| 4 KiB | PHY initialization data |
|
| 5.9375 MiB | Populated application image |
|
| 5.9375 MiB | Alternate OTA slot |
|
| 4 MiB | LittleFS files |
The bootloader, partition table, and gaps occupy the remaining space. At startup, the application reported a 4096 KB filesystem with about 24 KB used. The 8 MiB of PSRAM is separate working memory; it doesn't add persistent file storage.
For a 400 × 300 display, a raw monochrome frame is only 15,000 bytes. A 4bpp grayscale frame takes 60,000 bytes. Audio would use the file partition much faster: assuming 16-bit samples, 16 kHz mono PCM is 32,000 bytes per second. Even a completely available 4 MiB partition would hold only about 131 seconds before filesystem or container overhead. For longer recordings, I'd stream to the Mac rather than keep writing to flash.
A custom partition layout could trade away some OTA space for files. I'd leave that alone until the first firmware and recovery tests work; changing the layout also changes where existing images belong.
Getting something onto the screen
Keeping the stock firmware would mean starting with the cloud API. The API documentation gives the base URL as https://cloud.zectrix.com/open/v1/, authenticated with an X-API-Key header. The relevant routes are:
GET /devices
POST /todos
POST /devices/{deviceId}/display/image
POST /devices/{deviceId}/display/text
POST /devices/{deviceId}/display/structured-textThe device ID is its MAC address. The image route accepts multipart uploads of up to five images, at most 2 MB each. Text pushes allow up to 5,000 characters and font sizes from 12 to 48; optional page IDs provide persistent page storage according to the docs. Trying this route would first require working Wi-Fi, an associated account, and an API key.
There are other leads in the firmware: MQTT handlers, HTTP synchronization, a provisioning portal at http://192.168.4.1, BLUFI, and NFC command handling. The feature guide describes NFC text records such as {"cmd":"sync"} and a custom OTA URL command. I haven't followed those paths far enough to know what this unit will accept.
For a local USB-controlled screen, I'd expect to replace the application. The MIT-licensed reference project includes the display driver, board mappings, and peripheral demos. It isn't the source of the complete installed firmware or its cloud service.
My starting design would be small: render text or a bitmap on the Mac, send it over USB, refresh the panel, and return button events. There is no need to bring Wi-Fi or audio into the first display test.
The hardware match comes first. NOTE4, NOTE4 DevKit, and NOTE4C firmware images aren't interchangeable. I'd check the actual board and panel before choosing a driver, then take the pinout and refresh sequence from the matching reference. The published NOTE4 DevKit V1.0 mapping is in the development guide; it shouldn't be treated as a teardown of this unit. GPIO is 3.3 V, not 5 V.
The Zig complication is Xtensa
The ESP32-S3 uses Xtensa LX7. Zig examples for the RISC-V ESP32-C3 or C6 don't solve the toolchain problem for this board.
The community zig-esp-idf-sample lists ESP32-S3 support, but labels the project experimental and points to an Xtensa-enabled toolchain from zig-espressif-bootstrap. Its documentation says upstream Zig's LLVM backend doesn't support Xtensa. I'd need that customized toolchain rather than assuming the Zig installation already on the Mac could build for the S3.
I'd keep ESP-IDF and the existing C/C++ drivers, compile the Zig application code into a static library, and link it through the ESP-IDF build. Zig could own the USB protocol and application state. The display refresh and power sequencing could stay in the reference driver, with a thin extern "C" wrapper wherever the interface is C++-only.
That still means building and flashing a complete firmware image. It isn't a matter of copying a Zig executable onto the current system. The Zig fork, ESP-IDF version, ABI, and build options would need to be pinned together. I haven't compiled or run that combination yet.
The first thing I'd build
A developer status panel is a better first target than a general-purpose dashboard: show the current task, indicate when it needs attention, and use a button to acknowledge it. That fits an e-paper screen without asking it to scroll logs or refresh continuously.
I'd start with one Zig startup message, one command received over USB, and one visible screen update. After that, a push-to-talk button could stream audio to the Mac for transcription and return the result to the display. The microphone would need a real recording test before building around it.
For now, I have a flash backup, a readable boot log, and a reference driver to compare against the hardware. The stock firmware is still installed. The next step is to check the panel and make that first screen update work.





No comments yet