Forum Discussion
Altera_Forum
Honored Contributor
19 years agoCan not do TryOutuClinux!
Hi,
This days, I am trying to resolve the problem about running the uClinux in Altera Nios dev board, mentioned in my last post, so many methods I've tried, even followed the steps in TryOutuClinux in nioswiki, but there is only one result, failed. here is the information system gives me: >>Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 >>Pausing target processor: not responding. >>Resetting and trying again: FAILED >>Leaving target processor paused I am so sad with this problem. I am afraid the dev board is broken, that will be terrible. Anyone got idea?11 Replies
- Altera_Forum
Honored Contributor
Did you upload the correct FPGA config?
- Altera_Forum
Honored Contributor
Which Altera Dev board do you use?
Did you config FPGA sof before download program , as Helmchen said? - Altera_Forum
Honored Contributor
<div class='quotetop'>QUOTE </div>
--- Quote Start --- Which Altera Dev board do you use?[/b] --- Quote End --- The dev board is Nios Development Board, Stratix Edition, with A Stratix EP1S10F780C6 device, 8 Mbytes of flash memory, 1 Mbyte of static RAM, 16 Mbytes of SDRAM. <div class='quotetop'>QUOTE </div> --- Quote Start --- Did you config FPGA sof before download program , as Helmchen said?[/b] --- Quote End --- Of course, first of all, I download the standard .sof file to config FPGA, and then do the procedure: nios2-download -g zImage_std_1s10 this is OK! nios2-terminal the error comes! - Altera_Forum
Honored Contributor
I updated the zImage_std_1s10. Please check again. And what is the error message of nios2-terminal ?
- Altera_Forum
Honored Contributor
<div class='quotetop'>QUOTE </div>
--- Quote Start --- And what is the error message of nios2-terminal?[/b] --- Quote End ---
And not responsing any more! <div class='quotetop'>QUOTE </div> --- Quote Start --- I updated the zImage_std_1s10[/b] --- Quote End --- Got it! Thanks for your help, hippo! But still won't work. Is there any possibility that my dev board has some problems?Two weeks ago, I could download the image and the uClinux system run well.$ nios2-terminal.exe nios2-termial: connected to hardware target using JTAG UART on cable nios2-termial: "USB-Blaster ", device 1, instance 0 nios2-termial: (Use the IDE stop button or Ctrl-C to terminate - Altera_Forum
Honored Contributor
Did you add -g option to nios2-download?
What is the message of nios2-download? - Altera_Forum
Honored Contributor
<div class='quotetop'>QUOTE </div>
--- Quote Start --- Did you add -g option to nios2-download[/b] --- Quote End --- yes, I add the -g opting when I use nios2-download command <div class='quotetop'>QUOTE </div> --- Quote Start --- What is the message of nios2-download?[/b] --- Quote End --- [SOPC Builder]$ nios2-download -g zImage_std_1s10 Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 pausing target processor: OK Downloaded 1196KB in 16.8s (71.1KB/s) Verified OK Starting processor at address 0x11500000 - Altera_Forum
Honored Contributor
Please try a Hello world example on IDE/HAL running from SDRAM.
- Altera_Forum
Honored Contributor
Hi, hippo,
I build the hello world project with the standard .sof file in C:\altera\kits\nios2\examples\verilog\niosII_stratix_1s10\standard, and following is the result! nios2-terminal: connected to hardware target using JTAG UART on cable nios2-terminal: "USB-Blaster [USB-0]", device 1, instance 0 nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) Hello from Nios II! - Altera_Forum
Honored Contributor
That seems good. It looks like the sdram works.
I have already reinstalled the Quartus and Nios IDE, but uClinux can not be booted where is the problem?