22.2. OTP API 示例

22.2.1. 概述

本示例提供了如下功能:

  • 读取OTP中的UID和UUID字段

22.2.2. 硬件设置

无特殊设置要求

22.2.3. 运行工程

  • 当工程正确运行后,串口终端会输出GM API的测试结果:、

--------------------------------------------------------------------------------
This demo prints out the CHIP UID and UUID
For OTP programming, please refer to program_sw_info() function
Please make sure only the right OTP words will be programmed,
or the chip may stop working
---------------------------------------------------------------------------------
UID:  00 00 00 00 dc 53 00 00 04 27 00 00 65 56 00 00
UUID: aa 0d 00 00 1f 42 00 00 ad 3e 00 00 1d 4d 00 00