--- Quote Start ---
i used alt_main instead of main in my C code and that solved the problem but i still can't connect to the processor... everytime i try to download the binary code by using run as NIOS II hardware It fails and I got the same message :
--- Quote End ---
Ok, now you have a real error message.
This happens to me when I fail checking the following issue: all reset signals must be connected with a signal with correct polarity. For example: when using a DDR2 Memory controller based on altmemphy, you should have a reset_n signal on the SOPC Builder. If this reset is connected to an active high signal, the controller is kept in reset (can not remember if all system is kept in reset). Check if you have some reset_request or debug_request options activated on your nios 2 instantiation. If so, check to what they are connected.
--- Quote Start ---
I will never finish this project on time :(
--- Quote End ---
Are you on a university project?
I managed to finish a university project on a Xilinx board in which the only thing that was in output from that board was a stream of zeroes, changing the board.... This happens in Italy, I hope that other universities have better instruments.
Regards,
Gabriele