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

EVM EVRU and EVRD databuftx.db databuftxCtrl.db and mrmevrbufrx.db #69

Open
jerzyjamroz opened this issue Aug 9, 2023 · 2 comments
Open
Assignees
Labels

Comments

@jerzyjamroz
Copy link
Contributor

The file: "mrfioc2/evgMrmApp/Db/mtca-evm-300.substitutions" does not set the files: "databuftx.db, databuftxCtrl.db and mrmevrbufrx.db" for EVRU and EVRD. Once it is done:

file "databuftx.db"
{pattern
{P, OBJ, PROTO}
{"$(SYS){$(D)U}", "$(EVG):EVRU:BUFTX", 1}
}
file "databuftxCtrl.db"
{pattern
{P, OBJ}
{"$(SYS){$(D)U}", "$(EVG):EVRU:BUFTX"}
}
file "mrmevrbufrx.db"
{pattern
{P, OBJ, PROTO}
{"$(SYS){$(D)U}", "$(EVG):EVRU:BUFRX", "0xff00"}
}

The following errors appear:

Missing required option OBJ
recGblRecordError: Couldn't parse link string No device at specified address PV: TDL-JJ:Ctrl-EVG-1:U-dbus-send-s8
Missing required option OBJ
recGblRecordError: Couldn't parse link string No device at specified address PV: TDL-JJ:Ctrl-EVG-1:U-dbus-send-u32
Missing required option OBJ
recGblRecordError: Couldn't parse link string No device at specified address PV: TDL-JJ:Ctrl-EVG-1:U-dbus-recv-s8

Are "$(EVG):EVRU:BUFTX and $(EVG):EVRU:BUFRX" supported?

@mdavidsaver
Copy link
Collaborator

Are "$(EVG):EVRU:BUFTX and $(EVG):EVRU:BUFRX" supported?

As I read the current code, I think the objects should be created. Of course, whether they were or are implemented in firmware is a different question.

evrd.reset(new EVRMRM(id+":EVRD", busConfig, &evm_evrd_conf, pReg+0x20000, 0x10000));
evru.reset(new EVRMRM(id+":EVRU", busConfig, &evm_evru_conf, pReg+0x30000, 0x10000));

,buftx(n+":BUFTX", b+U32_DataTxCtrl, b+U32_DataTx_base)
,bufrx(n+":BUFRX", b, 10) // Sets depth of Rx queue

fyi. the iocsh functions dol and dor may be helpful to see if the object name is somehow not what is expected.

@jerzyjamroz
Copy link
Contributor Author

  • The objects are there (see below).
  • Following the message: "Missing required option OBJ", I have tried to change PROTO as well but without any result (I think, there are no other options).
  • The same errors persist.
# dol
Object: EVG:EVRU
Type: 6EVRMRM
Object: EVG:EVRU:BUFRX
Type: 8mrmBufRx
Object: EVG:EVRU:BUFTX
Type: 12mrmDataBufTx
Object: EVG:EVRU:FPIn0
Type: 8MRMInput

Object: EVG:EVRD
Type: 6EVRMRM
Object: EVG:EVRD:BUFRX
Type: 8mrmBufRx
Object: EVG:EVRD:BUFTX
Type: 12mrmDataBufTx
Object: EVG:EVRD:FPIn0
Type: 8MRMInput
# dor
Object: EVG:EVRU:BUFRX
Type: 8mrmBufRx
  b Enable = 1
Object: EVG:EVRU:BUFTX
Type: 12mrmDataBufTx
  b Enable = 1
  j Max length = 2044
  b Ready to send = 1

Object: EVG:EVRD:BUFRX
Type: 8mrmBufRx
  b Enable = 1
Object: EVG:EVRD:BUFTX
Type: 12mrmDataBufTx
  b Enable = 1
  j Max length = 2044
  b Ready to send = 1

# iocsh errors
Missing required option OBJ
recGblRecordError: Couldn't parse link string No device at specified address PV: TDL-JJ:Ctrl-EVG-1:U-dbus-send-s8
Missing required option OBJ
recGblRecordError: Couldn't parse link string No device at specified address PV: TDL-JJ:Ctrl-EVG-1:U-dbus-send-u32
Missing required option OBJ
recGblRecordError: Couldn't parse link string No device at specified address PV: TDL-JJ:Ctrl-EVG-1:U-dbus-recv-s8
Missing required option OBJ
recGblRecordError: Couldn't parse link string No device at specified address PV: TDL-JJ:Ctrl-EVG-1:U-dbus-recv-u32
Missing required option OBJ
recGblRecordError: Couldn't parse link string No device at specified address PV: TDL-JJ:Ctrl-EVG-1:D-dbus-send-s8
Missing required option OBJ
recGblRecordError: Couldn't parse link string No device at specified address PV: TDL-JJ:Ctrl-EVG-1:D-dbus-send-u32
Missing required option OBJ
recGblRecordError: Couldn't parse link string No device at specified address PV: TDL-JJ:Ctrl-EVG-1:D-dbus-recv-s8
Missing required option OBJ
recGblRecordError: Couldn't parse link string No device at specified address PV: TDL-JJ:Ctrl-EVG-1:D-dbus-recv-u32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants