User Tools

Site Tools


wiki:projects:vnarefit:zynq_config

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
wiki:projects:vnarefit:zynq_config [2019/10/20 21:08]
nats [Useful parameters]
wiki:projects:vnarefit:zynq_config [2020/05/22 05:18] (current)
f4ihx [Useful parameters]
Line 63: Line 63:
 In the config activate "​tcf-agent"​ in "​Filesystem Packages -> misc -> tcf-agent"​ and activate "​peekpoke"​ in "​apps"​. In the config activate "​tcf-agent"​ in "​Filesystem Packages -> misc -> tcf-agent"​ and activate "​peekpoke"​ in "​apps"​.
  
-=== Testing new bitstream ===+=== Testing new bitstream ​[This method is deprecated since Petalinux 2018.x] ​===
 If the new bitstream is similar to the previous one (no change in the interface to the PS) you can flash the bitstream directly in the Zynq. If the new bitstream is similar to the previous one (no change in the interface to the PS) you can flash the bitstream directly in the Zynq.
  
Line 72: Line 72:
 </​code>​ </​code>​
  
 +
 +=== SPI Problems ===
 I got some random timeout problems. I got some random timeout problems.
 +
 +[[https://​forums.xilinx.com/​t5/​Embedded-Linux/​Zynq-7010-SPI-EMIO-Timeout/​td-p/​1034137]]
  
 === Configuring SPI Interfaces === === Configuring SPI Interfaces ===
Line 102: Line 106:
  
 The two device will be used for ADC (maybe later a third will be used to drive the shift registers). The two device will be used for ADC (maybe later a third will be used to drive the shift registers).
 +
 +=== Testing MicroZED user led ===
 +Get the GPIO base address
 +
 +<​code>​
 +cat /​sys/​class/​gpio/​gpiochip906/​base/​
 +</​code>​
 +
 +Then export the GPIO Interface and write the output value.
 +In the MicroZED, D3 is connected to the MIO = 47 (906+47 = 953).
 +<​code>​
 +echo 953 > /​sys/​class/​gpio/​export
 +echo out > /​sys/​class/​gpio/​gpio953/​direction
 +echo 1 > /​sys/​class/​gpio/​gpio953/​value
 +echo 0 > /​sys/​class/​gpio/​gpio953/​value
 +</​code>​
 +
 +=== Testing AXI Lite device quickly ===
 +
 +You cas use the devmem tool in command line to write and read address
wiki/projects/vnarefit/zynq_config.1571598493.txt.gz ยท Last modified: 2019/10/20 21:08 by nats