From 1a0701e51e81b808e68d9e4e139cf0531c4a59c0 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Sun, 16 Jan 2022 10:13:27 -0700 Subject: [PATCH] some msg help --- DVSIDevice.cpp | 5 +++-- README.md | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/DVSIDevice.cpp b/DVSIDevice.cpp index 00ffa3a..b75b5ac 100644 --- a/DVSIDevice.cpp +++ b/DVSIDevice.cpp @@ -196,7 +196,8 @@ bool CDVDevice::OpenDevice(const std::string &serialno, const std::string &desc, } } - status = FT_SetBaudRate(ftHandle, (Edvtype::dv3000 == dvtype) ? 460800 : 921600); + ULONG baudrate = (Edvtype::dv3000 == dvtype) ? 460800 : 921600; + status = FT_SetBaudRate(ftHandle, baudrate); if (status != FT_OK) { FTDI_Error("FT_SetBaudRate", status); @@ -230,7 +231,7 @@ bool CDVDevice::OpenDevice(const std::string &serialno, const std::string &desc, description.append("-"); description.append(serialno); - std::cout << "Opened " << description << std::endl; + std::cout << "Opened " << description << " at " << baudrate << " baud with a " << maxsize << "byte max transfer size" << std::endl; if (InitDevice()) return true; diff --git a/README.md b/README.md index e55b5c9..85a674e 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ This software is loosely based on LX3JL's **ambed**, but is easily different eno Currently, only two AMBE devices are supported. You cannot use a 3003 and a 3000 device together. If you use a pair of 3000 devices, only 460800-baud deivces are supported. When using a pair of 3000 devices, you can only transcode a single channel. If you use a pair of 3003 devices, you can specify up to three transcoded channels. AMBE devices based on LX3JL's [USB-3006 open source design](https://github.com/LX3JL/usb-3006) (sold by Northwest Digital and others) contain a pair of 3003 devices and are ideally suited for *tcd*. +To be clear, a pair of 3000-based devices will support only a single transcoded reflector channel, while a pair of 3003-based devices will support up to three transcoded reflector channels. + Currently, this program must be run locally with its paired URF reflector. Remote transcoding is not yet possible. Only systemd-based operating systems are supported. Debian or Ubuntu is recommended. If you want to install this on a non-systemd based OS, you are on your own. Also, by default, tcd is built without gdb support.