User Tools

Site Tools


ds:projects:cryring:bpmboot

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ds:projects:cryring:bpmboot [2020/02/11 12:47]
tobiashoffmann [AFC 3.1 MMC Programming HowTo]
ds:projects:cryring:bpmboot [2020/02/11 13:00]
tobiashoffmann [AFC 3.1 MMC Programming HowTo]
Line 55: Line 55:
  
  
-==== AFC 3.1 MMC Programming HowTo ====+===== AFC 3.1 MMC Programming HowTo =====
  
  
 === MMC: === === MMC: ===
  
 +Install LPCXpresso on Linux PC.
  
 LPC_Link (1) on table with AFC on table LPC_Link (1) on table with AFC on table
Line 67: Line 68:
 {{:ds:projects:cryring:20200205_144018.jpg?400|}} {{:ds:projects:cryring:20200205_144018.jpg?400|}}
  
-dedicated cable from Piotr to JTAG in the middle of AFC with cables moving to FMC connectors+dedicated cable from Piotr to JTAG in the middle of AFC with cables heading to FMC connectors
  
 on LPC Link J4 left row with Black = Pin15 on LPC Link J4 left row with Black = Pin15
  
-enter command:+enter command on Linux PC:
  
 dfu-util -d 0x0471:0xdf55 -c 0 -t 2048 -R -D /usr/local/lpcxpresso/lpcxpresso/bin/LPCXpressoWIN.enc dfu-util -d 0x0471:0xdf55 -c 0 -t 2048 -R -D /usr/local/lpcxpresso/lpcxpresso/bin/LPCXpressoWIN.enc
Line 110: Line 111:
 </file> </file>
  
-Flash Chip on AFC 3.1 for FPGA Firmware: N25Q256A+Flash Chip on AFC 3.1 for FPGA Firmware: mt25ql256-spi-x1_x2_x4 
 + 
 +To add click with right mouse button on FPGA in Vivado Hardware Manager: 
 + 
 + 
 +{{:ds:projects:cryring:1fpmfaokmedhlmjdm.png?400|}} 
 + 
 + 
 + 
 +Then select the right SPI flash: 
 + 
 + 
 +{{:ds:projects:cryring:2mgfjnodfapnggfji.png?400|}} 
 + 
 + 
 +You will be asked if you want to program configuration memory device. You can cancel it as MCS configuration file must be generated first. 
 + 
 +To generate MCS configuration file select Tools -> Generate Memory Configuration File... 
 + 
 +In the window please select right Memory Part, Filename (it's output file name) and tick that the file is to Load bitstream files. Then in the Bitfile input select your bitstream and click OK: 
 + 
 + 
 +{{:ds:projects:cryring:3ajacbmiiffbcdncp.png?400|}} 
 + 
 + 
 +To program SPI flash click on the mt25ql256-spi-x1_x2_x4 in Hardware Manager tree and select Program Configuration Memory Device... 
 + 
 + 
 +{{:ds:projects:cryring:4kpgcemgabkpjonpm.png?400|}} 
 + 
 + 
 +In the configuration window select created Configuration file and click OK: 
 + 
 + 
 +{{:ds:projects:cryring:5fknakblnoicfbhne.png?400|}} 
 + 
 + 
 +SPI flash will be erased and programmed with new gateware. 
ds/projects/cryring/bpmboot.txt · Last modified: 2020/02/11 13:00 by tobiashoffmann