FT857d icon indicating copy to clipboard operation
FT857d copied to clipboard

No problems with ft857d

Open bunhoel opened this issue 3 years ago • 2 comments

I I try ft857d but not work.

I'm using ardunio nano, arduino IDE 1.8.16, OS linux Ubuntu 20.04. The ft857d.ino pass by verification, and is upload ok. I dont know , how to debug. The test was done with flrig, fldigi. Any hint will be good.

bunhoel avatar Dec 14 '21 18:12 bunhoel

Please define "not work"

As you use the same serial port for programming and CAT control, you need to set the software that will talk with the Arduino for a minimum of 2 seconds between timeout and retries.

For example in Fldigi, set retries to 5 and timeout to 250 msec, that will allow for the boot up and bootloader process.

Remember that once you connect or initialize an Arduino, the bootloader kicks and will hijack the device for ~2 seconds. If the software is not prepared to deal with that, it will not connect and fail.

Waiting for your comments.

stdevPavelmc avatar Dec 14 '21 18:12 stdevPavelmc

Many thanks for quick reply. I'm so sorry to make questions without a long time thinking about "the problem". My mind was no work! Lets go ahead.

The FT857d works. What occurs is that flrig software only start the communication with arduino FT-857 after I'm to set
$ rigctl -m 122 -r /dev/ttyUSB1 -L --set-conf=timeout=11,stop_bits=1,serial_speed=57600,poll_interval=5 What I understood was that necessary start Hamlib before to run flrig. At the moment what I do not understood was the time parameters. If I set timeout=2, the FT-857 do not start, otherwise the retrives, wait, timeout flrig parameters can be setted zero. By the way the parameter serloop_timing:10 to cames from unknown place. Look flrig config: $ cat FT-857D.prefs | head -n 22 ; FLTK preferences file format 1.0 ; vendor: w1hkj.com ; application: FT-857D

[.]

version:1.3.49 mainx:794 mainy:64 mainw:735 mainh:150 uisize:0 xcvr_serial_port:/dev/ttyUSB1 comm_baudrate:8 comm_stopbits:1 comm_retries:0 comm_wait:0 comm_timeout:0 serloop_timing:10 byte_interval:0 comm_echo:1 ptt_via_cat:0

Well, can change the title to "No problems with ft857d".

bunhoel avatar Dec 15 '21 18:12 bunhoel