Skip to content

1. Chip Identification Example Tutorial

This example demonstrates how to read and display the chip’s unique ID and firmware version information (bootloader, application and SPECT firmware versions). You will learn about the following functions:

  • lt_reboot(): L2 request to reboot to either Application or Maintenance Mode,
  • lt_get_info_riscv_fw_ver(), lt_get_info_spect_fw_ver(): L2 requests to read RISC-V CPU and SPECT firmware versions,
  • lt_get_info_chip_id(): L2 request to read chip identification (e.g., serial number).

Build and Run

Building and running the example

Go to the example's project directory:

cd examples/esp32/<your_board>/identify_chip/

Build, flash and run the serial monitor using this command:

idf.py build flash monitor
After this, you should see a colored output in your terminal.

Closing the ESP-IDF serial monitor

To close the ESP-IDF serial monitor, press Ctrl + ]. Refer to the ESP-IDF monitor documentation for a full list of available keyboard shortcuts.

TBA

TBA

Next example