Forum Discussion
Altera_Forum
Honored Contributor
19 years agohow can I program without rs232
hello ,
I have some problem about programming.There is not rs232 port on my PC. In the wiki: Though we can use JTAG UART as console with nios2-terminal during development. You should not use it as console device if you want your system to start automatically when power on. Because the JTAG UART will hang without a nios2-terminal connected. You should use Serial UART with a RS232C cable instead. You can keep both the JTAG UART and serial UART in SOPC builder, but you must disable "Support for console on Altera JTAG UART" in kernel config and rebuild the kernel image. Please check LinuxConfig about how to select the other console device instead of JTAG UART. You have to test the new kernel image with nios2-download. Don't run nios2-terminal, use minicom on Linux or Hyper-terminal on Windows. Make sure it runs correctly over the RS-232C COM port. I don't know can I program zImage to flash with JTAG UART firstly,then use JTAG UART as console by typing nios2-terminal. I will flash sof to epcs,and zImage to extflash. Thanks . Tommy2 Replies
- Altera_Forum
Honored Contributor
Yes, you can do flash, and go with Jtag Uart console. Don't select Serial UART.
Just besure to start nios2-terminal after you power on your board. - Altera_Forum
Honored Contributor
Once you have everything working you will want to disable the JTAG UART for production/delivery systems and start your application automatically. Otherwise the system will block during boot until you connect the nios-terminal.