Forum Discussion
Altera_Forum
Honored Contributor
20 years agoProblem running an application
Hi all,
I have built a hello world application with nios2 ide. The application runs well if I copy the executable (hello.exe) and paste it onto a filesystem project (/bin) and upload the romfs.bin. However, if I ftp the executable onto the target (/tmp), it does not run well. I got the following error: BINFMT_FLAT: reloc outside program 0x344000 (0 - 0x66fc/0x4140), killing hello.e xe! Does anyone know why?? Thanks in advance! Kwok Wong3 Replies
- Altera_Forum
Honored Contributor
Please verify if you ftp your files in ascii or binary mode. it should be binary ?!?
- Altera_Forum
Honored Contributor
I also have run into this problem, and aren't sure why. I have verified that I am transmitting in binary mode. I have just been recompiling the romfs each time to get around this.
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by helmchen@Sep 5 2006, 10:33 AM please verify if you ftp your files in ascii or binary mode. it should be binary ?!?<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18081)
--- quote end ---
--- Quote End --- You are right. I thought I have tried using binary mode to transfer file. Thank you.