ChipInfo

Overview

Ameba series chips store their key information in eFuse, which is used for persistently storing immutable chip attributes.

This information includes the chip global unique identifier (UUID), and memory configuration.

It provides essential support for system initialization, compatibility judgment, production management, and device tracking.

Function Descriptions

  1. UUID Retrieval:

    Read the globally unique identifier (UUID) programmed during factory production from the eFuse.

    This identifier is non-repeatable and permanent, applicable to device identity authentication, anti-counterfeiting tracking, and cloud device management scenarios.

  2. Memory Configuration Identification:

    Different chip models may have different co-packaged storage resources (such as Flash and PSRAM).

    This identification allows the system to dynamically recognize available resources during the boot phase.

    It achieves automatic adaptation to different hardware configurations. It also enhances hardware and software compatibility and product flexibility.

API Reference

EFUSE_GetUUID

Item

Description

Function

Retrieve chip unique identifier

Parameter

Data: Pointer to a u32 type, needs an 8-byte buffer to store UUID

Return

None

ChipInfo_MCMInfo

Item

Description

Function

Retrieves the type and density of the chip’s built-in memory

Parameters

None

Return Value

Returns an MCM_MemTypeDef structure, including the following fields:

  • mem_type: The type of memory built into the chip

  • flash_density: Flash density

  • dram_info: Detailed information about DRAM type and density