46 lines
2.1 KiB
Plaintext
46 lines
2.1 KiB
Plaintext
When start up, it will load the following files
|
|
1. constant.mat for setting the constant value
|
|
2. configuration.mat, simulating the configuration value stored in the flash/eeprom
|
|
|
|
Files information:
|
|
------------------
|
|
Wiper_controller.slx - the main part for handling HI, LOW, INT_AUTO request
|
|
wiper.slx - model for demo the main part
|
|
wiper_model.slx - the overall model
|
|
wiper_model_sim.slx - model for demo
|
|
wiper_model_test.slx - model for running test case
|
|
test_case.mat - holding the test cases
|
|
test_case.xlsx - export from test_case.mat
|
|
test.mldatx - holding the mapping
|
|
constant.mat - storing the system constant
|
|
configuration.mat - storing the configuration from eeprom/flash
|
|
|
|
Note:
|
|
There is no SWIF_BdcOtaMod for checking the OTA mode
|
|
|
|
============================================
|
|
New design base on C code from FrntWiperCtrl
|
|
============================================
|
|
added interface in FrntWiperCtrl.c and FrntWiperCtrl.h for interacting with Matlab, all the logic is based on the c code (use the C caller block)
|
|
purpose: Matlab can help to verify the logic in the c code without (or miniziing) creating new bug due to problem in the Matlab model.
|
|
[files lists]
|
|
configuration.mat
|
|
- storing all the eeprom/flash configuration/parameters
|
|
wiper_from_c.slx
|
|
- use C caller to call the C code from FrntWiperCtrl
|
|
FrntWiperCtrl_test.mldatx
|
|
- the test file of the model, requirement 5.5.1
|
|
requirement 5.5.1
|
|
- testing input: wiper\test_files\FrntWiperCtrl_test\input_5_5_1
|
|
- tested with input against "logical and temporal assesments"
|
|
requirement 5.5.2, 5.5.3
|
|
- testing input: wiper\test_files\FrntWiperCtrl_test\input_5_5_2
|
|
- tested with input against "logical and temporal assesments"
|
|
added delay of 18ms for the home position of the wiper as indicated in the c code.
|
|
requirement 5.7.7
|
|
- testing input: wiper\test_files\FrntWiperCtrl_test\input_5_7_7
|
|
- tested with input against "logical and temporal assesments"
|
|
setting the speed to 130, INT position to 1 -> dwell time 10.1s
|
|
|
|
Dummy_Wiper_Sim.slx
|
|
- simulating the controlled wiper, generating the park position for testing |