Community
cancel
Showing results for 
Search instead for 
Did you mean: 
phiho
Beginner
562 Views

FPGA Monitor Program 18.1 Tutorial: Could not query JTAG Instance IDs. Please ensure the FPGA has be

Greetings,

I have been following the instructions in "Intel FPGA Monitor Program
Tutorial for ARM.pdf" with "Intel FPGA Monitor Program"  version 18.1 to work with the board DE10-Nano.

The result was not successful. Please find appended below the transcript of the "Info&Errors".

Please also find attaches a series of screen capture of the process following the instructions from the above said tutorial documentation.

Please advise if I missed something.  Please advise if you need more screen captures.

Regards,

 

phiho

 

Writing the makefile: F:/de10-nano/Tutorials/FPGA_Monitor/18.1/arm/makefile
cd F:/de10-nano/Tutorials/FPGA_Monitor/18.1/arm/; make clean
make: *** No rule to make target `clean'. Stop.
Writing the makefile: F:/de10-nano/Tutorials/FPGA_Monitor/18.1/arm/makefile
cd F:/de10-nano/Tutorials/FPGA_Monitor/18.1/arm/; make clean
make: *** No rule to make target `clean'. Stop.
G:/intel/FPGA/Lite/18.1/quartus/bin64/quartus_pgm -c "DE-SoC [USB-1]" --auto
1) DE-SoC [USB-1]
4BA00477 SOCVHPS
02D020DD 5CSEBA6(.|ES)/5CSEMA6/..
Info: *******************************************************************
Info: Running Quartus Prime Programmer
Info: Version 18.1.1 Build 646 04/11/2019 SJ Lite Edition
Info: Copyright (C) 2019 Intel Corporation. All rights reserved.
Info: Your use of Intel Corporation's design tools, logic functions
Info: and other software and tools, and any partner logic
Info: functions, and any output files from any of the foregoing
Info: (including device programming or simulation files), and any
Info: associated documentation or information are expressly subject
Info: to the terms and conditions of the Intel Program License
Info: Subscription Agreement, the Intel Quartus Prime License Agreement,
Info: the Intel FPGA IP License Agreement, or other applicable license
Info: agreement, including, without limitation, that your use is for
Info: the sole purpose of programming logic devices manufactured by
Info: Intel and sold by Intel or its authorized distributors. Please
Info: refer to the applicable agreement for further details, at
Info: https://fpgasoftware.intel.com/eula.
Info: Processing started: Sat Jan 23 04:28:56 2021
Info: Command: quartus_pgm -c "DE-SoC [USB-1]" -m jtag -o P;G:/intel/FPGA/Lite/18.1/University_Program/Computer_Systems/DE10-Nano/DE10-Nano_Computer/verilog/DE10_Nano_Computer.sof@2
Info (213045): Using programming cable "DE-SoC [USB-1]"
Info (213011): Using programming file G:/intel/FPGA/Lite/18.1/University_Program/Computer_Systems/DE10-Nano/DE10-Nano_Computer/verilog/DE10_Nano_Computer.sof with checksum 0x0B07E6FB for device 5CSEBA6U23@2
Info (209060): Started Programmer operation at Sat Jan 23 04:29:01 2021
Info (209016): Configuring device index 2
Info (209017): Device 2 contains JTAG ID code 0x02D020DD
Info (209007): Configuration succeeded -- 1 device(s) configured
Info (209011): Successfully performed operation(s)
Info (209061): Ended Programmer operation at Sat Jan 23 04:29:04 2021
Info: Quartus Prime Programmer was successful. 0 errors, 0 warnings
Info: Peak virtual memory: 4465 megabytes
Info: Processing ended: Sat Jan 23 04:29:04 2021
Info: Elapsed time: 00:00:08
Info: Total CPU time (on all processors): 00:00:04
cd F:/de10-nano/Tutorials/FPGA_Monitor/18.1/arm/; make clean
make: *** No rule to make target `clean'. Stop.
cd F:/de10-nano/Tutorials/FPGA_Monitor/18.1/arm/; make compile
make: *** No rule to make target `compile'. Stop.
cd F:/de10-nano/Tutorials/FPGA_Monitor/18.1/arm/; make compile
make: *** No rule to make target `compile'. Stop.
Could not query JTAG Instance IDs.
Please ensure the FPGA has been configured using the correct .sof file.

 

0 Kudos
16 Replies
phiho
Beginner
526 Views

Greetings,

It looks like "Intel FPGA University Program" community has migrated elsewhere.

I am going to cross post this question to "Programmable-Devices" in the hope that someone over there could help.

 

Regards,

phiho

 

  •  
phiho
Beginner
505 Views

UPDATE with further info

Dear Intel Community,

The board is now run with the SD image coming with "FPGA Monitor Program 18.1"  the contents described in the README.txt:

"This SD card image contains the UBoot preloader and bootloader. The preloader initializes the hardware, then launches the bootloader. The bootloader looks at the FAT32 partition of the SD card, for the following files:

fpga.rbf
program.bin
setup_environment.bin
set_vbar.bin

The fpga.rbf file is the FPGA programming file, generated by the Intel FPGA Monitor Program (or Quartus).
The bootloader automatically programs the FPGA using this file.

program.bin is the binary of the baremetal program to be executed.
Upon programming the FPGA, the bootloader loads this binary into memory and executes it.

setup_environment.bin is a file generated by the Intel FPGA Monitor Program.
This file tells the bootloader some details about the program like the entry point to the program and whether to program the FPGA (not all projects use the FPGA).

set_vbar.bin is a program that is executed by the bootloader before the user baremetal program.
This program sets the vector base address register to correspond to the location of the vector table in the baremetal program.
Note that as of 16.0, Intel FPGA Monitor Program forces the vector table to be at location 0x0 in memory."

This exercise ended with a dialog box: 

"The system has been successfully downloaded onto the board, but HPS components could not be configured"

The reasons for the failure:

ARM_A9_HPS_arm_a9_0 will be halted upon running the preloader. Skip halting.
ARM_A9_HPS_arm_a9_1 will be halted upon running the preloader. Skip halting.
Halting operation timed out while halting Nios2_2nd_Core
Failed to halt Nios2_2nd_Core
Halting operation timed out while halting Nios2
Failed to halt Nios2
/usr/bin/bash: quartus_hps: command not found
Timed out while waiting for preloader to finish
Preloader failed to run. HPS components may not have been configured.
Possible causes for the failure:
1. Linux SD card is inserted and Linux is running.
2. FPGA-side components are accessing HPS memory.

 

The full contents of the "Info & Error messages" is appended below.

I am looking forwards for your advice.

 

Regards,

phiho

 

Info & Error messages:

G:/intel/FPGA/Lite/18.1/quartus/bin64/quartus_pgm -c "DE-SoC [USB-1]" --auto
1) DE-SoC [USB-1]
4BA00477 SOCVHPS
02D020DD 5CSEBA6(.|ES)/5CSEMA6/..
Info: *******************************************************************
Info: Running Quartus Prime Programmer
Info: Version 18.1.1 Build 646 04/11/2019 SJ Lite Edition
Info: Copyright (C) 2019 Intel Corporation. All rights reserved.
Info: Your use of Intel Corporation's design tools, logic functions
Info: and other software and tools, and any partner logic
Info: functions, and any output files from any of the foregoing
Info: (including device programming or simulation files), and any
Info: associated documentation or information are expressly subject
Info: to the terms and conditions of the Intel Program License
Info: Subscription Agreement, the Intel Quartus Prime License Agreement,
Info: the Intel FPGA IP License Agreement, or other applicable license
Info: agreement, including, without limitation, that your use is for
Info: the sole purpose of programming logic devices manufactured by
Info: Intel and sold by Intel or its authorized distributors. Please
Info: refer to the applicable agreement for further details, at
Info: https://fpgasoftware.intel.com/eula.
Info: Processing started: Thu Feb 04 07:48:38 2021
Info: Command: quartus_pgm -c "DE-SoC [USB-1]" -m jtag -o P;G:/intel/FPGA/Lite/18.1/University_Program/Computer_Systems/DE10-Nano/DE10-Nano_Computer/verilog/DE10_Nano_Computer.sof@2
Info (213045): Using programming cable "DE-SoC [USB-1]"
Info (213011): Using programming file G:/intel/FPGA/Lite/18.1/University_Program/Computer_Systems/DE10-Nano/DE10-Nano_Computer/verilog/DE10_Nano_Computer.sof with checksum 0x0B07E6FB for device 5CSEBA6U23@2
Info (209060): Started Programmer operation at Thu Feb 04 07:48:43 2021
Info (209016): Configuring device index 2
Info (209017): Device 2 contains JTAG ID code 0x02D020DD
Info (209007): Configuration succeeded -- 1 device(s) configured
Info (209011): Successfully performed operation(s)
Info (209061): Ended Programmer operation at Thu Feb 04 07:48:46 2021
Info: Quartus Prime Programmer was successful. 0 errors, 0 warnings
Info: Peak virtual memory: 4465 megabytes
Info: Processing ended: Thu Feb 04 07:48:46 2021
Info: Elapsed time: 00:00:08
Info: Total CPU time (on all processors): 00:00:04
ARM_A9_HPS_arm_a9_0 will be halted upon running the preloader. Skip halting.
ARM_A9_HPS_arm_a9_1 will be halted upon running the preloader. Skip halting.
Halting operation timed out while halting Nios2_2nd_Core
Failed to halt Nios2_2nd_Core
Halting operation timed out while halting Nios2
Failed to halt Nios2
/usr/bin/bash: quartus_hps: command not found
Timed out while waiting for preloader to finish
Preloader failed to run. HPS components may not have been configured.
Possible causes for the failure:
1. Linux SD card is inserted and Linux is running.
2. FPGA-side components are accessing HPS memory.

 

Hazlina_Intel
Moderator
412 Views

Hi,

Thanks for continuing to update this thread with the information of your issue.


FYI I have assigned this case to the team who developed the FPGA monitor program. But they are currently tied up and is not able to respond. I will ping them again, but please do continue to update us as you progress.


-Hazlina


phiho
Beginner
410 Views

Greetings,

Thank you so much for your help.

Now that the team has your attention, would you please ask if they have any intention to update this tool, FPGA Monitor Program. Quartus latest version is now at 20.4

If no new release is planned, would they consider open source it under "altera-opensource"

Best regards,

phiho

 

Blair
Employee
384 Views

Hello,

Responding to your original post. Is the monitor program installed on a different drive versus the project which seems to be on the F: drive? It may be that there is an issue with the monitor program handling of this scenario. 

Kind regards,

Blair

Blair
Employee
383 Views

Hello,

For your second issue, the monitor program cannot be used when using an SD Card to boot linux. Either use the SD Card and boot linux, then connect to linux via the instructions in the tutorial "Use Linux on Terasic DE-Series Boards" (found on 'https://software.intel.com/content/www/us/en/develop/topics/fpga-academic/materials-tutorials.html') or use the monitor program.

 

Kind regards,

Blair

Blair
Employee
382 Views

Hello,

We will not be releasing the monitor program for 20.4. We are working with FPGAcademy to release an open source monitor program via github in mid 2021.

 

Kind regards,

Blair

phiho
Beginner
357 Views

Hello,

<quote>

For your second issue, the monitor program cannot be used when using an SD Card to boot linux. Either use the SD Card and boot linux, then connect to linux via the instructions in the tutorial "Use Linux on Terasic DE-Series Boards" (found on 'https://software.intel.com/content/www/us/en/develop/topics/fpga-academic/materials-tutorials.html') or use the monitor program.

</quote>

 

You lost me here. BTW, this is a broken link :

 https://software.intel.com/content/www/us/en/develop/topics/fpga-academic/materials-tutorials.html

 

Regards,

phiho

 

phiho
Beginner
356 Views

Hi,

 

> We will not be releasing the monitor program for 20.4.

> We are working with FPGAcademy to release an open source monitor program via github in mid 2021.

Thank you for the info.

 

Regards,

phiho

 

phiho
Beginner
354 Views

Hi,

Is the monitor program installed on a different drive versus the project which seems to be on the F: drive?

 It may be that there is an issue with the monitor program handling of this scenario. 

It is assumed that you were able to reproduce the problem. Please confirm that you successfully finish the task with the project and the FPGA Monitor program on the same drive (which drive).

Please also advise if you used the default boot micro SD card comes with the board or the SD card with boot image from the installation of the FPGA Monitor program and how did you connect the micro and mini USB ports to the computer.

Regards,

phiho

 

Blair
Employee
345 Views

Hello,

Responding to your 3 recent posted in order that they were posted:

1) Sorry, the link got messed up (a ' was added at the end of the URL). https://software.intel.com/content/www/us/en/develop/topics/fpga-academic/materials-tutorials.html

We provide two ways to use the ARM processor on the board: i) Using an SD Card with Linux or ii) Using the Monitor Program to write 'baremetal' (no OS) programs. You cannot boot linux using an SD Card and then try to connect using the Monitor Program. To use the Monitor Program please remove any SD Card before turning the board on. Both methods are described in separate tutorials found on the page linked above.

2) You are welcome.

3) I was not able to reproduce the issue. I do remember having to fix that issue in the past. I suggest having Quartus, the Monitor Program and your project all on the same drive, just to be safe.

I'm not using a SD Card because that doesn't work when trying to use the Monitor Program. But if you want to use linux instead of the Monitor Program, I'd use the SD Card image found here: https://software.intel.com/content/www/us/en/develop/topics/fpga-academic/materials-sd-card-images.h...

 

 

phiho
Beginner
303 Views

Hello,

1) Sorry, the link got messed up (a ' was added at the end of the URL). https://software.intel.com/content/www/us/en/develop/topics/fpga-academic/materials-tutorials.html

Thank you, it works now.

>1) To use the Monitor Program please remove any SD Card before turning the board on. 

I just took my FPGA card behind the back burner, dusting it off, removing the SD card, connecting all three micro/mini USB ports to my computer and power it up.

3) I was not able to reproduce the issue. I do remember having to fix that issue in the past. I suggest having Quartus, the Monitor Program and your project all on the same drive, just to be safe.

F:\de10-nano\Tutorials\FPGA_Monitor\18.1\ was moved to:

G:\intel\de10-nano\Tutorials\FPGA_Monitor\18.1

On drive G: there are also these folders:

G:\intel\FPGA\Lite\18.1\quartus

G:\intel\FPGA\Lite\18.1\University_Program

G:\intel\FPGA\Lite\18.1\University_Program\SD_Card_Images\DE10-Nano

 

"Intel FPGA Monitor Program 18.1" was started and the project "G:\intel\de10-nano\Tutorials\FPGA_Monitor\18.1\arm\arm_de10_nano_asm.amp" was loaded.

Please find attached the project file "arm_de10_nano_asm.amp",  screen shot of this run "arm_de10_nano_asm-Feb-26-2021.jpg", and the Info&Errors message "arm_de10_nano_asm-Info&Errors-Feb-26-2021.txt"

It was asked how should the USB ports on the FPGA card be connected to the computer but no answers were given so all of them were connected. maybe this is the reason for the failure?

Maybe, Quartus and "Intel FPGA Monitor Program" must be installed to the default location on drive C: for "Intel FPGA Monitor Program" and the tutorial project must be at a specific location?

I am also wondering why the "Intel FPGA Monitor Program 18.1" installation put "G:\intel\FPGA\Lite\18.1\University_Program\SD_Card_Images\DE10-Nano\DE10-Nano_UBoot_SD_Rev1.img" in a zip file under "G:\intel\FPGA\Lite\18.1\University_Program\SD_Card_Images\DE10-Nano"  while no SD card should be inserted into the FPGA board.

Thank you so much for you help. It is much appreciated.

BTW, are you in the "Intel FPGA Monitor Program" team?

 

Regards,

phiho

 

Blair
Employee
282 Views

Hello,

It was asked how should the USB ports on the FPGA card be connected to the computer but no answers were given so all of them were connected. maybe this is the reason for the failure?

You only need to connect the USB-Blaster port. It is labeled on the board. But this is unlikely the issue.

 

Maybe, Quartus and "Intel FPGA Monitor Program" must be installed to the default location on drive C: for "Intel FPGA Monitor Program" and the tutorial project must be at a specific location?

I don't believe this is the issue.

 

I am also wondering why the "Intel FPGA Monitor Program 18.1" installation put ...

The installer is for all university program software, not just the Monitor Program.

 

BTW, are you in the "Intel FPGA Monitor Program" team?

I am a member of the Intel FPGA Academic Program team which created the Monitor Program

 

Can you please share a screenshot of the Monitor Program after clicking okay to the "Download System - Partial Success" dialog box seen in the screenshot that you already posted?

 

Kind regards,

Blair

phiho
Beginner
276 Views

Hello,

Can you please share a screenshot of the Monitor Program after clicking okay to the "Download System - Partial Success" dialog box seen in the screenshot that you already posted?

It looks like  "Download System - Partial Success" was the last words from  "Intel FPGA Monitor Program".

Please find attached the requested screenshot, arm_de10_nano_asm-Mar-01-2021.jpg.

> I am a member of the Intel FPGA Academic Program team which created the Monitor Program

Just out of curiosity, do you or your department has access to a De10-Nano board and the "Intel FPGA Monitor Program" running on a computer with a USB port. 

 

BTW, the subject now is changed to 'FPGA Monitor Program 18.1 Tutorial: "Download System - Partial Success" '

Regards,

phiho

 

Blair
Employee
274 Views

Hello,

The Monitor Program did download the circuit. Please try compiling and downloading the program. If that succeeds, then you will be able to run the program.

 Yes, we do have access to the board and the Monitor Program, but we cannot reproduce this issue.

Kind regards,

Blair

phiho
Beginner
267 Views

Hello,

 Please try compiling and downloading the program. 

Please advise how to achieve this.

Yes, we do have access to the board and the Monitor Program, but we cannot reproduce this issue.

This is good to know. It is much appreciated if you would share your project file, the assembly source files  and specify which version of Quartus and "Intel FPGA Monitor Program" you were using, the steps you performed, the screenshots and the messages in the "Info & Errors" panel after the run.

 

My project, "arm_de10_nano_asm.amp" contains two assembly programs: "simple_program.s" and "address_map_arm.s".

When I run "Actions/Compile&Load"  I got "Loading errors". 

Please find attached a screenshot and the "Info&Errors" messages.

It looks like we went the full cycle, back to where we started with the subject line: "Could not query JTAG Instance IDs". Should I change the subject line again or we all know too well what the problems are?

Regards,

phiho