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

Add Barrett 950 #483

Closed
ea3iav opened this issue Dec 31, 2020 · 18 comments
Closed

Add Barrett 950 #483

ea3iav opened this issue Dec 31, 2020 · 18 comments

Comments

@ea3iav
Copy link

ea3iav commented Dec 31, 2020

I have the ini file for omnirig and all comands used to control the rig with a terminal and serial connection

https://drive.google.com/file/d/12fMTihVP57fKVj58pVcdtzQo_vv-ozkl/view?usp=drivesdk

https://drive.google.com/file/d/1hiYPA_Y_1suzQcf1o7-caQ06cyVXURpR/view?usp=drivesdk

mdblack98 added a commit that referenced this issue Dec 31, 2020
mdblack98 added a commit that referenced this issue Dec 31, 2020
@ea3iav
Copy link
Author

ea3iav commented Dec 31, 2020

Great! I think that buildokg from source and including this file is way beyond my skills
Thank you

@mdblack98
Copy link
Contributor

mdblack98 commented Dec 31, 2020 via email

@mdblack98
Copy link
Contributor

mdblack98 commented Dec 31, 2020 via email

@ea3iav
Copy link
Author

ea3iav commented Jan 1, 2021

Sorry the link is broken. Thank you for your help

@mdblack98
Copy link
Contributor

mdblack98 commented Jan 1, 2021 via email

@ea3iav
Copy link
Author

ea3iav commented Jan 3, 2021

Sorry I could download the file and try it
Informative commands work, such as f or m
But those in capitals are not working properly 😕
image

@mdblack98 mdblack98 reopened this Jan 3, 2021
mdblack98 added a commit that referenced this issue Jan 3, 2021
@mdblack98
Copy link
Contributor

mdblack98 commented Jan 3, 2021 via email

@ea3iav
Copy link
Author

ea3iav commented Jan 5, 2021

Thank you Mike
I tried new version

Whereas info commands are ok I still have problems with invalid parameter using "write commands"
For instance, when changing mode the command line freezes

C:\WSJT\wsjtx\bin>rigctl-wsjtx -m 32002 -r com9 -s 9600 -vvvvv -Z
2021-01-05:00:34:06.239149: rigctl Hamlib 4.1~git
Last commit was Fri Jan 01 21:13:17 2021 +0000 SHA=a59bda
2021-01-05:00:34:06.239149: Report bugs to <hamlib-developer@lists.sourceforge.n
et>

2021-01-05:00:34:06.239149: rig_init called
2021-01-05:00:34:06.239149: initrigs4_barrett: _init called
2021-01-05:00:34:06.254749: rig_register called
2021-01-05:00:34:06.254749: rig_register: rig_register (32001)
2021-01-05:00:34:06.254749: rig_register called
2021-01-05:00:34:06.254749: rig_register: rig_register (32002)
2021-01-05:00:34:06.254749: initrigs4_barrett: _init back from rig_register
2021-01-05:00:34:06.254749: rig_init: rig has VFO_A
2021-01-05:00:34:06.254749: rig_init: rig has VFO_MEM
2021-01-05:00:34:06.254749: barrett_init version 20181111.0
2021-01-05:00:34:06.254749: rig_open called
2021-01-05:00:34:06.254749: port_open called
2021-01-05:00:34:06.254749: serial_open called
2021-01-05:00:34:06.254749: serial_setup called
2021-01-05:00:34:06.254749: serial_setup: tcgetattr
2021-01-05:00:34:06.254749: serial_setup: cfsetispeed=9600,0x000d
2021-01-05:00:34:06.254749: serial_setup: cfsetospeed=9600,0x000d
2021-01-05:00:34:06.254749: serial_setup: data_bits=8
2021-01-05:00:34:06.254749: serial_setup: parity=0
2021-01-05:00:34:06.254749: serial_setup: tcsetattr TCSANOW
2021-01-05:00:34:06.254749: serial_flush called
2021-01-05:00:34:06.254749: tcflush
2021-01-05:00:34:06.317150: rig_get_vfo called
2021-01-05:00:34:06.317150: rig_get_vfo: no get_vfo
2021-01-05:00:34:06.317150: vfo_fixup: vfo=VFOA
2021-01-05:00:34:06.317150: vfo_fixup: final vfo=VFOA
2021-01-05:00:34:06.317150: rig_open: No set_vfo function rig so default vfo = V
FOA
Opened rig model 32002, '950'
2021-01-05:00:34:06.317150: Backend version: 20181111.0, Status: Alpha
2021-01-05:00:34:06.317150: rigctl_parse: called, interactive=1

Rig command: f
2021-01-05:00:34:27.018791: rigctl_parse: cmd=f(66)
2021-01-05:00:34:27.018791: rigctl_parse: cmd==0x66
2021-01-05:00:34:27.018791: rigctl_parse: vfo_opt=0
2021-01-05:00:34:27.018791: rigctl_parse: debug1
2021-01-05:00:34:27.018791: rigctl_parse: debug5
2021-01-05:00:34:27.018791: rigctl_parse: debug10
2021-01-05:00:34:27.018791: rigctl_parse: vfo_opt=0
2021-01-05:00:34:27.018791: rig_get_freq called vfo=currVFO
2021-01-05:00:34:27.018791: vfo_fixup: vfo=currVFO
2021-01-05:00:34:27.018791: vfo_fixup: Leaving currVFO alone
2021-01-05:00:34:27.018791: get_cache_freq: vfo=currVFO, freq=0
2021-01-05:00:34:27.018791: elapsed_ms: start = 0,0
2021-01-05:00:34:27.018791: rig_get_freq: cache check age=1000000ms
2021-01-05:00:34:27.018791: rig_get_freq: cache miss age=1000000ms, cached_vfo=N
one, asked_vfo=currVFO
2021-01-05:00:34:27.018791: vfo_fixup: vfo=VFOA
2021-01-05:00:34:27.018791: vfo_fixup: final vfo=VFOA
2021-01-05:00:34:27.018791: rig_get_freq: no set_vfo so vfo=VFOA
2021-01-05:00:34:27.018791: barrett_get_freq: vfo=VFOA
2021-01-05:00:34:27.018791: barrett_transaction: cmd=IR
2021-01-05:00:34:27.018791: rig_flush: called for serial device
2021-01-05:00:34:27.018791: serial_flush called
2021-01-05:00:34:27.018791: tcflush
2021-01-05:00:34:27.018791: write_block called
2021-01-05:00:34:27.081191: write_block(): TX 3 bytes
2021-01-05:00:34:27.081191: 0000 49 52 0d
IR.
2021-01-05:00:34:27.081191: read_string called, rxmax=64
2021-01-05:00:34:27.112391: read_string(): RX 11 characters
2021-01-05:00:34:27.112391: 0000 13 30 37 31 33 32 30 30 0d 0a 11
.0713200...
2021-01-05:00:34:27.112391: barrett_transaction: resultlen=11
2021-01-05:00:34:27.112391: barrett_transaction: retval=11
2021-01-05:00:34:27.112391: 0000 13 30 37 31 33 32 30 30 0d 0a 11
.0713200...
2021-01-05:00:34:27.112391: barrett_transaction: removing xoff char
2021-01-05:00:34:27.112391: barrett_transaction: removing xon char
2021-01-05:00:34:27.112391: barrett_transaction: setting result
2021-01-05:00:34:27.112391: 0000 30 37 31 33 32 30 30
0713200
2021-01-05:00:34:27.112391: barrett_transaction: returning result=0713200
2021-01-05:00:34:27.112391: elapsed_ms: start = 0,0
2021-01-05:00:34:27.112391: elapsed_ms: after gettime, start = 1609806867,112391
700
2021-01-05:00:34:27.112391: elapsed_ms: start = 0,0
2021-01-05:00:34:27.112391: elapsed_ms: after gettime, start = 1609806867,112391
700
2021-01-05:00:34:27.112391: rig_get_freq: cache reset age=999000ms, vfo=VFOA, fr
eq=713200
2021-01-05:00:34:27.112391: elapsed_ms: start = 0,0
2021-01-05:00:34:27.112391: elapsed_ms: after gettime, start = 1609806867,112391
700
Frequency: 713200
2021-01-05:00:34:27.112391: rigctl_parse: vfo_opt=0
2021-01-05:00:34:27.112391: rigctl_parse: retcode=0
2021-01-05:00:34:27.112391: rigctl_parse: called, interactive=1

