Skip to main content
This topic has been closed for replies.

12 replies

Remi QUINTIN
ST Technical Moderator
Feb 16, 2022 8:00 AM UTC

One last point that may be of interest for you.

Once launched, the wireless stack updates its characteristics: type, size,... in the Digital Information Table located in SRAM.

You can call SHCI_GetWirelessFwInfo function in shci.c to get Device Information

Table data.

Remi QUINTIN
ST Technical Moderator
Feb 21, 2022 9:32 AM UTC

Extract from AN5289 chapter 4.10 Device information table

As soon as the System Ready Event is received from the CPU2, the device information table (DIT) can be read from the SRAM2A.

The DIT has a different mapping when filled by the FUS (see [6]) or by the wireless firmware.

The system command SHCI_GetWirelessFwInfo() can decode the two DIT mappings.

The DIT address can be found at the start of SRAM2 (+ IPCCDBA offset – user option byte). Unless modified by the user, IPCCDBA is always set to 0, hence the DIT address can be found at the first address of SRAM2A.

uint32_t Safe Boot Version Safe boot version

uint32_t FUS Version FUS version

uint32_t FUS MemorySize Memory required by the FUS

uint32_t FusInfo Reserved - Set to 0

uint32_t Wireless Firmware Version Wireless firmware version

uint32_t Wireless Firmware MemorySize Memory required by the wireless firmware

uint32_t InfoStack Wireless firmware information