cms-gem-daq-project / xhal

XHAL interface library
0 stars 10 forks source link

Fix exe mode when executing on card #68

Closed mexanick closed 6 years ago

mexanick commented 6 years ago

Description

Types of changes

Motivation and Context

Fixing exe mode to work correctly on the card

How Has This Been Tested?

tested at eagle61 examples of usage: Examples from host:

reg_interface.py -e read "GEM_AMC.GEM_SYSTEM.BOARD_ID" -n eagle61
reg_interface.py -e write "GEM_AMC.GEM_SYSTEM.BOARD_ID 0xfeed" -n eagle61

Examples from card:

reg_interface.py -e read "GEM_AMC.GEM_SYSTEM.BOARD_ID"
reg_interface.py -e write "GEM_AMC.GEM_SYSTEM.BOARD_ID 0xfeed"

Screenshots (if appropriate):

Checklist:

mexanick commented 6 years ago

@bdorney I don't understand your comment. Any method can be called in exe mode...

bdorney commented 6 years ago

@bdorney I don't understand your comment. Any method can be called in exe mode...

The comment is that from the help menu of reg_interface.py the syntax expected when using the -e option is not illustrated. Additionally if incorrect syntax is given the output text does not given information to adequately understand the root of the problem.

mexanick commented 6 years ago

this is fixed in last commit, please see above

bdorney commented 6 years ago

Missed the updated commit, excellent. This is exactly what I was hoping for!