Lattice Semiconductor MachXO2 Programming And Configuration Usage Manual page 52

Hide thumbs Also See for MachXO2:
Table of Contents

Advertisement

Table 22. MachXO2 sysCONFIG Programming Commands (Continued)
Command Name
[SVF Synonym]
Read UFM Flash
[LSC_READ_UFM]
Program DONE
[ISC_PROGRAM_DONE]
Program OTP Fuses
[LSC_PROG_OTP]
Read OTP Fuses
[LSC_READ_OTP]
Disable Configuration
Interface
[ISC_DISABLE]
Bypass
[ISC_NOOP]
Refresh
[LSC_REFRESH]
Program SECURITY
[ISC_PROGRAM_SECURITY]
Program SECURITY PLUS
[ISC_PROGRAM_SECPLUS]
Read TraceID code
[UIDCODE_PUB]
1. Transmit the command opcode and first two operand bytes when using the I
2. SECURITY and SECURITY PLUS commands are mutually exclusive.
MachXO2 Programming and Configuration Usage Guide
Command
Operands
Write Data
0xCA
M0 PP PP
0x5E
00 00 00
0xF9
00 00 00
UCFSUCFS
0xFA
00 00 00
0x26
00 00
0xFF
FF FF FF
0x79
00 00
0xCE
00 00 00
0xCF
00 00 00
0x19
00 00 00
Read Data
See
Reading
N/A
Flash Pages
sec-
tion
N/A
N/A
N/A
N/A
UCFSUCFS
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
YY*8
2
C port. The final operand byte must not be transmitted.
52
Notes
Retrieves PPPP count UFM pages. Only the
least significant 14 bits of PP PP are used
for the page count.
The 'M' field must be set based on the con-
figuration port being used to read the UFM.
2
0x0
I
C
0x1
JTAG/SSPI/WB
Program the DONE status bit enabling SDM
Makes the selected memory space One
Time Programmable. Matching bits must be
set in unison to activate the OTP feature.
Bit
1
0
0, 4
SRAM OTP
SRAM Writable
1, 5
Feature Row
Feature Row
OTP
Writable
2, 6
CF OTP
CF Writable
3, 7
UFM OTP
UFM Writable
Read the state of the One Time Program-
mable fuses.
Bit
1
0
0, 4
SRAM OTP
SRAM Writable
1, 5
Feature Row
Feature Row
OTP
Writable
2, 6
CF OTP
CF Writable
3, 7
UFM OTP
UFM Writable
Exit Offline or Transparent programming
mode. ISC_DISABLE causes the MachXO2
to automatically reconfigure when leaving
Offline programming mode. Thus, when
leaving Offline programming mode the Con-
figuration SRAM must be explicitly cleared
using ISC_ERASE (0x0E) prior to transmit-
ting ISC_DISABLE. The recommended exit
command from Offline programming mode
is LSC_REFRESH (0x79), wherein
ISC_ERASE and ISC_DISABLE are not
necessary. See Figure 20.
No Operation and Device Wakeup
Force the MachXO2 to reconfigure. Trans-
mitting a REFRESH command reconfigures
the MachXO2 in the same fashion as
asserting PROGRAMN.
Program the Security bit (Secures CFG
2
Flash sector).
Program the Security Plus bit (Secures CFG
2
and UFM Sectors).
Read 64-bit TraceID.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents