Tarjetas de desarrollo FPGA » History » Version 55
Victor Vásquez, 07/25/2019 08:00 PM
| 1 | 2 | Victor Vásquez | # Tarjetas de desarrollo FPGA |
|---|---|---|---|
| 2 | 1 | Victor Vásquez | |
| 3 | 18 | Victor Vásquez | ## Programming Guide |
| 4 | 2 | Victor Vásquez | |
| 5 | 2 | Victor Vásquez | ### Alorium Sno |
| 6 | 3 | Victor Vásquez | |
| 7 | 16 | Victor Vásquez | #### Steps |
| 8 | 2 | Victor Vásquez | * Solder JTAG and power pins |
| 9 | 2 | Victor Vásquez | * Install Quartus Prime Lite Edition |
| 10 | 2 | Victor Vásquez | * Install the driver for the USB Blaster |
| 11 | 13 | Victor Vásquez | * Control Panel > Device Manager |
| 12 | 13 | Victor Vásquez | * Search for USB-Blaster |
| 13 | 14 | Victor Vásquez | * Update Driver > Browse > \intelFPGA_lite\18.1\quartus\drivers |
| 14 | 2 | Victor Vásquez | * With Quartus Prime Lite Edition software generate programming file [Assembler] |
| 15 | 2 | Victor Vásquez | * Open Quartus Prime Lite Edition |
| 16 | 2 | Victor Vásquez | * Go to Tools > Programmer |
| 17 | 2 | Victor Vásquez | * Make sure that "USB-Blaster [USB-0]" is selected in Hardware Setup, otherwise click Hardware Setup and in "Currently selected hardware:" select it. Close |
| 18 | 2 | Victor Vásquez | * Check the correct FPGA by clicking "Auto Detec" and select 10M16SA |
| 19 | 2 | Victor Vásquez | * Click "Add File" and go to the project folder and search and open the programming file, either xxx.sof (lose at powerdown) or xxx.pof |
| 20 | 14 | Victor Vásquez | * project_name/output_files/xxx.pof |
| 21 | 2 | Victor Vásquez | * Select <none> file and delete it |
| 22 | 2 | Victor Vásquez | * Check the two boxes "Program/Configure" and "Verify" of the main file |
| 23 | 2 | Victor Vásquez | * Program the FPGA by clicking "Start" |
| 24 | 3 | Victor Vásquez | |
| 25 | 16 | Victor Vásquez | #### Notes |
| 26 | 2 | Victor Vásquez | * *all steps were done using Windows 7 |
| 27 | 2 | Victor Vásquez | * When using on-chip memory IP cores change configuration mode to "Single Uncompresed Image with Memory Initialization" inside Device>Device and Pin Options...>Configuration mode |
| 28 | 4 | Victor Vásquez | |
| 29 | 4 | Victor Vásquez | ### Alorium XLR8 |
| 30 | 4 | Victor Vásquez | |
| 31 | 16 | Victor Vásquez | #### Steps |
| 32 | 5 | Victor Vásquez | * Solder JTAG pins |
| 33 | 5 | Victor Vásquez | * Install Quartus Prime Lite Edition |
| 34 | 5 | Victor Vásquez | * Install the driver for the USB Blaster |
| 35 | 14 | Victor Vásquez | * Control Panel > Device Manager |
| 36 | 14 | Victor Vásquez | * Search for USB-Blaster |
| 37 | 14 | Victor Vásquez | * Update Driver > Browse > \intelFPGA_lite\18.1\quartus\drivers |
| 38 | 5 | Victor Vásquez | * With Quartus Prime Lite Edition software generate programming file [Assembler] |
| 39 | 5 | Victor Vásquez | * Open Quartus Prime Lite Edition |
| 40 | 5 | Victor Vásquez | * Go to Tools > Programmer |
| 41 | 5 | Victor Vásquez | * Make sure that "USB-Blaster [USB-0]" is selected in Hardware Setup, otherwise click Hardware Setup and in "Currently selected hardware:" select it. Close |
| 42 | 5 | Victor Vásquez | * Check the correct FPGA by clicking "Auto Detec" and select 10M08SA |
| 43 | 5 | Victor Vásquez | * Click "Add File" and go to the project folder and search and open the programming file, either xxx.sof (lose at powerdown) or xxx.pof |
| 44 | 14 | Victor Vásquez | * project_name/output_files/xxx.pof |
| 45 | 5 | Victor Vásquez | * Select <none> file and delete it |
| 46 | 5 | Victor Vásquez | * Check the two boxes "Program/Configure" and "Verify" of the main file |
| 47 | 5 | Victor Vásquez | * Program the FPGA by clicking "Start" |
| 48 | 4 | Victor Vásquez | |
| 49 | 16 | Victor Vásquez | #### Notes |
| 50 | 5 | Victor Vásquez | * *all steps were done using Windows 7 |
| 51 | 5 | Victor Vásquez | * Notch of the USB Blaster's connector should face the inside of the board. |
| 52 | 5 | Victor Vásquez | * For the use A0-5 pins there is 2 options: analog or digital, both connected to different pins on the FPGA. When used as digital, user has to enable this pins (buffer 3.3V-5V) through 6 pins also connected to the FPGA (see schematic). |
| 53 | 5 | Victor Vásquez | * RST pin is active low. |
| 54 | 5 | Victor Vásquez | * When using on-chip memory IP cores change configuration mode to "Single Uncompresed Image with Memory Initialization" inside Device>Device and Pin Options...>Configuration mode |
| 55 | 4 | Victor Vásquez | |
| 56 | 4 | Victor Vásquez | ### Papilio Pro |
| 57 | 4 | Victor Vásquez | |
| 58 | 16 | Victor Vásquez | #### Steps |
| 59 | 15 | Victor Vásquez | * Install ISE Design Suite |
| 60 | 15 | Victor Vásquez | * With ISE Design Suite software generate programming file [Generate Programming file] |
| 61 | 15 | Victor Vásquez | * Download the file "Papilio-Loader-2.8-Setup.exe" (1) and install it |
| 62 | 15 | Victor Vásquez | * Go to the project folder and search for the programming file xxx.bit |
| 63 | 15 | Victor Vásquez | * Double click and wait for the Papilio Loader to open |
| 64 | 15 | Victor Vásquez | * File > Preferences > User Mode > Expert |
| 65 | 15 | Victor Vásquez | * In "Target board" field select "Papilio One or Papilio Pro" |
| 66 | 15 | Victor Vásquez | * Make sure the "Target .bit file" loaded the correct file |
| 67 | 15 | Victor Vásquez | * Do not touch the other fields and in the "Operations" box check "Erase", "Write to" and "Verify" |
| 68 | 15 | Victor Vásquez | * In the drop-down menu select either "FPGA" (lose at powerdown) or "SPI flash" |
| 69 | 15 | Victor Vásquez | * Click "Do Selected Operations" |
| 70 | 1 | Victor Vásquez | |
| 71 | 16 | Victor Vásquez | #### Notes |
| 72 | 15 | Victor Vásquez | * *all steps were done using Windows 7 |
| 73 | 15 | Victor Vásquez | * (1) http://forum.gadgetfactory.net/files/file/10-papilio-loader-gui/ |
| 74 | 15 | Victor Vásquez | * if using VirtualBox make sure to enable USB: https://www.techrepublic.com/article/how-to-enable-usb-in-virtualbox/ |
| 75 | 4 | Victor Vásquez | |
| 76 | 2 | Victor Vásquez | ### TinyFPGA BX |
| 77 | 2 | Victor Vásquez | |
| 78 | 16 | Victor Vásquez | #### Steps |
| 79 | 15 | Victor Vásquez | * Install Lattice iCEcube2 (Windows 7) |
| 80 | 15 | Victor Vásquez | * Install toolchains APIO and tinyprog from the terminal |
| 81 | 15 | Victor Vásquez | * $ (sudo) pip install apio tinyprog |
| 82 | 15 | Victor Vásquez | * $ apio install system scons icestorm iverilog |
| 83 | 15 | Victor Vásquez | * $ apio drivers --serial-enable |
| 84 | 15 | Victor Vásquez | * Add yourself to the dialout group in order for your user to be able to access serial ports |
| 85 | 15 | Victor Vásquez | * $ sudo usermod -a -G dialout $USER |
| 86 | 15 | Victor Vásquez | * Connect your TinyFPGA BX board and make sure the bootloader is up to date |
| 87 | 15 | Victor Vásquez | * tinyprog --update-bootloader |
| 88 | 17 | Victor Vásquez | * With Lattice iCEcube2 software generate programming file [Generate Bitmap] - Windows 7 |
| 89 | 15 | Victor Vásquez | * Plug the TinyFPGA BX if it is not already |
| 90 | 15 | Victor Vásquez | * In a terminal window go to Lattice project folder and search for the programming file |
| 91 | 15 | Victor Vásquez | * project_name/project_name_Implmnt/sbt/outpus/bitmap/xxx.bin |
| 92 | 15 | Victor Vásquez | * Program the FPGA |
| 93 | 15 | Victor Vásquez | * $ (sudo) tinyprog -p xxx.bin |
| 94 | 15 | Victor Vásquez | * The configuration will reamain until you press the reset button, when it would load the bootloader |
| 95 | 15 | Victor Vásquez | * When connected to a dumb power supply the configuration will be reloaded after 1 second |
| 96 | 2 | Victor Vásquez | |
| 97 | 16 | Victor Vásquez | #### Notes |
| 98 | 15 | Victor Vásquez | * *Windows 7 was ONLY used for iCEcube2, the other steps were done in Ubuntu 14.04 |
| 99 | 15 | Victor Vásquez | * https://tinyfpga.com/bx/guide.html |
| 100 | 15 | Victor Vásquez | * https://www.instructables.com/id/Getting-Started-With-the-Tinyfpga/ |
| 101 | 15 | Victor Vásquez | * https://github.com/tinyfpga/TinyFPGA-BX |
| 102 | 15 | Victor Vásquez | |
| 103 | 18 | Victor Vásquez | ### MAX1000 |
| 104 | 15 | Victor Vásquez | |
| 105 | 16 | Victor Vásquez | #### Steps |
| 106 | 1 | Victor Vásquez | |
| 107 | 1 | Victor Vásquez | #### Notes |
| 108 | 18 | Victor Vásquez | |
| 109 | 18 | Victor Vásquez | ## Temperature Test |
| 110 | 18 | Victor Vásquez | |
| 111 | 18 | Victor Vásquez | ### Alorium Sno |
| 112 | 18 | Victor Vásquez | |
| 113 | 50 | Victor Vásquez |  |
| 114 | 49 | Victor Vásquez | |
| 115 | 50 | Victor Vásquez | <div style="width:10%"></div> |
| 116 | 37 | Victor Vásquez | |
| 117 | 31 | Victor Vásquez |  |
| 118 | 18 | Victor Vásquez | |
| 119 | 1 | Victor Vásquez | ### Alorium XLR8 |
| 120 | 47 | Victor Vásquez | |
| 121 | 18 | Victor Vásquez | |
| 122 | 18 | Victor Vásquez | ### Papilio Pro |
| 123 | 18 | Victor Vásquez | |
| 124 | 18 | Victor Vásquez | |
| 125 | 18 | Victor Vásquez | ### TinyFPGA BX |
| 126 | 18 | Victor Vásquez | |
| 127 | 18 | Victor Vásquez | |
| 128 | 18 | Victor Vásquez | ### MAX1000 |
| 129 | 53 | Victor Vásquez | |
| 130 | 55 | Victor Vásquez | [sm](Sno_Pin_Map.pdf) |
| 131 | 53 | Victor Vásquez | |
| 132 | 53 | Victor Vásquez | x |