Hi, I followed "The Zynq Book Tutorials for Zybo and Zedboard" to create gpio_leds and gpio_btns,
download image to zedboard, I'm using petalinux/vivado 2015.2, I saw there were two gpiochip 902
and gpiochip 906, I did:
echo 902 > export
echo out > direction
echo 1 > value
I tried on both 902 and 906, the leds didn't turn on and off.
I created axi_gpio_1 which offset is 0x41210000, but after petalinux boot up, only 0x41200000 showing, axi_gpio_1 was not created.
Anybody knows why and how to debug this?
From design_pl_bd.tcl:
# Create address segments
create_bd_addr_seg -range 0x10000 -offset 0x41210000 [get_bd_addr_spaces processing_system7_0/Data] [get_bd_addr_segs axi_gpio_1/S_AXI/Reg] SEG_axi_gpio_1_Reg
From uart console:
only shows label: /amba/pl/gpio@41200000
Thanks