First, I'm using Cygwin on a Windows 10 platform to compile and run a utility program that loads a bit file into the serial Flash PROM of a CmodS6 board. The SDK version is Windows v2.4.2, using lib64.
The source code is not my own, but comes from -https://github.com/ZipCPU/s6soc/tree/master/sw/host
and the specific program is zipload.exe
Under Cygwin, all the source code compiles properly. When it is run, a call is made to DmgrEnumDevices() to enumerate any Digilent boards found. Even though the CmodS6 is connected to the PC with USB, it is not enumerated, DmgrEnumDevices() returns 0.
Note: The Digilent utility djtgcfg.exe is able to enumerate the board, initialize, and also configure the Spartan 6.
After the failure to enumerate, a call is made to DmgrSzFromErc() and the error code and information is printed to the screen ---
Victor@Vics_PC /cygdrive/c/Users/Victor/Documents/Sky Engineering/FPGA_Project/ZipLoad
$ ./zipload Top_Level.bit
No CModS6 devices found
ErrCode(3080): ercInternalError
ErrMessage: Internal error.
Segmentation fault (core dumped)
Is there any particular way I have to setup the SDK, other than making sure make can find the include and library files?
I will greatly appreciate any help you can give me.
Question
Victor McKeighan
First, I'm using Cygwin on a Windows 10 platform to compile and run a utility program that loads a bit file into the serial Flash PROM of a CmodS6 board. The SDK version is Windows v2.4.2, using lib64.
The source code is not my own, but comes from -https://github.com/ZipCPU/s6soc/tree/master/sw/host
and the specific program is zipload.exe
Under Cygwin, all the source code compiles properly. When it is run, a call is made to DmgrEnumDevices() to enumerate any Digilent boards found. Even though the CmodS6 is connected to the PC with USB, it is not enumerated, DmgrEnumDevices() returns 0.
Note: The Digilent utility djtgcfg.exe is able to enumerate the board, initialize, and also configure the Spartan 6.
After the failure to enumerate, a call is made to DmgrSzFromErc() and the error code and information is printed to the screen ---
Victor@Vics_PC /cygdrive/c/Users/Victor/Documents/Sky Engineering/FPGA_Project/ZipLoad
$ ./zipload Top_Level.bit
No CModS6 devices found
ErrCode(3080): ercInternalError
ErrMessage: Internal error.
Segmentation fault (core dumped)
Is there any particular way I have to setup the SDK, other than making sure make can find the include and library files?
I will greatly appreciate any help you can give me.
Vic
deppi.cpp
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.