Hi
So I am new with the ZEM4310 ALTERA version of the OPALKELLY.
I am working with the python API and trying to send data with the WriteToPipeIn or WriteToBlockPipeIn And both of them don’t work .
Background :
Windows 7 64 Bit
Python 3.4.3 (v3.4.3:9b73f1c3e601) - 64 bit (yes I downloaded the support for the Python 3.4 64 Bit from your site)
i can’t get pass the security,
the first time after uploading the FPGA, the data recived in the FPGA.
after that i am getting 0xDEADF00D (Hex Base) (authentication failures )
i have reading and it is mentioned that this problem
Quartus is not reading from the okHostMicrocode.hex file
i am working with Quartus II 13.0sp1 (64-bit)
i tried couple of things include loading okHostMicrocode.hex
copy the okHostMicrocode.hex to the same directory of the project .
and nothing !
and yes i tried to update “Quartus II 15.0 (64-bit) Web Edition”
In Quartus, go to Processing->Update Memory Initialization File
Info: *
Info: Running Quartus II 64-Bit MIF/HEX Update
Info: Version 15.0.0 Build 145 04/22/2015 SJ Web Edition
Info: Processing started: Tue Jun 09 14:06:39 2015
Info: Command: quartus_cdb zem4310 -c zem4310 --update_mif
Warning (39023): Can’t find Memory Initialization File oknios_small_nios2_qsys_0_rf_ram_a.mif – skipped updates for this file
Warning (39023): Can’t find Memory Initialization File oknios_small_nios2_qsys_0_rf_ram_b.mif – skipped updates for this file
Warning (113015): Width of data items in “okhostmicrocode.hex” is greater than the memory width. Wrapping data items to subsequent addresses. Found 320 warnings, reporting 10
Warning (113009): Data at line (2) of memory initialization file “okhostmicrocode.hex” is too wide to fit in one memory word. Wrapping data to subsequent addresses.
Warning (113009): Data at line (3) of memory initialization file “okhostmicrocode.hex” is too wide to fit in one memory word. Wrapping data to subsequent addresses.
Warning (113009): Data at line (4) of memory initialization file “okhostmicrocode.hex” is too wide to fit in one memory word. Wrapping data to subsequent addresses.
Warning (113009): Data at line (5) of memory initialization file “okhostmicrocode.hex” is too wide to fit in one memory word. Wrapping data to subsequent addresses.
Warning (113009): Data at line (6) of memory initialization file “okhostmicrocode.hex” is too wide to fit in one memory word. Wrapping data to subsequent addresses.
Warning (113009): Data at line (7) of memory initialization file “okhostmicrocode.hex” is too wide to fit in one memory word. Wrapping data to subsequent addresses.
Warning (113009): Data at line (8) of memory initialization file “okhostmicrocode.hex” is too wide to fit in one memory word. Wrapping data to subsequent addresses.
Warning (113009): Data at line (9) of memory initialization file “okhostmicrocode.hex” is too wide to fit in one memory word. Wrapping data to subsequent addresses.
Warning (113009): Data at line (10) of memory initialization file “okhostmicrocode.hex” is too wide to fit in one memory word. Wrapping data to subsequent addresses.
Warning (113009): Data at line (11) of memory initialization file “okhostmicrocode.hex” is too wide to fit in one memory word. Wrapping data to subsequent addresses.
Info (39024): Processed the following Memory Initialization File(s)
Info (39025): Processed Memory Initialization File D:/Oded_sa/project/OpalKelly/code/verilog/sin/okhostmicrocode.hex
Info: Quartus II 64-Bit MIF/HEX Update was successful. 0 errors, 13 warnings
and … i get the same thing …
Help …
             
            
              
              
              
            
           
          
            
            
              Have you followed the procedure in the Samples/README to building an Altera project? Are you able to build the samples?  (e.g. PipeTest, RAMTester)
             
            
              
              
              
            
           
          
            
            
              Hi
- 
my project is base on pipetest source file. 
- 
when i send SetWireInValue (from XML/Python) i get the data on the FPGA side. 
- 
the problem is that i cant receive (after the first time)  WriteToPipeIn
 my diagnostic is (authentication failures) something with the okHostMicrocode.hex file
 
- 
yes i read the README file. 
- 
i tried your pipetest.rbf file and with your exe command  line:
 “PipeTest.exe pipetest.rbf bench” i am getting this plot :
 
