English
Language : 

M-G362 Datasheet, PDF (64/69 Pages) Epson Company – IMU (Inertial Measurement Unit)
8.2.6 Flash Test (UART)
Flash test is as follows.
Power-on sequence. Please refer to Chapter 8.2.1.
(a) Send flash test command.
TXdata={0xFE,0x01,0x0d}.
/* WINDOW=1 */
TXdata={0x83,0x08,0x0d}.
/* Flash test command */
(b) Wait until flash test has finished.
Wait until FLASH_TEST bit goes to 0. FLASH_TEST is MSC_CTRL[0x02(W1)]'s bit[11].
TXdata={0x02,0x00,0x0d}.
/* MSC_CTRL read command */
RXdata={0x02,MSByte,LSByte,0x0d}.
/* get response */
Confirm FLASH_TEST bit.
When FLASH_TEST becomes 0, it ends. Otherwise , please repeat (b).
(c) Confirm the result.
Confirm FLASH_ERR bits. FLASH_ERR is DIAG_STAT[0x04(W0)]'s bit[2].
TXdata={0xFE,0x00,0x0d}.
/* WINDOW=0 */
TXdata={0x04,0x00,0x0d}.
/* DIAG_STAT read command */
RXdata={0x04,MSByte,LSByte,0x0d}.
/* get response */
Confirm FLASH_ERR is 0.
If FLASH_ERR is 0, the result is OK. Otherwise, the result is NG.
8.2.7 Flash Backup (UART)
Flash backup is as follows.
Power-on sequence. Please refer to Chapter 8.2.1.
(a) Send flash backup command.
TXdata={0xFE,0x01,0x0d}.
/* WINDOW=1 */
TXdata={0x8A,0x08,0x0d}.
/* Flash backup command */
(b) Wait until flash backup has finished.
Wait until FLASH_BACKUP bit goes to 0. FLASH_BACKUP is GLOB_CMD[0x0A(W1)]'s bit[3].
TXdata={0x0A,0x00,0x0d}.
/* GLOB_CMD read command */
RXdata={0x0A,MSByte,LSByte,0x0d}.
/* get response */
Confirm FLASH_BACKUP bit.
When FLASH_BACKUP becomes 0, it ends. Otherwise , please repeat (b).
(c) Confirm the result.
Confirm FLASH_BU_ERR bits. FLASH_BU_ERR is DIAG_STAT[0x04(W0)]'s bit[0].
TXdata={0xFE,0x00,0x0d}.
/* WINDOW=0 */
TXdata={0x04,0x00,0x0d}.
/* DIAG_STAT read command */
RXdata={0x04,MSByte,LSByte,0x0d}.
/* get response */
Confirm FLASH_BU_ERR is 0.
If FLASH_BU_ERR is 0, the result is OK. Otherwise, the result is NG.
8.2.8 Filter setting (UART)
Filter setting is as follows.
Power-on sequence. Please refer to Chapter 8.2.1.
(a) Send filter setting command for moving average filter and TAP32.
TXdata={0xFE,0x01,0x0d}.
/* WINDOW=1 */
TXdata={0x86,0x05,0x0d}.
/* Filter setting command */
60
Seiko Epson Corporation
M-G362PDC1 Data Sheet
Rev.20131217