Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Problem on JTAG ID code

Altera_Forum
Honored Contributor II
2,111 Views

I am using Altera DSP Development Kits(Stratix II 2S60).  

 

Do Nios II Linux v1.4 support it? If so, where can I find the appropriate source code for it?  

 

I use Nios II Linux Distribution v1.4 now. However only codes for Stratix II 2S60ES available after setup. When I use them on my board. An error message appears: 

 

------------------------------------------------ 

Microtronix Linux Extensions 

Version 1.4, Built June 20, 2005 

------------------------------------------------ 

WARNING: Default charset GBK not supported, using ISO-8859-1 instead 

Dec 30, 2005 3:19:27 PM - (??) nios2-flash-programmer: Launching Quartus Program 

mer to download: 

c:/altera/kits/nios2/components/altera_nios_dev_board_stratix_2s60_es/syste 

m/altera_nios_dev_board_stratix_2s60_es.sof 

Error: Can't configure device. Expected JTAG ID code 0x020930DD for device 1, bu 

t found JTAG ID code 0x120930DD. 

Error: Operation failed 

Error: Quartus II Programmer was unsuccessful. 2 errors, 0 warnings 

Dec 30, 2005 3:21:34 PM - (??) nios2-flash-programmer: Unable to download SOF: c 

:/altera/kits/nios2/components/altera_nios_dev_board_stratix_2s60_es/system/alte 

ra_nios_dev_board_stratix_2s60_es.sof, exiting 

WARNING: Default charset GBK not supported, using ISO-8859-1 instead 

 

 

Is there any way to fix it? Or change the JTAG ID code to 0x120930DD?
0 Kudos
14 Replies
Altera_Forum
Honored Contributor II
710 Views

You don't want to _start_ by trying to use Linux. First, you need to try to get the Nios II examples, that ship with the Stratix II DSP kit, working. Then you can move onto attempting Linux with this board. 

 

I believe that there are several threads, on this forum, dealing with this particular board. I suggest that you search this forum for further information, prior to posting questions. 

 

Best Regards, 

 

- Brendan
0 Kudos
Altera_Forum
Honored Contributor II
710 Views

Thank you for your reply. I am new here. I will search this forum later. 

 

I have tried the example shipped with development kit. However the same problem occupided:( Because only example for 2s60ES supported with it. No project for 2s60. 

 

 

Any suggestion? 

 

Thank you again. 

 

Regards 

 

 

 

Yueran
0 Kudos
Altera_Forum
Honored Contributor II
710 Views
0 Kudos
Altera_Forum
Honored Contributor II
710 Views

So.... rebuild/re-target the project to the 2S60. I believe the only work involved is re-compiling in Quartus II, with the 2S60 device selected. No pinout changes should be necessary. 

 

Best of luck! 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
710 Views

Thank you for your advice. The "hello world" example and maybe other examples will work when rebuild to the 2S60. However, what I want to use is uCLinux. I am using Nios II Linux Distribution v1.4 (download from http://forum.niosforum.com/forum/index.php...t=0&#entry7949) (http://forum.niosforum.com/forum/index.php?act=st&f=13&t=2006&st=0&#entry7949)) 

 

This distribution support the Altera Nios II 2s60 ES Development board, while no support to the 2S60. So what should I do? change the ptf file, how to do it? or etc.. 

 

Is there any uCLinux package for 2S60?
0 Kudos
Altera_Forum
Honored Contributor II
710 Views

I found the problem may be caused by altera_nios_dev_board_stratix_2s60_es.sof (under C:\altera\kits\nios2\components\altera_nios_dev_board_stratix_2s60_es\system) 

 

When I upload the file named "vmlinux.bin", firstly, the above sof file will be downloaded to the board.  

 

This time, I use the sof file for 2s60 (from example "hello world") instead of that one. No JTAG error appears. The sof file downloaded succusfully. Hence I think the most important thing is to find the right sof file for uCLinux to 2S60. Anyone have the project file or SOF file? I can rebuild it by myself. Or can send to me. 

 

Regards 

 

Yueran
0 Kudos
Altera_Forum
Honored Contributor II
710 Views

please check nios v5.1. there are two dir for 60 and 60ES.

0 Kudos
Altera_Forum
Honored Contributor II
710 Views

Thank you. 

 

I have copy 2s60 SOP file from nios ii 5.1. Building is successful. However, when I try to upload uCLinux to board, nios ii can not find flash- device. 

 

Error information as follows. 

 

------------------------------------------------ 

Microtronix Linux Extensions 

Version 1.4, Built June 20, 2005 

------------------------------------------------ 

WARNING: Default charset GBK not supported, using ISO-8859-1 instead 

Jan 6, 2006 11:01:02 AM - (??) nios2-flash-programmer: Launching Quartus Program 

mer to download: 

c:/altera/kits/nios2/components/altera_nios_dev_board_stratix_2s60/system/a 

ltera_nios_dev_board_stratix_2s60.sof 

Jan 6, 2006 11:01:22 AM - (??) nios2-flash-programmer: Error opening target hard 

ware 

Jan 6, 2006 11:01:22 AM - (??) nios2-flash-programmer: Unable to open flash-d 

evice after successfully communicating  

with target. 

It is likely that you are using a flash-programming FPGA design which 

was not created for your target board. 

 

In order to program flash, you must first create a purpose-built 

flash-programming design (i.e. FPGA configuration) and associate it with 

your particular board. The Nios development kit is delivered with purpose-bui 

lt 

flash-programming designs pre-built for several development boards. If you wi 

sh 

to program flash on your own board, you must first create a flash-programming 

design. 

 

The process of creating a flash-programming design for your board is mostly 

automated. From a bash-shell, execute this script: 

 

mk_target_board --help 

 

The help-message includes references to other documentation on programming 

flash and targeting Nios systems to custom board designs. 

- exiting. 

WARNING: Default charset GBK not supported, using ISO-8859-1 instead
0 Kudos
Altera_Forum
Honored Contributor II
710 Views

did you use qii 5.1 ?

0 Kudos
Altera_Forum
Honored Contributor II
710 Views

No, qii 5.0 

 

How can I get qii5.1? 

 

what is the difference between them? 

I am useing Nios ii 5.0 to rebuild uClinux kernel.
0 Kudos
Altera_Forum
Honored Contributor II
710 Views

The qii5.1 and nios5.1 are released. 

Update to them. There are a lot of bugs fixed.
0 Kudos
Altera_Forum
Honored Contributor II
710 Views

However, qii 5.1 have more bugs not fixed than 5.0.

0 Kudos
Altera_Forum
Honored Contributor II
710 Views

http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/unsure.gif  

Sorry i&#39;m not an expert.  

I have the same problem (JTAG ID Expected.....) but i can&#39;t solve it! 

Plase can you explain me clearly how have i to do? 

Thank you! 

(I need also example about multithreading).
0 Kudos
Altera_Forum
Honored Contributor II
710 Views

There are samples about multithreading under 

altera\kits\nios2_51\examples\software\linux\apps\samples\thread
0 Kudos
Reply