---- Opal Kelly ---- PipeTest Application v2.0 ----
FrontPanel DLL loaded.  Built: Mar 14 2015  13:42:08
Found a device: ZEM4310
Device firmware version: 1.18
Device serial number: 143300XXXX  <- i changed this …
Device device ID: 20
FrontPanel support is enabled.
UpdateWireIns  (1000 calls)  Duration: 0.125 seconds – 8000.00 calls/s
UpdateWireOuts (1000 calls)  Duration: 0.203 seconds – 4926.11 calls/s
ActivateTriggerIns  (1000 calls)  Duration: 0.109 seconds – 9174.31 calls/s
UpdateTriggerOuts (1000 calls)  Duration: 0.203 seconds – 4926.11 calls/s
Read  BS:0           SS:4194304     TS:67108864     Duration: 0.187 seconds – 3
42.25 MB/s
Read  BS:0           SS:4194304     TS:33554432     Duration: 0.110 seconds – 2
90.91 MB/s
Read  BS:0           SS:4194304     TS:16777216     Duration: 0.046 seconds – 3
47.83 MB/s
Read  BS:0           SS:4194304     TS:8388608      Duration: 0.023 seconds – 3
47.83 MB/s
Read  BS:0           SS:4194304     TS:4194304      Duration: 0.013 seconds – 3
07.69 MB/s
Read  BS:0           SS:1048576     TS:33554432     Duration: 0.109 seconds – 2
93.58 MB/s
Read  BS:0           SS:262144      TS:33554432     Duration: 0.172 seconds – 1
86.05 MB/s
Read  BS:0           SS:65536       TS:16777216     Duration: 0.234 seconds – 6
8.38 MB/s
Read  BS:0           SS:16384       TS:4194304      Duration: 0.203 seconds – 1
9.70 MB/s
Read  BS:0           SS:4096        TS:1048576      Duration: 0.187 seconds – 5
.35 MB/s
Read  BS:0           SS:1024        TS:1048576      Duration: 0.681 seconds – 1
.47 MB/s
Read  BS:1024        SS:1024        TS:1048576      Duration: 0.719 seconds – 1
.39 MB/s
Read  BS:1024        SS:1048576     TS:33554432     Duration: 0.109 seconds – 2
93.58 MB/s
Read  BS:900         SS:1048500     TS:33553800     Block Size Not Supported
Read  BS:800         SS:1048000     TS:33554400     Block Size Not Supported
Read  BS:700         SS:1047900     TS:33553800     Block Size Not Supported
Read  BS:600         SS:1048200     TS:33554400     Block Size Not Supported
Read  BS:512         SS:1048576     TS:33554432     Duration: 0.109 seconds – 2
93.58 MB/s
Read  BS:500         SS:1048500     TS:33554000     Block Size Not Supported
Read  BS:400         SS:1048400     TS:16777200     Block Size Not Supported
Read  BS:300         SS:1048500     TS:16777200     Block Size Not Supported
Read  BS:256         SS:1048576     TS:16777216     Duration: 0.062 seconds – 2
58.06 MB/s
Read  BS:200         SS:1048400     TS:8388600      Block Size Not Supported
Read  BS:128         SS:1048576     TS:8388608      Duration: 0.031 seconds – 2
58.06 MB/s
Read  BS:100         SS:1048500     TS:8388600      Block Size Not Supported
Write BS:0           SS:4194304     TS:67108864     Duration: 0.203 seconds – 3
15.27 MB/s
Write BS:0           SS:4194304     TS:33554432     Duration: 0.094 seconds – 3
40.43 MB/s
Write BS:0           SS:4194304     TS:16777216     Duration: 0.047 seconds – 3
40.43 MB/s
Write BS:0           SS:4194304     TS:8388608      Duration: 0.023 seconds – 3
47.83 MB/s
Write BS:0           SS:4194304     TS:4194304      Duration: 0.013 seconds – 3
07.69 MB/s
Write BS:0           SS:1048576     TS:33554432     Duration: 0.125 seconds – 2
56.00 MB/s
Write BS:0           SS:262144      TS:33554432     Duration: 0.202 seconds – 1
58.42 MB/s
Write BS:0           SS:65536       TS:16777216     Duration: 0.281 seconds – 5
6.94 MB/s
Write BS:0           SS:16384       TS:4194304      Duration: 0.268 seconds – 1
4.93 MB/s
Write BS:0           SS:4096        TS:1048576      Duration: 0.249 seconds – 4
.02 MB/s
Write BS:0           SS:1024        TS:1048576      Duration: 0.936 seconds – 1
.07 MB/s
Write BS:1024        SS:1024        TS:1048576      Duration: 0.952 seconds – 1
.05 MB/s
Write BS:1024        SS:1048576     TS:33554432     Duration: 0.109 seconds – 2
93.58 MB/s
Write BS:900         SS:1048500     TS:33553800     Block Size Not Supported
Write BS:800         SS:1048000     TS:33554400     Block Size Not Supported
Write BS:700         SS:1047900     TS:33553800     Block Size Not Supported
Write BS:600         SS:1048200     TS:33554400     Block Size Not Supported
Write BS:512         SS:1048576     TS:33554432     Duration: 0.124 seconds – 2
58.06 MB/s
Write BS:500         SS:1048500     TS:33554000     Block Size Not Supported
Write BS:400         SS:1048400     TS:16777200     Block Size Not Supported
Write BS:300         SS:1048500     TS:16777200     Block Size Not Supported
Write BS:256         SS:1048576     TS:16777216     Duration: 0.063 seconds – 2
53.97 MB/s
Write BS:200         SS:1048400     TS:8388600      Block Size Not Supported
Write BS:128         SS:1048576     TS:8388608      Duration: 0.031 seconds – 2
58.06 MB/s
Write BS:100         SS:1048500     TS:8388600      Block Size Not Supported