5736 - MachX03: What is the difference between "Security Program Password Key" and "Security Program Password Key With Lock" in terms of Feature Row mapping?
The difference between "Security Program Password Key" and "Security Program Password Key With Lock" is that Security Program Password Key With Lock enables Secure PWD which is a bit that locks the feature row.
For JTAG, the flow is:
- Send in 8 bits LSC_PROG_FEABITS (0xF8) at shift IR Send in 16 bits 0x000D at shift DR Run-test idle and wait for completion.
For Non-JTAG (Slave SPI or I2C) the flow is:
- Send in 8 bits (1 byte) of LSC_PROG_FEABITS (0xF8) and 24 bits (3 bytes) of the operand.
For Non-JTAG, the 24 bits (3 bytes) of the operand always requires to specify additional settings or addresses. In this command, there is no additional information required so the value is 00 00 00. Send in 16 bits (2 bytes) of data 0xB000. Since the Non-JTAG port always requires the LSB bit shift in first so the data need to reverse. (Please note that the feature bit value does not need to map to the operand).
Related Articles
5628 - MachXO3L: What is the difference between "Security Program Password Key" and "Security Program Password Key with Lock" operations?
The 'Security Program Password Key' operation secures the sectors SRAM, CFG, and Feature Row only, the UFM is not protected and can be read anytime. Meanwhile, the 'Security Program Password Key' operation secures the sectors SRAM, CFG and Feature ...
7409 - [MachXO3] Lattice Diamond Programmer: Is feature row updated when programming password key?
Description: Lattice Diamond programmer programs the PWD enable bit to "1" on the feature row after shifting the password. This enables the security feature right after shifting the password.
5494 - I2C: What is difference between option "I2C Erase,Program,Verify,Feature" and option "I2C Program Feature Row"?
Description: The I2C Erase, Program, Verify option requires that the Feature Row be programmed prior to the execution of the "I2C Erase, Program, Verify" operation. This operation checks for the Feature Row match between the device and the JED file, ...
5495 - I2C: The user can only program one time in offline via I2C. Why does the user choose option "I2C Program Feature Row"?
Description: This is because of difference in the Feature-Row setting. Solution: While doing the test with different settings, the user would may be have programmed the Feature-Row with Setting-A (say, SPI_PORT=Enable, PROGRAMN=Disable),and with the ...
6548 - Why does the change in the Feature Row appear to take effect immediately when using a background mode operation?
The Feature Row programming will take effect immediately, whether it's Transparent Programming or Normal (offline) Programming. The idea behind it is that we want to make the content inside the shadow register always in sync with the actual flash ...