Production Line Tool v5.0
The DA1470x Production Line Tool Software Package
Loading...
Searching...
No Matches
Macros
U_DLL API macros.

The u_dll API macro definitions. More...

Macros

#define __bool_true_false_are_defined   1
 
#define bool   char
 
#define true   1
 
#define false   0
 
#define U_DLL_EXPORTS
 
#define U_DLL_API   __declspec(dllexport)
 
#define MAX_UDLL_DEVICES   16
 
#define BD_ADDR_SIZE   6
 
#define LOG_PARAM_STR_SIZE   32
 
#define FILE_PATH_SIZE   256
 
#define TEST_NAME_STR_SIZE   13
 
#define UDLL_CLBK_DATA_SIZE   256
 
#define UDLL_MEM_RD_FILE_SIZE   0x4000000
 
#define UDLL_MEM_RD_FILE_NAME   "MEM_READ"
 
#define UDLL_MEM_RD_FOLDER_NAME   "mem_read_test"
 
#define CSV_LINE_LEN   32768
 
#define MAX_CSV_MEM_DATA   20
 
#define MAX_MEM_DATA_SIZE   512
 
#define MAX_FLASH_CHUNK_SIZE   0x1000
 
#define FLASH_JEDEC_ID_SIZE   3
 
#define MAX_LEGACY_BOOTER_FW_SIZE   0xFFFF
 
#define MAX_EXTENDED_BOOTER_FW_SIZE   0x1FFFF
 
#define MAX_RAM_DOWNLOAD_FW_SIZE   0x180000
 
#define MAX_RAM_CHUNK_SIZE   0x4000
 
#define OTP_TOTAL_SIZE   4096
 
#define OTP_MAX_ADDR   4092
 
#define OTP_WORD_SIZE   4
 
#define OTP_MAX_APP_BIN_SIZE   3072
 
#define OTP_MAX_APP_BIN_MAX_ADDR   3068
 
#define OTP_MAX_CUST_APP_SIZE   2208
 
#define OTP_MAX_CUST_APP_MAX_ADDR   2204
 
#define OTP_CS_BASE_ADDR   0x0C00
 
#define CS_WORD_SIZE   OTP_WORD_SIZE
 
#define MAX_CS_WORDS   256
 
#define MAX_CS_SIZE_BYTES   MAX_CS_WORDS * CS_WORD_SIZE
 
#define MAX_CS_SDK_ENTRIES   20
 
#define MAX_CS_WORDS_PER_SDK_GROUP   20
 
#define MAX_CS_REG_ENTRIES   20
 
#define MAX_CS_STRING_SIZE   (9+(9*MAX_CS_WORDS)-1)+1
 

Detailed Description

The u_dll API macro definitions.

Macro Definition Documentation

◆ __bool_true_false_are_defined

#define __bool_true_false_are_defined   1

Definition at line 46 of file u_dll.h.

◆ BD_ADDR_SIZE

#define BD_ADDR_SIZE   6

Device BD address array size used at __udll_dev_params::bd_addr.

Definition at line 68 of file u_dll.h.

◆ bool

#define bool   char

Definition at line 48 of file u_dll.h.

◆ CS_WORD_SIZE

#define CS_WORD_SIZE   OTP_WORD_SIZE

Definition at line 105 of file u_dll.h.

◆ CSV_LINE_LEN

#define CSV_LINE_LEN   32768

The maximum size of line in the CSV memory data file.

Definition at line 78 of file u_dll.h.

◆ false

#define false   0

Definition at line 50 of file u_dll.h.

◆ FILE_PATH_SIZE

#define FILE_PATH_SIZE   256

Image and firmware path string size used at __udll_params.

Definition at line 70 of file u_dll.h.

◆ FLASH_JEDEC_ID_SIZE

#define FLASH_JEDEC_ID_SIZE   3

The number of bytes read from the flash memory JEDEC ID.

Definition at line 86 of file u_dll.h.

◆ LOG_PARAM_STR_SIZE

#define LOG_PARAM_STR_SIZE   32

Version string size used at __udll_fw_versions.

Definition at line 69 of file u_dll.h.

◆ MAX_CS_REG_ENTRIES

#define MAX_CS_REG_ENTRIES   20

The maximum supported CS register entries supported by UDLL.

Definition at line 110 of file u_dll.h.

◆ MAX_CS_SDK_ENTRIES

#define MAX_CS_SDK_ENTRIES   20

The maximum supported CS SDK group entries supported by UDLL.

Definition at line 108 of file u_dll.h.

◆ MAX_CS_SIZE_BYTES

#define MAX_CS_SIZE_BYTES   MAX_CS_WORDS * CS_WORD_SIZE

The CS size in bytes.

Definition at line 107 of file u_dll.h.

◆ MAX_CS_STRING_SIZE

#define MAX_CS_STRING_SIZE   (9+(9*MAX_CS_WORDS)-1)+1

The maximum number of CS string.

Definition at line 111 of file u_dll.h.

◆ MAX_CS_WORDS

#define MAX_CS_WORDS   256

The maximum number of CS entries.

Definition at line 106 of file u_dll.h.

◆ MAX_CS_WORDS_PER_SDK_GROUP

#define MAX_CS_WORDS_PER_SDK_GROUP   20

