4
« on: August 18, 2023, 07:44:42 PM »
Tataaaaaa
more Menu, more set...
*************************************************************
help - Display this Help screen
login - Show login level, or login with password
logout - Log out of MBB
version - Display board and firmware revision
status - Show the status of the Main Bike Board
stats - Display All statistics
runtime - Show Total Run Time
statsrst - Reset All statistics
set - Show all settings, or edit a specific setting
settingsrst - Reset all settings to defaults
bms - Display BMS data
force_all_storage_mode - Attempt to force all Modules into storage mode, must be keyed off or charging
bluetooth - Display/modify Bluetooth connection
sevcon - Display Sevcon Motor Controller Data
sevcon faults - Display all Sevcon Faults
sevcon preop - Toggles Preop Mode
chargers - Show info for all charger ports
inputs - Show all inputs
outputs - Show all outputs
dash - Show all dash info
obd - Show all obd info
dtc_clear - Clear all DTCs
eventlogdump - Display the contents of the event log
eventlogclear - Clears the Event log Destroys all existing log entries.
errorlogdump - Display the contents of the error log
errorlogclear - Clears the Event log Destroys all existing log entries.
eeprom - Show EEPROM usage
format eeprom - Reset All To Factory Defaults (Reformat EEPROM)
reset - Reset CPU with SW reset
exit_to_bl - Exit main app and start bootloader
blcmds - print bootloader command block
test - Run Specific Test, or show test options menu
dumpall - Dump all data (stats, inputs, settings, and logs
burn - bluetooth bms updater test code
ZERO MBB> set
*************************************************************
* MBB Settings *
*************************************************************
To change settings, type:
"set <setting name> <value1> <value2> ..."
0x preceding the value may be used to indicate a hex number
************
Psudo Settings
************
Variable Description Value
+---------------+------------------------+--------------------
runtime Total Run Time 00002:xxxxxxxxxxxxxxx
**************
Settings
**************
NV writes: xxxxxxxxxxxxxxxxxxx
Setting Name Setting Desc Value Units
+--------------------+---------------------------------------+------------+-----
model_year Model Year 2017
serial MBB Serial Number xxxxxxxxxxxxxxxxxxxxxxxx
vin Bike VIN xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
firmware_rev Firmware Revision 33
board_id Board ID 7
model Bike Model SR
spfront Sprocket Teeth Front 20
sprear Sprocket Teeth Rear 90
rwhcirc Rear Wheel Circum 1972 mm
kill Kill Switch Polarity 1
secidle Seconds Idle Before Turn Off 3600 S
drive_mode Pres Drv Mode 123 norm 456 overide 3
maxcustsprpm Max Custom Speed 6484 RPM
maxcustspmph Max Custom Speed 106 MPH
maxcustspkph Max Custom Speed 170 KPH
maxcusttqx10 Max Custom Torque x10 604 %x10
maxcusttq_allowed Max Custom Torque Percent of Allowed 40 %
maxcustregcotqx10 Max Custom Regen Coast Torque x10 40 %x10
maxcustregcotq_allow Max Cust Regen Coast Torque % of Allowe 50 %
maxcustregbrtqx10 Max Custom Regen Brake Torque x10 72 %x10
maxcustregbrtq_allow Max Cust Regen Brake Torque % of Allowe 90 %
is_dnr_board Is D&R board 0
ZERO MBB> test
*************************************************************
* Test Menu *
*************************************************************
all - Run All Tests
eeprom_full - Test entire EEPROM (contents not preserved)
logs - Test Logs
neutral - Test Sevcon Neutral Logic
footbrake - Test Sevcon Footbrake Regen Logic
system - Run a full in-system test
fuelout - Test fuel gauge output
dash - Test all dash functions
odo - Test odometer and trip odos
range - Test remaining range calculations
filter16 <x> <y> <z> - Test 16 bit filter response( val1, val2, coef )
filter32 <x> <y> <z> - Test 32 bit filter response( val1, val2, coef )
chgdis <x> <y> - Test charger x disable for y seconds
iso_inhibit <y> - Test inhibiting isolation tests on all BMSes for <y> seconds (1-3600)
bluetooth_module- Test connectivity of the Bluetooth module
pessimism <x> - Test fuel gauge pessimism calculation using <x>50008000essimism.
dcdc_switch <x> <y> <z> - Test dcdc switch function ( on_sec, off_sec, iterations (-1 = indefinite).
enter_chg_stby - Immediately enter charge standby mode.
term_chg_stby - Terminate charge standby mode.
custom_settings - Tests setting all custom settings
settings - Test settings storage