Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- I'm not sure what you are referring to and what is different for you between "via debug" and "run directly" ? The host filesystem is using the debugger / JTAG to do the communication that happens during the file operations, so you can't ever run it without being connected and running through the debugger. --- Quote End --- thank you for your time. I will try to be clearer than before. Please, check if now it is understandable. running "directly" I was refererring when I click over my project, right-click it, select "Run As" and choose Nios II. This makes the progam to be executed non-stopable, non-step-by step. When I choose this option, the program freezes, as previously described. runnig via debug is when I select debug on the menu, the debug environment is opened, and I click at the F6 (step over) and execute each one of the commands that exist on the .c code. Choosing this way, I can run, step-by-step my code with sucess, as I mentioned before. The proof is that after the execution, the myfile.txt is created and contains the "hello to file" message. In both cases all environment is prepared, i.e., my jtag is connected, the hardware is already with the .sof file, etc.