Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

NIOS II IDE Debugging with mixed devices in JTAG chain

Hi,

I have a Cyclone IV and a TI ARM Processor connected to a single JTAG chain (looped). I can successfully program the Cyclone IV EPCS device via the JTAG chain and the Quartus programmer by adding the bsdl file as a second device in the device list in the programmer. When i use the NIOS II IDE "Debug as Nios hardware" i have trouble downloading the software to the NIOS system. (Without the second device in the chain i did download successful.) I was wondering if i need to add the second device "ARM" bsdl file somewhere in the NIOS II IDE Create, manage and run configuration window to be able to download the NIOS II software? If yes please advise where and what to add.

Thanks

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    What error message are you getting exactly? I don't use the IDE, but when using the command line nios utilities you need to specify a device number with the -d flag to tell which device in the JTAG chain to use. If the FPGA is the first in the chain, you must use a device number of 0. If you are using the GUI there must be a place in Eclipse's target window to specify the device number.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Thankyou for the reply.

    I can confirm that with the FPGA as the first device the NIOS II IDE device ID is set to 1 and the instance ID set to 0, but it is working fine now.

    So it seems that NIOS II IDE do not have a the issue to add a BSDL file as with Quartus programmer. It is only the Instance ID which need to be correct.

    Many thanks for taking the time to reply to my request.