05-17-2018 05:13 AM
I am trying to interface the WiFi Pmod with the Zynq Processor.
The following is my Block Design:
I have successfully generated the bitstream after which I export the bitstream and Launch the SDK.
I have then created a new application project using Language as C++.
The issue i am facing is in the WiFiscan_bsp folder. The following errors are the ones I have encountered.
I have downloaded the latest vivado-library-master folder from Gtihub and tried the process to no avail.
Please advice on how to proceed.
Thanks in advance!.
05-28-2018 01:26 AM
I'm not sure which kind of library are you trying to use but from a quick google search it seems that it's a kind of library for the PMod dongle provided by Digilent.
If you share the details on how are you using the library and the steps you made within SDK it is gonna be easier for the community to reproduce or understand the issue, and eventually solve it.
From the error log it seems that you are missing some compiler options or header files...
06-04-2018 02:08 AM
05-12-2019 05:24 AM
05-30-2019 11:50 AM
I am having the same problem. The problem occurs with Vivado 2018.2 and 2019.1. The previous solution of installing Windows 7 is not an option for me.
The problem seems to occur during the build process. Looking thru the build logs the errors and warnings go on for 1200 lines: ...metadata/.plugins/org.eclipse.cdt.ui/global-build.log
These are typical
76 In file included from ./DEIPcK/utility/deIP.h:409:0,
77 from ../../../include/DEIPcK.h:64,
78 from DEIPcK/DEIPcK.cpp:54:
79 ./DEIPcK/utility/DHCP.h:216:25: error: flexible array member 'DHCPDG_T::options' not at end of 'struct DHCPMEM_T'
80 uint8_t options; // variable lenght options ends with the end opiton of 0xFF
88 In file included from ./DEIPcK/utility/deIP.h:404:0,
89 from ../../../include/DEIPcK.h:64,
90 from DEIPcK/DEIPcK.cpp:54:
91 ./DEIPcK/utility/HeapMgr.h:145:25: error: flexible array member 'SMGR_T::rgPages' not at end of 'struct DNSMEM_T'
92 PGID rgPages;
However, looking at the code snippets:
typedef struct DHCPDG_T
uint8_t op; // BOOTREQUEST == 1, BOOTREPLY == 2
uint8_t htype; // always hwtypeEthernet == 1
uint8_t hlen; // length of the mac == 6
uint8_t hops; // usually 0
uint32_t xid; // random number
uint16_t secs; // sec sense start of BootP process, or 0
uint16_t flags; // broadcast flag, we arn't using, set to 0
IPv4 ciaddr; // client internet address
IPv4 yiaddr; // your internet address
IPv4 siaddr; // server internet address
IPv4 giaddr; // relay agent internet address, usually 0
uint8_t chaddr; // hardware address... MAC
uint8_t sname; // server name, almost always 0s
uint8_t file; // file name, bootp record, almost always 0s
IPv4 MagicCookie; // always 18.104.22.168; not really an IP, but it is easy to make it as such (I think 0x63538263).
uint8_t options; // variable lenght options ends with the end opiton of 0xFF
typedef struct PMGR_T
DPMGRCopyToPage CopyToPage; // copy bytes to a page
DPMGRCopyFromPage CopyFromPage; // read bytes from a page
uint8_t pf2PerPage; // this is the power of 2 power factor, thus (1 << pfPerPage) MUST == cbPerPage.
uint8_t cPages; // max of 255 pages 0-254; 0x255 == PMGRFreePage is reserved
uint8_t cAlloc; // number of alloced pages
uint8_t cbAllocMap; // how many bytes are in the allocation map
uint8_t rgAllocMap; // A bit map of pages in use 1 = in use, 0 free
// the stream manager is typically used internally by a socket,
// but can be used by anyone who follows the rules.
#define SMGRAtBegining 0x0000
#define SMGRAtEnding 0xFFFF
// the socket stream manager
typedef struct SMGR_T
PMGR * pPMGR; // a handle to the page manager; many streams may use the same page manager
uint32_t iStart; // linear start offset into the stream
uint32_t iEnd; // linear end offset into the stream
In the rgPages case, we see the flexible arrays pass muster in the, rgAllocMap case, but fail in the, rgPages case.
The project is dead in the water until this problem is fixed. I am wondering if the is a solution or any work around.
Thanks in advance.
06-26-2019 01:43 PM
Has this issue been resolved with the latest version of Vivado (2019.1)? I am having similar issues with flexible arrays in DHCP.h and HeapMgr.h contained within the utility folder of DEIPcK. I am currently using Vivado 2018.3.