Hi,everyone
I am using "Picozed SDR 2x2" and "PicoZed SDR FMC Carrier Card AES-PZSDRCC-FMC-G" for my work.
But I am facing a problem now.I want to control a led on Carrier Card(connect to zynq pin A8) by the manner of use PS + AXT_GPIO.
first, I use vivado create hardware diagram,and export it to SDK,after that ,I use SDK create an application as the template of Memory_Test in SDK and I add my own code to contorl the Led. And then,I use JTAG program FPGA and debug Memory_Test,It all works.
After that,I use SDK create an application project as the template of Fbsl in SDK,and using bootgen tools in the SDK create a boot image named boot.bin. Copy boot.bin in a SD card and set boot from SD,the fbsl print some information as follows:
--------------------------------------------
Xilinx First Stage Boot Loader
Release 2015.4 Dec 29 2016-09:33:54
Devcfg driver initialized
Silicon Version 3.1
Boot mode is SD
SD: rc= 0
SD Init Done
Flash Base Address: 0xE0100000
Reboot status register: 0x60400000
Multiboot Register: 0x0000C000
Image Start Address: 0x00000000
Partition Header Offset:0x00000C80
Partition Count: 3
Partition Number: 1
Header Dump
Image Word Len: 0x0032D130
Data Word Len: 0x0032D130
Partition Word Len:0x0032D130
Load Addr: 0x00000000
Exec Addr: 0x00000000
Partition Start: 0x000065D0
Partition Attr: 0x00000020
Partition Checksum Offset: 0x00000000
Section Count: 0x00000001
Checksum: 0xFF67242E
Bitstream
In FsblHookBeforeBitstreamDload function
PCAP:StatusReg = 0x40000A30
PCAP:device ready
PCAP:Clear done
Level Shifter Value = 0xA
Devcfg Status register = 0x40000A30
PCAP:Fabric is Initialized done
PCAP register dump:
PCAP CTRL 0xF8007000: 0x4C00E07F
PCAP LOCK 0xF8007004: 0x0000001A
PCAP CONFIG 0xF8007008: 0x00000508
PCAP ISR 0xF800700C: 0x0802000B
PCAP IMR 0xF8007010: 0xFFFFFFFF
PCAP STATUS 0xF8007014: 0x00003A30
PCAP DMA SRC ADDR 0xF8007018: 0x00100001
PCAP DMA DEST ADDR 0xF800701C: 0xFFFFFFFF
PCAP DMA SRC LEN 0xF8007020: 0x0032D130
PCAP DMA DEST LEN 0xF8007024: 0x0032D130
PCAP ROM SHADOW CTRL 0xF8007028: 0xFFFFFFFF
PCAP MBOOT 0xF800702C: 0x0000C000
PCAP SW ID 0xF8007030: 0x00000000
PCAP UNLOCK 0xF8007034: 0x757BDF0D
PCAP MCTRL 0xF8007080: 0x30800100
...................................................................................................
DMA Done !
FPGA Done !
In FsblHookAfterBitstreamDload function
Partition Number: 2
Header Dump
Image Word Len: 0x00003003
Data Word Len: 0x00003003
Partition Word Len:0x00003003
Load Addr: 0x00000000
Exec Addr: 0x00000000
Partition Start: 0x00333700
Partition Attr: 0x00000010
Partition Checksum Offset: 0x00000000
Section Count: 0x00000001
Checksum: 0xFFCC3685
Application
Handoff Address: 0x00000000
In FsblHookBeforeHandoff function
No Execution Address JTAG handof
My tool version is: vavido 2015.4.2.
Thanks.