Forum Discussion
Altera_Forum
Honored Contributor
14 years agoCommunication with NIOS2 over USB
Hi Everybody,
Description: I want to develop a simple terminal application which can communicate with NIOS2 over Jtag UART (USB Blaster). The terminal-app will be used to transfer a Matlab generated data file to NIOS2 and also to read out data from the FPGA after processing. The terminal-app will also configure the application running on NIOS2 before providing data file. I cannot use SystemConsol. Further, I cannot use a standard UART because the Stratix IV GX development board does not have an embedded UART connector (e.g., RS-232) to connect the PC. Hence, the only way to communicate with the board from the PC is over the Jtag UART (USB blaster). Question: 1. How to redirect the USB port from NIOS2 IDE to Matlab GUI? 2. An easiest solution to transfer the Matlab generated file to the NIOS2? I am thankful for your help in advance. Regards, Warraich1 Reply
- Altera_Forum
Honored Contributor
I don't know of any standard Comm applications that speak with the talk with the JTAG UART in the nios processor except the Nios Console app. (I may be wrong)
I would just tap on a simple usb-serial baord like this one: http://www.sparkfun.com/products/718 This gives your computer a standard usb-serial converter and only requires a few wires to hook it up to some GPIO's available on your board. This way it also looks like a standard USB Serial port on your computer. Pete