-
Notifications
You must be signed in to change notification settings - Fork 105
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
FirmwareUpdater - Added new CLI options #683
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @davidetome for the very nice additions 🚀
I think it should be nice to also put the nice docs that are part of the PR description somewhere more permanent, but I am not sure if there is any place where we can put them, possibily @marcoaccame has some suggestions on this. |
For me a double rocket for @davidetome !! |
a mac-rocket menu, large 🥇 🍔 🤣 |
DESCRIPTION
This PR implements some new
CLI
options of theFirmwareUpdater
tool; this need comes up from the new automated F/T sensor calibration procedure.Anyway, these commands can be used also for other purposes.
DETAILS
The new
CLI
options implemented are :-z
or--load-dat-file
: Loads the calibration .dat file into STRAIN2 eeprom (pass the file.dat with -l or --file option)-w
or--set-strain-sn <sn>
: Sets the passed serialNumber (i.e. SN001) on STRAIN2-j
or--set-strain-gains
: Sets on STRAIN2 default gains to (8,24,24,10,10,24) , adjust the offset and check if some channel saturates-b
or--get-canboard-version <saveFile>
: Gets Bootloader or Application version ( must be y or n to save or not a file containing fw info)-u
or--save-dat-file
: Saves the calibration .dat file from STRAIN2 EEPROMℹ️ All the example are running on a setup with an
EMS4
board withIP=10.0.1.1
and aSTRAIN2
board attached to it in theCAN1
line withID=13
SCREENSHOT
cc @triccyx @simeonedussoni @julijenv @violadelbono @emilianob80 @maggia80 @MrAndrea @traversaro