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++
12748 Discussions

howto build an executable file for ftp to ram

Altera_Forum
Honored Contributor II
1,322 Views

I can compile an application, say "hello world", place it in my flash file system, and all is well. It runs fine. But if I ftp that same executable file into the ram fs (/var). It crashes, I think because the addressing in the executable is outside of the flash addressing range. I thought that I only needed to enable the -r flag during the compile/link. But I see that is already turned on. Thanks in advance. Alex

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
453 Views

Alex, 

I can download LeechFTP v1.3 and setup it in windows2000.Then set the usename and password as same as your board login name.(for example: usename:root;password:uClinux ).Set Host or URL as same as 

your board IP(It must be in the same network as your PC) and Port is 21. 

It FTP your board easy,have luck! 

 

 

Tony Zhu
0 Kudos
Altera_Forum
Honored Contributor II
453 Views

I don't think there are problems in using ftp to upload executables to /var, as long as the executables can fit in the ramdisk. Make sure binary format, not ascii, is used when you upload the executable.

0 Kudos
Reply