Article ID: 000082965 Content Type: Troubleshooting Last Reviewed: 09/11/2012

Why do I receive the following error message "Detected 0 devices expecting 1 device" when trying to use the Nios OCI debugger?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description You may receive this error message if the JTAG chain parameters are not properly setup according to the JTAG chain on your board. Please follow these steps:

  1. Open the Nios OCI Console by typing "nc" at the Nios SDK Shell prompt.
  2. Type “sld info” at the Nios OCI Console prompt to detect the devices and nodes on the JTAG chain.You will see something like the following:

    1> sld info
    sld hw 0: ByteBlasterMV [LPT1]
       sld device 1: EP20K200C/E
           sld node 1: owner: First Silicon Solutions; ver: 0; Id: 21
       sld device 2: EPM3064A/7064AE

  3. Note the hardware number, node number and device number of the First Silicon Solutions node. This is the FS2 OCI debug core which the host needs to communicate with during debugging sessions.
  4. Type “sld set <hw number> <device number> <node number>” where <hw number>, <device number> and <node number> target the FS2 OCI debug core (from steps 1 and 2).
  5. Type “closeport” to terminate communication with the target.
  6. Type “openport sld” to reconnect to the target with the new parameters.

You should now be able to communicate with the target. For more information refer to First Silicon Solution’s Nios Getting Started document which you can find in the following location: <Nios install directory>\bin\fs2\doc\Nios-Getting-Started.pdf.

Related Products

This article applies to 1 products

Intel® Programmable Devices

1