Getting Started VCU118: Difference between revisions

From pCT
No edit summary
No edit summary
Line 37: Line 37:
</syntaxhighlight>
</syntaxhighlight>


=== Troubleshooting ===
== Troubleshooting ==


==== Auto-negotiation failed ====
=== Auto-negotiation failed ===


Sometimes a race-condition causes the auto-negotiation sequence to fail. This will make it impossible to connect to the embedded software via Ethernet.
Sometimes a race-condition causes the auto-negotiation sequence to fail. This will make it impossible to connect to the embedded software via Ethernet.
Line 49: Line 49:
</syntaxhighlight>
</syntaxhighlight>


==== Embedded software hangs ====
=== Embedded software hangs ===


If you tried to talk to read or write a register that does not exist on the FPGA, the embedded system will hang. Unfortunately, there are no ways to avoid this.
If you tried to talk to read or write a register that does not exist on the FPGA, the embedded system will hang. Unfortunately, there are no ways to avoid this.
Line 59: Line 59:
</syntaxhighlight>
</syntaxhighlight>


==== Nothing works at all ====
=== Nothing works at all ===


Well, yeah.
Well, yeah.


Solution 1: Press the
Solution 1: Press the

Revision as of 17:36, 12 September 2019

Getting Started

1. Fetch changes from upstream repo

2. Checkout tag of your select release. See releases. This guide assumes VCU118-v2.0-alpha4.

$ git checkout VCU118-v2.0-alpha4

3. Make sure repo is clean

4. Get pre-built bitstream.

$ make get_latest_bitstream TAG=VCU118-v2.0-alpha4

5. Build embedded software

$ make sdk_gen_projects PRJ=VCU118

6. (Optional) Open a new terminal window and start debugging stream. Shows messages from embedded system once programmed.

$ make serial

7. Power on board

8. Program FPGA with bitstream + download embedded software and boot

$ make run_VCU118

Troubleshooting

Auto-negotiation failed

Sometimes a race-condition causes the auto-negotiation sequence to fail. This will make it impossible to connect to the embedded software via Ethernet.

Solution: Restart the embedded software only.

$ make run_VCU118_SW

Embedded software hangs

If you tried to talk to read or write a register that does not exist on the FPGA, the embedded system will hang. Unfortunately, there are no ways to avoid this.

Solution: Restart the embedded software only.

$ make run_VCU118_SW

Nothing works at all

Well, yeah.

Solution 1: Press the