- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hiya
I'm trying to use the JTAG UART, and the obvious thing that needs to be done is to add "C:\altera\72sp3\ip\sopc_builder_ip\altera_avalon_jtag_uart" to the list of include paths. However, it seems to be difficult to add a new include path! Everything I've tried so far hasn't worked! This would take me 5 seconds in Visual C++. What procedure do I need to follow?Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I can add the line: # include <altera_avalon_jtag_uart.h> to a source file and it compiles, without having to add a search path. I assume the IDE automatically searches the correct paths for the hardware you have defined. In a different project with no JTAG UART defined in the hardware, the# include line fails to compile. Have you added a JTAG UART to your SOPC component? Cheers- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ahaa......
OK, added the JTAG UART to the system, I can now compile and run the system with the JTAG UART. The UART appears to send characters, however they don't appear on the "console" window in the IDE. However, if I do Run-Debug, and select "jtag_uart" under "Target Connection", I now get an error dialog saying "The NIOS II Terminal communication device 'jtag_uart' does not exist in the current SOPC Builder system file". Closed and restarted the NIOS IDE, then in the debug dialog, I used "Load JDI File". That seemed to overcome the previous problem, now on the console the following appears: nios2-terminal: There are no JTAG UARTs available which match the --device and nios2-terminal: --instance options you provided. Hmmmm.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page