Article Details

ID: 4309
Case Type: faq
Category: Device Programming
Related To: Embedded Programming
Family: MachXO2

Search Answer Database

For MachXO2 device, is DONE pin the only way to check if the device is in the user state or not? Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4 DefSemiHidden="true" DefQFormat="false" DefPriority="99" LatentStyleCount="267"> UnhideWhenUsed="false" QFormat="true" Name="Normal"/> UnhideWhenUsed="false" QFormat="true" Name="heading 1"/> UnhideWhenUsed="false" QFormat="true" Name="Title"/> UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/> UnhideWhenUsed="false" QFormat="true" Name="Strong"/> UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/> UnhideWhenUsed="false" Name="Table Grid"/> UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/> UnhideWhenUsed="false" Name="Light Shading"/> UnhideWhenUsed="false" Name="Light List"/> UnhideWhenUsed="false" Name="Light Grid"/> UnhideWhenUsed="false" Name="Medium Shading 1"/> UnhideWhenUsed="false" Name="Medium Shading 2"/> UnhideWhenUsed="false" Name="Medium List 1"/> UnhideWhenUsed="false" Name="Medium List 2"/> UnhideWhenUsed="false" Name="Medium Grid 1"/> UnhideWhenUsed="false" Name="Medium Grid 2"/> UnhideWhenUsed="false" Name="Medium Grid 3"/> UnhideWhenUsed="false" Name="Dark List"/> UnhideWhenUsed="false" Name="Colorful Shading"/> UnhideWhenUsed="false" Name="Colorful List"/> UnhideWhenUsed="false" Name="Colorful Grid"/> UnhideWhenUsed="false" Name="Light Shading Accent 1"/> UnhideWhenUsed="false" Name="Light List Accent 1"/> UnhideWhenUsed="false" Name="Light Grid Accent 1"/> UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/> UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/> UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/> UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/> UnhideWhenUsed="false" QFormat="true" Name="Quote"/> UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/> UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/> UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/> UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/> UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/> UnhideWhenUsed="false" Name="Dark List Accent 1"/> UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/> UnhideWhenUsed="false" Name="Colorful List Accent 1"/> UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/> UnhideWhenUsed="false" Name="Light Shading Accent 2"/> UnhideWhenUsed="false" Name="Light List Accent 2"/> UnhideWhenUsed="false" Name="Light Grid Accent 2"/> UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/> UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/> UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/> UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/> UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/> UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/> UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/> UnhideWhenUsed="false" Name="Dark List Accent 2"/> UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/> UnhideWhenUsed="false" Name="Colorful List Accent 2"/> UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/> UnhideWhenUsed="false" Name="Light Shading Accent 3"/> UnhideWhenUsed="false" Name="Light List Accent 3"/> UnhideWhenUsed="false" Name="Light Grid Accent 3"/> UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/> UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/> UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/> UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/> UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/> UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/> UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/> UnhideWhenUsed="false" Name="Dark List Accent 3"/> UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/> UnhideWhenUsed="false" Name="Colorful List Accent 3"/> UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/> UnhideWhenUsed="false" Name="Light Shading Accent 4"/> UnhideWhenUsed="false" Name="Light List Accent 4"/> UnhideWhenUsed="false" Name="Light Grid Accent 4"/> UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/> UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/> UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/> UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/> UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/> UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/> UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/> UnhideWhenUsed="false" Name="Dark List Accent 4"/> UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/> UnhideWhenUsed="false" Name="Colorful List Accent 4"/> UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/> UnhideWhenUsed="false" Name="Light Shading Accent 5"/> UnhideWhenUsed="false" Name="Light List Accent 5"/> UnhideWhenUsed="false" Name="Light Grid Accent 5"/> UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/> UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/> UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/> UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/> UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/> UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/> UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/> UnhideWhenUsed="false" Name="Dark List Accent 5"/> UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/> UnhideWhenUsed="false" Name="Colorful List Accent 5"/> UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/> UnhideWhenUsed="false" Name="Light Shading Accent 6"/> UnhideWhenUsed="false" Name="Light List Accent 6"/> UnhideWhenUsed="false" Name="Light Grid Accent 6"/> UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/> UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/> UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/> UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/> UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/> UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/> UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/> UnhideWhenUsed="false" Name="Dark List Accent 6"/> UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/> UnhideWhenUsed="false" Name="Colorful List Accent 6"/> UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/> UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/> UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/> UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/> UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/> UnhideWhenUsed="false" QFormat="true" Name="Book Title"/> /* Style Definitions */ table.MsoNormalTable\t{mso-style-name:"Table Normal";\tmso-tstyle-rowband-size:0;\tmso-tstyle-colband-size:0;\tmso-style-noshow:yes;\tmso-style-priority:99;\tmso-style-parent:"";\tmso-padding-alt:0in 5.4pt 0in 5.4pt;\tmso-para-margin:0in;\tmso-para-margin-bottom:.0001pt;\tmso-pagination:widow-orphan;\tfont-size:10.0pt;\tfont-family:"Times New Roman","serif";}

There is a Status Register that can be read to check if the device is successfully programmed or not. The command to read the status register is "0x3C". The command reads back the 4-byte data from the status register.

The 8th bit (from LSB) of the Status register denotes the DONE bit.

DONE-bit = 1 --> Programmed

DONE-bit = 0 --> Not Programmed

Refer to Table 62 , "Read Status Register (0x3C)" on Page 57, in TN1246 rev2.1 for complete detail about the status register bits.

Refer to TechNote, TN1246 from the link below:

"TN1246 - Using User Flash Memory and Hardened Control Functions in MachXO2 Devices Reference Guide"
Like most websites, we use cookies and similar technologies to enhance your user experience. We also allow third parties to place cookies on our website. By continuing to use this website you consent to the use of cookies as described in our Cookie Policy.