I'm having some trouble getting this going, i spent the past few days trying all sorts of combinations of tricks etc that i've read. Windex's guide is is by far the best thing i have seen while trying to get ethernet going on this de2-115. But this whole ethernet task is driving me postal.
side note: My end goal is actually to get a simple socket server running so i can then write a custom windows app to connect to the board. If you know how to get this going on the DE2-115 that would be awesome. I've tried with no sucess atm.
the webserver guide problem I've followed your exact tutorial up to step 16 but i'm not exactly sure if i'm doing it right.
- I assume the commands in setp 16 are 3 (or 4?) seperate commands? A cd/ to get to directory, a bin2flash and a flash program?
- I've had to add a slash "\" to the end of the first command to get it to work, as in point to a directory.
- --- Quote Start --- mkdir flash (if it is not already there) --- Quote End --- I have no idea what this is meant to do and i cannot get the console to accept this command on its own or combined with the previous command. So i've had to ignore it.
- I then do the bin2flash command and i get "(FINE) bin2flash: starting" plus then some infor on using that command itself. So i assumme this has worked?
- I cannot get the flash program command to work. I just get --- Quote Start --- ro.flashfs_cfi_flash1.flash: Unable to open input file Empty flash content cannot be programmed or verified --- Quote End ---
note - Also as you said i get a crash when i try to run the program in Nios EDS 10.1. I did get it to run the first time i tried, but this was before i saw your tutorial and i hadn't programmed any flash so the webserver obviously didn't work.
- For some reason if i just try to build the project rather than run it, i get undefined errors on two extern variables "lednum" and "segnum"; i assume this must be because the niche stack isn't included until runtime?
Help from you guys would be awesome and I thank Windex again for this post plus i thank anyone in advance for helping me.