EasyManua.ls Logo

Lattice Semiconductor MachXO2 - Machxo2 Programming Commands

Lattice Semiconductor MachXO2
57 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MachXO2 Programming and Configuration Usage Guide
51
MachXO2 Programming Commands
Table 22. MachXO2 sysCONFIG Programming Commands
Command Name
[SVF Synonym] Command Operands Write Data Read Data Notes
Read Device ID
[IDCODE_PUB]
0xE0 00 00 00 N/A YY YY YY YY
YY characters represent the device-specific
ID code
Enable Configuration Interface
(Transparent Mode)
[ISC_ENABLE_X]
0x74
08 00 00
1
N/A N/A
Enable the Configuration Logic for device
programming in transparent mode.
1
Enable Configuration Interface
(Offline Mode)
[ISC_ENABLE]
0xC6
08 00 00
1
N/A N/A
Enable the Configuration Logic for device
programming in Offline mode.
1
Read Busy Flag
[LSC_CHECK_BUSY]
0xF0 00 00 00 N/A YY
Bit 1 0
7 Busy Ready
Read Status Register
[LSC_READ_STATUS]
0x3C 00 00 00 N/A YY YY YY YY
Bit 1 0
12 Busy Ready
13 Fail OK
Erase
[ISC_ERASE]
0x0E 0Y 00 00 N/A N/A
Y = Memory space to erase
Y is a bitwise OR
Bit 1=Enable
16 Erase SRAM
17 Erase Feature Row
18 Erase Configuration Flash
19 Erase UFM
Erase UFM
[LSC_ERASE_TAG]
0xCB 00 00 00 N/A N/A Erase the UFM sector only.
Reset Configuration Flash Address
[LSC_INIT_ADDRESS]
0x46 00 00 00 N/A N/A
Set Page Address pointer to the beginning
of the Configuration Flash sector
Set Address
[LSC_WRITE_ADDRESS]
0xB4 00 00 00 M0 00 PP PP N/A
Set the Page Address pointer to the Flash
page specified by the least significant 14
bits of the PP PP field.
The ‘M’ field defines the Flash memory
space to access.
Field 0x0 0x4
M Configuration Flash UFM
Program Page
[LSC_PROG_INCR_NV]
0x70 00 00 01 YY * 16 N/A
Program one Flash page. Can be used to
program the Configuration Flash, or UFM.
Reset UFM Address
[LSC_INIT_ADDR_UFM]
0x47 00 00 00 N/A N/A
Set the Page Address Pointer to the begin-
ning of the UFM sector
Program UFM Page
[LSC_PROG_TAG]
0xC9 00 00 01 YY * 16 N/A Program one UFM page
Program USERCODE
[ISC_PROGRAM_USERCODE]
0xC2 00 00 00 YY * 4 N/A Program the USERCODE.
Read USERCODE
[USERCODE]
0xC0 00 00 00 N/A YY * 4 Retrieves the 32-bit USERCODE value
Write Feature Row
[LSC_PROG_FEATURE]
0xE4 00 00 00 YY * 8 N/A Program the Feature Row bits
Read Feature Row
[LSC_READ_FEATURE]
0xE7 00 00 00 N/A YY * 8 Retrieves the Feature Row bits
Write FEABITS
[LSC_PROG_FEABITS]
0xF8 00 00 00 YY * 2 N/A Program the FEABITS
Read FEABITS
[LSC_READ_FEABITS]
0xFB 00 00 00 N/A YY * 2 Retrieves the FEABITS
Read Flash
[LSC_READ_INCR_NV]
0x73 M0 PP PP N/A
See Reading
Flash Pages sec-
tion
Retrieves PPPP count pages. Only the least
significant 14 bits of PP PP are used.
The ‘M’ field must be set based on the con-
figuration port being used to read the Flash
memory.
0x0 I
2
C
0x1 JTAG/SSPI/WB

Other manuals for Lattice Semiconductor MachXO2

Related product manuals