Knowledge Base Article

Programs That Interact With a Terminal Console on Windows Do Not Work

Description

Programs with this behavior work in version 6.0 and earlier, but do not work in Nios II IDE version 6.1 and later.

The Eclipse platform in version 6.1 and later of the IDE (on Windows only) sends the string \r\n instead of just \n when running or debugging using the Terminal. This behavior can break existing software designs, and it is inconsistent with nios2-terminal, which still just sends \n.

Resolution

Change the software running on the Nios II processor to parse for \r\n as well as \n.

Updated 2 months ago
Version 3.0
No CommentsBe the first to comment