Dialog DA1458 Series User Manual - Page 15

Browse online or download pdf User Manual for Microcontrollers Dialog DA1458 Series. Dialog DA1458 Series 19 pages.

UM-B-008
DA1458x Production Line Tool reference CLI
Word #i is the word value to be written in address: <otp address> + 4 * i. It must be formatted as
a 32 bit hexadecimal number. The number of word value arguments must be at most 60 and
must satisfy the formula: <otp address> + 4 * n <= 0x8000.
Example:
prodtest -p 16 otp_write 7FDC 1234A5A5 A5A51234
Output example:
status = 0

7.29 read_reg16

Description: reads the value of a 16-bit register. The output value is printed in hex.
Syntax: prodtest -p <COM port number> read_reg16 <register address>
Parameters:
register address is the address of the 16-bit register to be read. The register address must be
half-word aligned hence it must be divisible by 2. It must be formatted as a 32-bit hexadecimal
number.
Example: the following command reads TRIM_CTRL_REG (0x50000016) [1].
prodtest -p 16 read_reg16 50000016
Output example:
status = 0
value = 00A2

7.30 read_reg32

Description: reads the value of a 32-bit register. The output value is printed in hex.
Syntax: prodtest -p <COM port number> read_reg32 <register address>
Parameters:
register address is the address of the 32-bit register to be read. The register address must be
word aligned hence it must be divisible by 4. It must be formatted as a 32-bit hexadecimal
number.
Example: the following command reads PATCH_VALID_REG (0x40008400) [1].
prodtest -p 16 read_reg32 40008400
Output example:
status = 0
value = 00000001

7.31 write_reg16

Description: writes into a 16-bit register.
Syntax: prodtest -p <COM port number> write_reg16 <register address> <register value>
Parameters:
register address is the address of the 16-bit register to be read. The register address must be
half-word aligned hence it must be divisible by 2. It must be formatted as a 32-bit hexadecimal
number.
register value is the value to be written into the register. It must be formatted as a 16-bit
hexadecimal number.
Example: the following command writes 0x00B3 in TRIM_CTRL_REG (0x50000016) [1].
User manual
CFR0012-00 Rev 1
Revision 1.7
15 of 19
Company confidential
18-Nov-2015
© 2015 Dialog Semiconductor GmbH