In an effort to debug other issues, I removed my new dev board from the host's PCIe and am using the DC power cable instead. When I switch power on, the LCD is backlit but blank. I used to see messages when plugged into PCIe. Now there's nothing. All the User LEDs are red, they used to be green. I have all DIP SW settings to defaults in section 3 of the User Guide.
When I run arria-10-dev-kit/examples/board_test_system/BoardTestSystem.sh, I get the UI with the message in the UI window saying, "No USB Blaster is detected or selected. Please check connections and restart the program."
On the host, jtagconfig shows:
$ jtagconfig 1) USB-BlasterII [1-6.2] 02E660DD 10AX115H1(.|E2|ES)/10AX115H2/.. 020A40DD 5M(1270ZF324|2210Z)/EPM2210
Clearly the board is powering up in some weird state. I verified the DIP Switches SW3, SW4, SW5, and SW6 are set to the factory reset defaults.
However, when I set DIP SW6 pin 4 to "OFF" (factory reset disabled), the board comes up OK with all LEDs green and the LCD showing "Net Initialize..." (I don't have the ethernet cable plugged in).
With the USB cable connected, I run BoardTestSystem on the host but get an exception with a popup warning saying, "Failed to get this device." Here's the host's console output:
$ ./bts.sh Success! Current OS:Linux Nov 07, 2019 11:06:07 AM com.altera.bts.BtsView <init> INFO: Board version: Rev E3, chip version: PRD Nov 07, 2019 11:06:07 AM com.altera.bts.systemconsole.client.ClientApp attachServer INFO: [/home/okramer/intelFPGA_pro/19.3/quartus/sopc_builder/bin/system-console, --server] Nov 07, 2019 11:06:07 AM com.altera.bts.systemconsole.client.ClientApp attachServer INFO: Here is the standard output of the command: Nov 07, 2019 11:06:11 AM com.altera.bts.systemconsole.client.ClientApp attachServer INFO: TCP PORT: 46573 Nov 07, 2019 11:06:17 AM com.altera.bts.systemconsole.client.JtagInfo retrieveDeviceList INFO: 2 device detected: /devices/10AX115H1(.|E2|ES)|10AX115H2|..@1#1-6.2 /devices/5M(1270ZF324|2210Z)|EPM2210@2#1-6.2 Nov 07, 2019 11:06:17 AM com.altera.bts.systemconsole.client.ClientApp getCompatibleBoardInfoArray INFO: System Max matched: true, Fpga matched: true Nov 07, 2019 11:06:17 AM com.altera.bts.BtsView <init> INFO: Selected JTAG cable is: USB-BlasterII on localhost (1-6.2) Nov 07, 2019 11:06:17 AM com.altera.bts.BtsView <init> INFO: FPGA device on index 1, System MAX on index 2 Nov 07, 2019 11:06:17 AM com.altera.bts.InstanceChecker registerInstance INFO: Application Register. Type: Board Test System GUI Nov 07, 2019 11:06:17 AM com.altera.bts.systemconsole.client.SysConService <init> INFO: Claim master service succeed! Service path: "/devices/5M(1270ZF324|2210Z)|EPM2210@2#1-6.2/(link)/JTAG/(110:130 v3 #0)/jtagmem_0", claimed path: /channels/remote1/(lib)/master_1. Nov 07, 2019 11:06:18 AM com.altera.bts.SysInfo init INFO: Claim sysinfo master service. Nov 07, 2019 11:06:18 AM com.altera.bts.systemconsole.client.SysConService <init> INFO: Claim master service succeed! Service path: "/devices/5M(1270ZF324|2210Z)|EPM2210@2#1-6.2/(link)/JTAG/(110:130 v3 #0)/jtagmem_0", claimed path: /channels/remote1/(lib)/master_2. Nov 07, 2019 11:06:18 AM com.altera.bts.DesignDetection readFpgaDesignType INFO: Claim FPGA master service to read design type. Nov 07, 2019 11:06:18 AM com.altera.bts.systemconsole.client.SysConService <init> SEVERE: java.io.IOException: Get master service paths failed! Device: "/devices/10AX115H1(.|E2|ES)|10AX115H2|..@1#1-6.2" Type: Nov 07, 2019 11:06:18 AM com.altera.bts.systemconsole.client.SysConService <init> INFO: Claim master service succeed! Service path: "/devices/10AX115H1(.|E2|ES)|10AX115H2|..@1#1-6.2/(link)/JTAG/(70:34 v3 #0)/nios2_0", claimed path: /channels/remote1/(lib)/master_3. Nov 07, 2019 11:06:18 AM com.altera.bts.systemconsole.client.SysConService closeService INFO: close_service master "/channels/remote1/(lib)/master_3" Nov 07, 2019 11:06:18 AM com.altera.bts.Programmer getMessage SEVERE: null java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For input string: "USB-BlasterII on localhost (1-6.2)" at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:206) at com.altera.bts.Programmer.getMessage(Programmer.java:208) at com.altera.bts.BUP.updateBup(BUP.java:80) at com.altera.bts.BUP.access$100(BUP.java:44) at com.altera.bts.BUP$1BupTask.run(BUP.java:64) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NumberFormatException: For input string: "USB-BlasterII on localhost (1-6.2)" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.valueOf(Integer.java:740) at java.lang.Integer.decode(Integer.java:1197) at com.altera.bts.systemconsole.client.CommandShell.getUsbIndex(CommandShell.java:102) at com.altera.bts.systemconsole.client.CommandShell.getUsbIndexString(CommandShell.java:109) at com.altera.bts.systemconsole.client.CommandShell.getCableIndex(CommandShell.java:117) at com.altera.bts.Programmer.lambda$getBoardInfo$0(Programmer.java:110) at java.util.concurrent.FutureTask.run(FutureTask.java:266) ... 3 more
Is there something I'm missing?
May I know, have you tried BTS test with Quartus II software v15.1.2 build 193. You can check the requirement in readme.txt file. The manufactured board’s BTS was built with Quartus II software v15.1.2 build 193. Possibly it is caused by the difference in system console of different Quartus revisions. It is suggested to use the right Quartus version with the right dev.kit version.
@AAbd RAhman_Intel I tried with Quartus 19.3 and later with 18.1 after a suggestion from another Intel engineer. What readme.txt are you referring to? -- there are many. How can I tell what the dev kit version is? FWIW the board serial number is 10APCIe0003031.
The readme.txt can be found in Table 3. Arria 10 FPGA Downloadable Content. This readme.txt file accompanies the Arria 10 FPGA Development Kit. https://www.intel.com/content/www/us/en/programmable/products/boards_and_kits/dev-kits/altera/kit-a10-gx-fpga.html
@AAbd RAhman_Intel Thanks. That link contains the board package I previously downloaded, and that contains the BTS. I do see
ACDS Release: v15.1.2 build 193 Board revision: Rev E3p1 ... Software Requirements ======================== Demo applications installed with the Development Kit require the installation of Quartus Prime v15.1.2 or later and are supported on the following operating systems:
That says "Quartus Prime v15.1.2 or later." But you say that Quartus needs to be exactly the same version? If so, then even though Quartus is at 19.3, the latest dev board package requires a much older Quartus? I couldn't find a download for Quartus 15.1.2, only 15.0.
I moved my testing to an Ubuntu 16.04 box, USB only (no PCIe, but connecting via USB) and I still encounter the same error in BTS. Here is a screenshot with console in the background showing a java exception. Note bup_webserver.sof is loaded (I didn't do that). The device has ethernet connected and is indicating an address I reserved, but it is different than the .1.100 indicated on the GUI. Anything I try from the Configure menu generates the "failed to get device" warning.
You can download Quartus 15.1.2 on Download Center for FPGAs http://fpgasoftware.intel.com/15.1/?edition=pro&platform=windows at ‘update’ tab and ensure the Quartus Prime software v15.1 is installed.
I'm a bit skeptical about this. Even though the readme says, "Quartus Prime v15.1.2 or later," you say it has to be exactly 15.1.2, correct? To reinforce my skeptibility, I'm getting this message when downloading the older version:
"Quartus Prime Pro Edition version 15.1 Beta is discontinued. Contact your Altera Sales representative."
Some of the IP file directory structures and hierarchy are different between Quartus version which could be contributing to the issue you have observed. Hence, that is the reason I requested to try installing Quartus Prime Standard 15.1.2 as the BTS UI that has been tested by the board manufacture.
Could you try download form this link https://www.intel.com/content/www/us/en/programmable/downloads/download-center.html