- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All,
<div class='quotetop'>QUOTE </div> --- Quote Start --- ■ Specify the preprocessor option -DALTERA_AVALON_JTAG_UART_SMALL. You can use this option if you want the small, polled implementation of the JTAG UART driver, but you do not want to affect the drivers for other devices.[/b] --- Quote End --- I find the information above from Altera Embedded Peripherals Handbook.pdf--page68. But I don't know how to implement it. I have tried define ALTERA_AVALON_JTAG_UART_SMALL in project properties: C/C++ Build->Tool Settings->Nios II Compiler->Preprocessor->Defined Symbols But after recompiling project, I found that it didn't take effect. JTAG_UART still work in interrupt-driven way. Also I can step into altera_avalon_jtag_uart.c to prove that fast driver is in use. I do not want to affect the drivers for other devices when use small driver of JTAG_UART. So I need to use ALTERA_AVALON_JTAG_UART_SMALL symbol. Anyone help? DavidLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have solved this issue.
<div class='quotetop'>QUOTE </div> --- Quote Start --- I have tried define ALTERA_AVALON_JTAG_UART_SMALL in project properties: C/C++ Build->Tool Settings->Nios II Compiler->Preprocessor->Defined Symbols[/b] --- Quote End --- This operation should work on system library project but not on your application project. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/happy.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by david_cai@Jul 13 2006, 08:13 AM i have solved this issue.
<div class='quotetop'>quote
--- quote end ---
--- quote start ---
i have tried define altera_avalon_jtag_uart_small in project properties:
c/c++ build->tool settings->nios ii compiler->preprocessor->defined symbols --- Quote End --- This operation should work on system library project but not on your application project. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/happy.gif <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16851)</div> [/b] --- Quote End --- Hi David_Cai! Another way to define ALTERA_AVALON_JTAG_UART_SMALL in Nios IDE is checked box in "System Library Properties" -> Reduce device drivers http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif

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