Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
783 Views

Problem when download to Board

Hello 

 

I'm a newbe with nios. I have a devolement board, with a nios cyclone cpu.  

 

When I want to download uClinux for my board it write this: 

 

[SOPC Builder]$ nr linux.srec 

 

nios-run: Ready to download linux.srec over COM1: at 115200 bps 

 

nios-run: Downloading.# 0300: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF# ................ 

# .................# 0380: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF# ................# ect. ect. ect. 

 

It just continue forever.  

 

I don't have any problem when I download uC/OS-II. 

 

What can be wrong?? 

 

Best regards 

Jimmi Wolff
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
99 Views

Jimmi, 

 

What version of the Linux Develper CD are you using and are you using the core that was supplied with it? 

 

What type of Dev Board do you have? 

 

Can you post the first few lines of your SREC? 

 

mike
Altera_Forum
Honored Contributor I
99 Views

Hello  

 

I have a Nios Development Kit, Cyclone Edition. And I don't use the Linux Develper CD from microtronix.  

 

Here is the first lines of the SREC file: 

 

S00D00006C696E75782E73726563E7 

S2198000000898007F0030E731038800304E696F73F031301C003E 

S21980001598F03D009811340498116C3012E37E13800030809818 

S21980002A12340498126D005A205E900491045112E67EF9870093 

S21980003F300198D1340298116CD17F00300298217F21240F989C 

S219800054013A309C00342040007F0030019A01340034205C0048 

S219800069300030003000302298013400340198205C0098205CF1 

S21980007E003441490398205C0298205C0034259801340398201C 

S2198000935C0298205C203428980134205C019A01342034205CFC 

S2198000A8809802340498026D809901340498216D210C0034028A 

S2198000BD7E2210E27EFC872204009800340898006C0498413605 

S2198000D20298016C0198015C069881370298016C0298015CE162 

 

I can't not even convert the srec file to a flash file. It look like this when i try: 

 

[sopc builder]$ srec2flash linux.srec 

 

 

flash address: 0x00140000 

ram address: 0x00040000 

max copy size: 0x00040000 

 

 

file 0: linux.srec 

linux.srec spans from 0x00800000 to 0x00881000 (0x00081000 bytes) 

building linux.srec.copier.srec 

c:\cygwin\bin\perl.exe (1444): *** wfso timed out after longjmp 

7 [main] perl 1756 fork_copy: user/cygwin data pass 3 failed, 0x22ecc0..0x 

230000, done 0, windows pid 1444, win32 error 5 

 

 

 

I hope someone can help, though I don't use uclinux from microtronix. 

 

Best regards 

Jimmi Wolff
Reply