ARM Technical Support Knowledge Articles

I cannot connect to my MPS board or download images when using the HPE_Desk tool in Windows 7

Applies to: MPS

Scenario

The HPE midiv2 DVD 1.0 from Gleichmann Electronics including Altera Quartus II Web Edition that is shipped with the MPS Development Board, contains the following tools software versions:

Newer versions of the software tools mentioned above are available from the Gleichmann and Altera Website respectively.

To download the latest version of HPE_Desk, every customer should register at the Gleichmann homepage:

www.ge-research.com/registration.php

After registration, a username and a password are provided to download the latest software from the following location:

 www.ge-research.com/updates.php

To download the latest version of Altera Quartus II Software tools, please refer to the following location: 

www.altera.com/download/dnl-index.jsp

Users of Windows 7 may initially experience some issues to get the HPE_Desk basic/Altera Quartus tools to work, such us:

Work-arounds for these issues are provided below.

Answer

Known issues and work-arounds with the Altera drivers:

  1. The latest Altera Quartus II drivers might be required to work on Windows 7, for example the drivers provided with Altera Quartus II v10.0 or later.
  2. So that the Altera drivers can function correctly, two environment variables (QUARTUS_ROOT_DIR and PATH) must be set. Normally the Quartus tool does it automatically during installation, however we have observed that some versions don't. If this is the case and if you have successfully installed the Altera drivers, you will observe the following error message in the HPE_Desk console when trying to connect to the board:
WARNING: Could not load jtag_client.dll - make sure it is accessible via PATH
ERROR: Altera JTAG interface device driver is not installed.
ERROR: Error in detectConnectedHardware
WARNING: No connected Hpe FPGA Module detected (connected via ALTERA_INTERFACE)

It is possible that the environment varibles mentioned above have not been set automatically during the Altera Quartus installation. Check that QUARTUS_ROOT_DIR and PATH are set as follows and if they are not, proceed to set them manually:

QUARTUS_ROOT_DIR  c:\altera\11.0sp1\quartus\bin

Also add this to your "PATH"

PATH  c:\altera\11.0sp1\quartus\bin 

Known issues and work-arounds when programming the MPS CPU image:

In HPE_Desk, when downloading a processor image (.pof file) to the CPU FPGA, you might observe the following error message:

Executing 'quartus_pgm -c USB-Blaster [USB-0] C:\Program Files\MPS_3_0\sw\Cortex_M\fpga_cpu\
physical\mpb_proc\altera\netlist\Hpe_ProcessorFlashDownload.cdf'
ERROR: Encountered an error with the command 'quartus_pgm -c USB-Blaster [USB-0] C:\Program Files\
MPS_3_0\sw\Cortex_M\fpga_cpu\physical\mpb_proc\altera\netlist\Hpe_ProcessorFlashDownload.cdf'.
Aborting execution.

In summary, this is due to some access restrictions in Windows 7. The user has write access to "C:\Program_Files\..." but programs started by the user don't.

HPE_Desk creates a .cdf file that is required as an input for Quartus to download the .pof file (CPU image) to the CPU FPGA. The .pof files are located at the following default installation path

C:\Program Files\MPS_3_0\sw\Cortex_M\fpga_cpu\physical\mpb_proc\altera\netlist

Windows 7 writes the .cdf file to a hidden location which is in Virtual Store:

C:\Users\estram01\AppData\Local\VirtualStore\Program Files\MPS_3_0\sw\Cortex_M\fpga_cpu\physical\mpb_proc\altera\netlist

It does not do a mirror of this in Program Files (where the .pof file is located), so that HPE_Desk cannot find the .cdf file together with the .pof file and therefore the error above. There are a few work-arounds to this problem:

 

  

Work-around 1: Change the User Account Control settings in Windows 7

Note: This option disables prevention against potentially harmful programs.

 

Work-around 2: Copy the "netlist" folder containing the .pof files to another folder, for example a folder in C:\

 

Work-around 3: There has been implemented a fix for this issue in the latest version of HPE_Desk basic, for example v3.2 or later. Now a .pof file is copied to a user writeable directory before the .cdf is created (but only when the .pof file is located in C:\ProgramFiles\...).

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential