Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No problems with ft857d #8

Open
bunhoel opened this issue Dec 14, 2021 · 2 comments
Open

No problems with ft857d #8

bunhoel opened this issue Dec 14, 2021 · 2 comments
Assignees

Comments

@bunhoel
Copy link

bunhoel commented Dec 14, 2021

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.

@stdevPavelmc stdevPavelmc self-assigned this Dec 14, 2021
@stdevPavelmc
Copy link
Collaborator

stdevPavelmc commented Dec 14, 2021

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.

@bunhoel
Copy link
Author

bunhoel commented Dec 15, 2021

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 bunhoel changed the title problems with ft857d No problems with ft857d Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants