Data Sheet
ams Datasheet Page 39
[v1-04] 2018-Jul-09 Document Feedback
AS7265x − Detailed Description
Figure 51:
COEF WRITE Register
AS72651 I
2
C Firmware (FW) Update Procedure
• In the FW Update Control register set the Start_XFR bit to
1.
• Write 56k of data to the FW Download register starting
with the first byte in the ams file, then proceed the end of
the ams 56k file with consecutive writes.
• If desired read the FW Byte Count registers to see which
byte is expected to be written next into the FW Download
register.
• When the download file is completely written, confirm the
action by using the FW Update Control register bit XFR_
56k (should =1 if 56k has been downloaded).
• In the FW Update Control register, set the Toggle bit to 1
which will reboot the AS72651 with the new FW after
checking the new FW for correct CRC. If the CRC is incorrect
the toggle bit will not change and the new FW will not be
used.
Figure 52:
Firmware Byte Count High Byte
Addr:0x55 COEF WRITE
Bit Bit Name Default Access Bit Description
7:0 COEF_WRITE R/W
Set sub addresses to write different calibration
data from COEF_DATA register to persistent
memory
Addr: 0x60/0xE0 Control_Setup
Bit Bit Name Default Access Bit Description
7 Start_XFR 0 R/W Set to 1 to start firmware update
6 Kill_XFR 0 R/W Set to 1 to stop firmware update.
5 XFR_56K 0 R Set to 1 when 56k bytes have been downloaded.
4 Reserved Reserved, do not use.
3 Toggle 0 R/W Set to 1 to toggle firmware image partition.
2:0 Reserved Reserved, do not use.