Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

jtag-uart and software protocol

Hello all,

For my project I need to use an uart with the software and hardware flow control.

I see in nios2configtools that this configuration generates a conflict with Jtag uart “

Jtag uart requires ! CYGOPT_IO_SERIAL_FLOW_CONTROL_SOFTWARE

I don’t understand why there is a global restriction in ecos as in the driver structure there is a possibility to disable the xonxoff protocole for each uart.

Did somebody get this problem before and how did you solve it ?

Here below the way I used to jump over the restriction.

In ecosconfigtool when I get Jtag uart requires ! CYGOPT_IO_SERIAL_FLOW_CONTROL_SOFTWARE

I unselect the proposed solution and save anyway.

Then I compiled the ecos library

I got the error "The JTAG UART PC Software does not support Software flow control" from the altera_avalon_jtag_uart.c file. I removed the checking lines in this file.

Then the Build and Compilation with application are fine.

Are there any interdict to do this ?

Thanks for advice.
No RepliesBe the first to reply