Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
test-and-measurement:analog-discovery-pro-3x50:programming-an-fpga [2021/09/02 11:30] – [Installing the Adept Utilities] Álmos Veres-Vitályostest-and-measurement:analog-discovery-pro-3x50:programming-an-fpga [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Programming an FPGA Board with the Analog Discovery Pro (ADP3450/ADP3250) ====== ====== Programming an FPGA Board with the Analog Discovery Pro (ADP3450/ADP3250) ======
  
-<WRAP center round todo 60%> +<WRAP group> 
-This page is under construction. +There might be cases when you need to provide a complex stimulus to a circuit, or you might want to condition digital signals before measurement, in both cases using an FPGA board can be handy. However, FPGA boards are usually configured from a PC, so including them in a standalone measurement system might not have been an option until now.
-</WRAP>+
  
-<WRAP group> +This guide walks you through the steps required to use the Analog Discovery Pro to load a previously-created bit file to your Digilent FPGA board.
-This guide walks you through the steps required to load a previously created bit file to your Digilent FPGA board with the Analog Discovery Pro. Creating the bit file is out of the scopes of the current guide. +
 </WRAP> </WRAP>
----- 
  
 ===== Inventory ===== ===== Inventory =====
Line 21: Line 18:
   * [[https://ttssh2.osdn.jp/index.html.en|Tera Term]], or any other terminal emulator of your choice   * [[https://ttssh2.osdn.jp/index.html.en|Tera Term]], or any other terminal emulator of your choice
 </WRAP></WRAP> </WRAP></WRAP>
----- 
  
 +You will also need a bit file to load onto the FPGA board.
 +----
 ===== Installing the Adept Utilities ===== ===== Installing the Adept Utilities =====
 <WRAP group> <WRAP group>
Line 53: Line 51:
 </WRAP> </WRAP>
 ---- ----
- 
 ===== Loading the Bit File ===== ===== Loading the Bit File =====
 +<WRAP group>
 +<WRAP group><WRAP half column>
 +Plug your Digilent FPGA board's USB programming port (typically labeled PROG) into the back of the Analog Discovery Pro, then list the available devices by typing the following command:
 +<code>djtgcfg enum</code>
 +</WRAP><WRAP half column>
 +{{ :test-and-measurement:analog-discovery-pro-3x50:djtgcfg_enum.png?600 |}}
 +</WRAP></WRAP>
 +
 +<WRAP group><WRAP half column>
 +Find the programmable JTAG devices (FPGA chip) by typing:
 +<code>djtgcfg init -d <DeviceName></code>
 +
 +Don't forget to change the device name according to your board. In this case, the device name is CmodS6.
 +
 +In this case, there is only one programmable chip, with index 0. If your board contains more JTAG devices, note the index of the one you want to upload the bit file to.
 +</WRAP><WRAP half column>
 +{{ :test-and-measurement:analog-discovery-pro-3x50:djtgcfg_init.png?600 |}}
 +</WRAP></WRAP>
 +
 +<WRAP group><WRAP half column>
 +Finally program your board by typing:
 +<code>djtgcfg prog -d <DeviceName> -i <index> -f <FileName></code>
 +
 +Don't forget to change the device name, scan chain index and the file name according to your board and bit file.
 +</WRAP><WRAP half column>
 +{{ :test-and-measurement:analog-discovery-pro-3x50:djtgcfg_prog.png?600 |}}
 +</WRAP></WRAP>
 +</WRAP>
 +
 +===== Next Steps =====
 +<WRAP group>
 +For more guides and example projects for the Analog Discovery Pro, check out its [[start|Resource Center]].
 +
 +For technical support, please visit the [[https://forum.digilentinc.com|Digilent Forum]].
 +</WRAP>