Visible to Intel only — GUID: nag1494834275076
Ixiasoft
1.2.2.2. Executing the Software C Code and Initializing the JESD204B Link
Perform the following steps to execute the software C code and initialize the JESD204B link:
- After device programming, navigate to the Tools menu and select Nios II Software Build Tools for Eclipse.
- In the Select a workspace dialog box, navigate to the software workspace, <project directory>/software and click OK.
- To import the software project into Eclipse, right click in the project explorer window and select Import.
- Under the general category select Existing Projects into Workspace and click Next.
- Select archive file and navigate to the zip file of interest. Click Finish and the project will be setup in your workspace.
- To download the executable code to the development board, right click on the jesd204b_nios2_ed in Project Explorer window and select Run As and select Nios II Hardware.
Click Yes if a dialog box stating "Errors exist in required project. Continue to launch." appears.
The C codes need to be recompiled if you want to test other supported pattern or internal serial loopback. In this case, you must regenerate the BSP files. In the Project Explorer window, right click the jesd204b_nios2_ed_bsp project, navigate to Nios® II and click Generate BSP. This regenerates the BSP files based on your current jesd204b_ed_qsys.sopcinfo. Refer to Table 3 to change related software parameters.
Note: Follow steps in Reconstructing Design and Running in Hardware to rebuild the Nios® II project if you recompile your project or the project doesn’t work.
Bit | Name | Description | Expected Binary Value |
---|---|---|---|
[0] | SYNC_N Value | 0: Receiver is not in sync 1: Link is in sync |
1 |
[2:1] | Data Link Layer (DLL) State | 00: Code Group Synchronization (CGS) 01: Initial Lane Alignment Sequences 10: User Data Mode 11: D21.5 test mode |
10 |
Bit | Name | Description | Expected Binary Value |
---|---|---|---|
[0] | SYNC_N Value | 0: Receiver is not in sync 1: Link is in sync |
1 |
Others | - | - | Don’t Care |