println! printing two newlines #15

Closed
opened 2020-04-17 14:11:35 +08:00 by sb10q · 2 comments

When using:

stty 115200 < /dev/ttyUSB1
cat /dev/ttyUSB1

there are empty lines between messages:

ARTIQ runtime starting...

Clocks: Clocks { arm: 1599999984, ddr: 1333333320, io: 999999990 }

DDR 3x/2x clocks: 666666660/444444440

DDR DCI clock: 10582010 Hz

Detected gateware: RTIO_ZC706

Core1 started

eth: got Link { speed: S1000, duplex: Half }

...
When using: ```bash stty 115200 < /dev/ttyUSB1 cat /dev/ttyUSB1 ``` there are empty lines between messages: ```text ARTIQ runtime starting... Clocks: Clocks { arm: 1599999984, ddr: 1333333320, io: 999999990 } DDR 3x/2x clocks: 666666660/444444440 DDR DCI clock: 10582010 Hz Detected gateware: RTIO_ZC706 Core1 started eth: got Link { speed: S1000, duplex: Half } ... ```

I actually cannot reproduce this (on rpi-4).

Did f8782f3f69 solve this issue for you?

I actually cannot reproduce this (on rpi-4). Did f8782f3f699ba0e749a639534553c9dc2599523e solve this issue for you?
Poster
Owner

I actually cannot reproduce this (on rpi-4).

I suppose this has to do with the settings of the ttyUSB node. Using the default settings e.g. by rebooting rpi-4 reproduces the issue easily.

Did f8782f3f69 solve this issue for you?

Yes, thanks.

> I actually cannot reproduce this (on rpi-4). I suppose this has to do with the settings of the ttyUSB node. Using the default settings e.g. by rebooting rpi-4 reproduces the issue easily. > Did f8782f3f699ba0e749a639534553c9dc2599523e solve this issue for you? Yes, thanks.
sb10q closed this issue 2020-04-21 18:27:18 +08:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/zynq-rs#15
There is no content yet.