- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?Link Copied
11 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you upload the correct FPGA config?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which Altera Dev board do you use?
Did you config FPGA sof before download program , as Helmchen said?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
<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!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I updated the zImage_std_1s10. Please check again. And what is the error message of nios2-terminal ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
<div class='quotetop'>QUOTE </div>
--- Quote Start --- And what is the error message of nios2-terminal?[/b] --- Quote End ---$ 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
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you add -g option to nios2-download?
What is the message of nios2-download?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
<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- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please try a Hello world example on IDE/HAL running from SDRAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hippo, I also build a memory test project with the standard .ptf file, and it runs in IDE. This project can test flash, sram and sdram in dev board.
type, begin address , end address, size flash 0x00000000 , 0x008FFFFF, 8M sram 0x02000000, 0x020FFFFF, 1M sdram 0x01000000, 0x01FFFFFF, 16M The flash and sram are OK, but when I test the sdram, nothing responsing. The following is the information in console.nios2-terminal: connected to hardware target using JTAG UART on cable
nios2-terminal: "USB-Blaster ", device 1, instance 0
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
<----> Nios II Memory Test. <---->
This software example tests the memory in your system to assure it
is working properly. This test is destructive to the contents of
the memory it tests. Assure the memory being tested does not contain
the executable or data sections of this code or the exception address
of the system.
----------------------------------
Memory Test Main Menu
----------------------------------
a: Test RAM
b: Test Flash
q: Exit
----------------------------------
Select Choice (a-b): b
Enter the name of the CFI flash device to be opened,
or just press <enter> to open "/dev/ext_flash")
>
-Successfully opened /dev/ext_flash
-Region 0 contains 128 blocks.
-Checking Region 0 for erased blocks.
-Block 92, at address 0x5C0000 is erased.
-Would you like to test this block? (y/n)y
-Starting Flash Test.
-Testing "alt_write_flash" and "alt_read_flash".
pass 1 - passed.
pass 2 - passed.
-Testing "alt_erase_flash_block". passed.
-Testing "alt_write_flash_block". passed.
-Testing unaligned writes. passed.
-Returning block 92 to its erased state.
-Flash tests complete.
-Closing flash device "/dev/ext_flash".
----------------------------------
Memory Test Main Menu
----------------------------------
a: Test RAM
b: Test Flash
q: Exit
----------------------------------
Select Choice (a-b): a
Base address to start memory test: (i.
e. 0x800000)
>0x02000000
End Address:
>0x020FFFFF
Testing RAM from 0x2000000 to 0x20FFFFF
-Data bus test passed
-Address bus test passed
-Byte and half-word access test passed
-Testing each bit in memory device. . . passed
Memory at 0x2000000 Okay
----------------------------------
Memory Test Main Menu
----------------------------------
a: Test RAM
b: Test Flash
q: Exit
----------------------------------
Select Choice (a-b): a
Base address to start memory test: (i.e. 0x800000)
>0x01000000
End Address:
>0x01FFFFFF
Testing RAM from 0x1000000 to 0x1FFFFFF
No result about sdram! I tries many times and got the same thing.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page