Rig command: 2021-01-05:00:34:27.112391: rigctl_parse: cmd==0x0a
F 14074000
2021-01-05:00:35:06.620750: rigctl_parse: cmd=F(46)
2021-01-05:00:35:06.620750: rigctl_parse: cmd==0x46
2021-01-05:00:35:06.620750: rigctl_parse: vfo_opt=0
2021-01-05:00:35:06.620750: rigctl_parse: debug1
2021-01-05:00:35:06.620750: rigctl_parse: debug3
2021-01-05:00:35:06.620750: rigctl_parse: debug4 c=20
2021-01-05:00:35:06.620750: rigctl_parse: debug5
2021-01-05:00:35:06.620750: rigctl_parse: debug10
2021-01-05:00:35:06.620750: rigctl_parse: vfo_opt=0
2021-01-05:00:35:06.620750: rig_set_freq called vfo=currVFO, freq=1.4074e+007
2021-01-05:00:35:06.636350: vfo_fixup: vfo=currVFO
2021-01-05:00:35:06.636350: vfo_fixup: Leaving currVFO alone
2021-01-05:00:35:06.636350: rig_set_freq: TARGETABLE_FREQ vfo=currVFO
2021-01-05:00:35:06.636350: barrett950_set_freq: vfo=currVFO freq=14074000
2021-01-05:00:35:06.636350: barrett_transaction: cmd=OR14074000
2021-01-05:00:35:06.636350: rig_flush: called for serial device
2021-01-05:00:35:06.636350: serial_flush called
2021-01-05:00:35:06.636350: tcflush
2021-01-05:00:35:06.636350: write_block called
2021-01-05:00:35:06.698750: write_block(): TX 11 bytes
2021-01-05:00:35:06.698750: 0000 4f 52 31 34 30 37 34 30 30 30 0d
OR14074000.
2021-01-05:00:35:06.698750: read_string called, rxmax=64
2021-01-05:00:35:06.729950: read_string(): RX 6 characters
2021-01-05:00:35:06.729950: 0000 13 45 30 0d 0a 11
.E0...
2021-01-05:00:35:06.729950: barrett_transaction: resultlen=6
2021-01-05:00:35:06.729950: barrett_transaction: retval=6
2021-01-05:00:35:06.729950: 0000 13 45 30 0d 0a 11
.E0...
2021-01-05:00:35:06.729950: barrett_transaction: removing xoff char
2021-01-05:00:35:06.729950: barrett_transaction: removing xon char
2021-01-05:00:35:06.729950: barrett_transaction: setting result
2021-01-05:00:35:06.729950: 0000 45 30
E0
2021-01-05:00:35:06.729950: barrett_transaction: returning result=E0
2021-01-05:00:35:06.729950: barrett950_set_freq: Expected OK, got 'E0'
2021-01-05:00:35:06.729950: rigctl_parse: vfo_opt=0
set_freq: error = Invalid parameter
2021-01-05:00:35:06.729950: rigctl_parse: retcode=-1
2021-01-05:00:35:06.729950: rigctl_parse: called, interactive=1

Rig command: 2021-01-05:00:35:06.729950: rigctl_parse: cmd==0x0a

@mdblack98
Copy link
Contributor

mdblack98 commented Jan 5, 2021 via email

@mdblack98
Copy link
Contributor

mdblack98 commented Jan 5, 2021 via email

@ea3iav
Copy link
Author

ea3iav commented Jan 5, 2021

Hi! The way Frequency control goes for instance in omnirig is to reprogram or change the frequency on the default channel. No need to even name the channel.
So you connect the radio and send commands. They can be strings or single commands.
Here are the commands
https://drive.google.com/file/d/1hiYPA_Y_1suzQcf1o7-caQ06cyVXURpR/view?usp=drivesdk

@mdblack98
Copy link
Contributor

mdblack98 commented Jan 5, 2021 via email

mdblack98 added a commit that referenced this issue Jan 5, 2021
Change Barrett 950 to use channels 441-450 for 10-band memory
This will minimize EEPROM writes
#483
mdblack98 added a commit that referenced this issue Jan 5, 2021
@ea3iav
Copy link
Author

ea3iav commented Jan 5, 2021

Hi! It is a 27C512 Eprom
I am thinking about doing some backups... as I use this method of constant rewrite with my nextion interface

https://youtu.be/3PT1YqP62LU

@mdblack98
Copy link
Contributor

mdblack98 commented Jan 5, 2021 via email

@ea3iav
Copy link
Author

ea3iav commented Jan 5, 2021

28C64
This is the only eeprom I see. You arr right. Only 100K cycles
Do you think this can be just replaced once it dies??
image

@mdblack98
Copy link
Contributor

The AT28C64-25SI is still available
https://www.digikey.com/en/products/detail/microchip-technology/AT28C64-25SI/398949

Did you get the last link I sent you to try?
Please contact me off list at mdblack98@yahoo.com

@MrSon888
Copy link

MrSon888 commented Jan 7, 2022

Hi, how did this go in the end? Have you considered adding the Barrett 4050?

@mdblack98
Copy link
Contributor

It all went quite well. Hopefully the 4050 doesn't require channel writes to do simple frequency changes.

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

3 participants