Forum Discussion
Problem on JTAG ID code
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?14 Replies
- Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
Not only I have met this problem. Smloo did so.
http://forum.niosforum.com/forum/index.php?showtopic=2763 (http://forum.niosforum.com/forum/index.php?showtopic=2763) - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
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? - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
please check nios v5.1. there are two dir for 60 and 60ES.
- Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
did you use qii 5.1 ?
- Altera_Forum
Honored Contributor
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.