The maximum supported CS words per SDK group entry supported by UDLL.

Definition at line 109 of file u_dll.h.

◆ MAX_CSV_MEM_DATA

#define MAX_CSV_MEM_DATA   20

The maximum number of CSV memory data entries. See /ref __csv_mem_data.

Definition at line 79 of file u_dll.h.

◆ MAX_EXTENDED_BOOTER_FW_SIZE

#define MAX_EXTENDED_BOOTER_FW_SIZE   0x1FFFF

128KB is the maximum allowable firmware size to be downloaded in RAM with legacy booter.

Definition at line 90 of file u_dll.h.

◆ MAX_FLASH_CHUNK_SIZE

#define MAX_FLASH_CHUNK_SIZE   0x1000

Flash memory chuck size for read and write operations.

Definition at line 85 of file u_dll.h.

◆ MAX_LEGACY_BOOTER_FW_SIZE

#define MAX_LEGACY_BOOTER_FW_SIZE   0xFFFF

64KB is the maximum allowable firmware size to be downloaded in RAM with legacy booter.

Definition at line 89 of file u_dll.h.

◆ MAX_MEM_DATA_SIZE

#define MAX_MEM_DATA_SIZE   512

The maximum size of data for the generic/custom memory data burn action.

Definition at line 82 of file u_dll.h.

◆ MAX_RAM_CHUNK_SIZE

#define MAX_RAM_CHUNK_SIZE   0x4000

Max chunk size to download and read data thourgh UART protocol into system RAM.

Definition at line 92 of file u_dll.h.

◆ MAX_RAM_DOWNLOAD_FW_SIZE

#define MAX_RAM_DOWNLOAD_FW_SIZE   0x180000

1.5MB. The maximum allowable firmware size to be downloaded to system RAM.

Definition at line 91 of file u_dll.h.

◆ MAX_UDLL_DEVICES

#define MAX_UDLL_DEVICES   16

The maximum number of devices supported by the u_dll library.

Definition at line 67 of file u_dll.h.

◆ OTP_CS_BASE_ADDR

#define OTP_CS_BASE_ADDR   0x0C00

The OTP configuration script base address.

Definition at line 104 of file u_dll.h.

◆ OTP_MAX_ADDR

#define OTP_MAX_ADDR   4092

The last accessible OTP address.

Definition at line 96 of file u_dll.h.

◆ OTP_MAX_APP_BIN_MAX_ADDR

#define OTP_MAX_APP_BIN_MAX_ADDR   3068

The OTP maximum allowable image address that can be written by customer application code. It contains the application area plus the security keys and indexing area.

Definition at line 99 of file u_dll.h.

◆ OTP_MAX_APP_BIN_SIZE

#define OTP_MAX_APP_BIN_SIZE   3072

The OTP maximum allowable image size in bytes that can be added in OTP customer application area plus the security keys and indexing area.

Definition at line 98 of file u_dll.h.

◆ OTP_MAX_CUST_APP_MAX_ADDR

#define OTP_MAX_CUST_APP_MAX_ADDR   2204

The OTP maximum allowable address for OTP customer application, without security keys.

Definition at line 101 of file u_dll.h.

◆ OTP_MAX_CUST_APP_SIZE

#define OTP_MAX_CUST_APP_SIZE   2208

The OTP maximum allowable image size in bytes that can be added in OTP customer application area.

Definition at line 100 of file u_dll.h.

◆ OTP_TOTAL_SIZE

#define OTP_TOTAL_SIZE   4096

The size in bytes of entire OTP area including CS and application.

Definition at line 95 of file u_dll.h.

◆ OTP_WORD_SIZE

#define OTP_WORD_SIZE   4

The OTP word size in bytes. The organization of each OTP cell is 32 bits data + 6 bits ECC. ECC is automatically added by the OTP controller.

Definition at line 97 of file u_dll.h.

◆ TEST_NAME_STR_SIZE

#define TEST_NAME_STR_SIZE   13

String size for each of the multiple test names.

Definition at line 71 of file u_dll.h.

◆ true

#define true   1

Definition at line 49 of file u_dll.h.

◆ U_DLL_API

#define U_DLL_API   __declspec(dllexport)

Definition at line 62 of file u_dll.h.

◆ U_DLL_EXPORTS

#define U_DLL_EXPORTS

Definition at line 60 of file u_dll.h.

◆ UDLL_CLBK_DATA_SIZE

#define UDLL_CLBK_DATA_SIZE   256

PLTD to UI callback data size.

Definition at line 72 of file u_dll.h.

◆ UDLL_MEM_RD_FILE_NAME

#define UDLL_MEM_RD_FILE_NAME   "MEM_READ"

Default MEM READ file name.

Definition at line 74 of file u_dll.h.

◆ UDLL_MEM_RD_FILE_SIZE

#define UDLL_MEM_RD_FILE_SIZE   0x4000000

MEM READ maximum file size. Supports up to 64MB.

Definition at line 73 of file u_dll.h.

◆ UDLL_MEM_RD_FOLDER_NAME

#define UDLL_MEM_RD_FOLDER_NAME   "mem_read_test"

MEM READ folder name to store the read back data.

Definition at line 75 of file u_dll.h.