title: How to run this code as Nios hardware?
body: <p>I got a Nios 2 project that is supposed to be able to run as hardware on my FPGA but how?</p>
  
  <p>I've built it and I can run it in the simulator:</p>
  
  <p><img src="https://i.stack.imgur.com/90ZI5.png" alt="enter image description here"></p>
  
  <p>I've chose the <code>uart0</code> in the BSP editor</p>
  
  <p><img src="https://i.stack.imgur.com/bxgbG.png" alt="enter image description here"></p>
  
  <p>But then when I run it as Nios hardware nothing happens</p>
  
  <p><img src="https://i.stack.imgur.com/ODkHK.png" alt="enter image description here"></p>
  
  <p>Can you tell me how it should be done?</p>
  
  <p>It works to load the FPGA with a system in Quartus II programmer:</p>
  
  <p><img src="https://i.stack.imgur.com/T7QVt.png" alt="enter image description here"></p>
  
  <h2>Update</h2>
  
  <p>The instructor has answered.</p>
  
  <blockquote>
    <p>It's possible to run the OS on the DE2 board but the program will
    execute quickly.  The > output comes on the serial port uart0, i.e.
    the 9-polar D-sub contact.   Since the program is running so quickly
    it can be wise to disconnect the USB-to-serial > adapter from the DE2
    (but not from the PC) when the number 2333 has been consumed. >
    Otherwise the buffer in putty will be full so that the output from the
    beginning of the run is lost.</p>
  </blockquote>