You are on page 1of 12

LINUX DOCUMENTATION

Date Prepared By Reviewed By Approved By

08-08-2023 Anusuri Harishkumar

Page | 1
Table of Contents

1. OPEN UBUNTU TERMINAL WITH YAKUAKE................................................................................................... 4


2. CANDUMP MESSAGES WITH 250 Kbps.......................................................................................................... 5
3. CANDUMP MESSAGES WITH 500 Kbps.......................................................................................................... 5
4. CAN RAW DATA STOR..................................................................................................................................... 6
5. SLEEP DATA STORE................................................................................................................................................ 7
4. VOLTTIC CHARGE DATA STORE............................................................................................................................... 8
5. CAN TEST FOR NORMAL CAN MESSAGES (250 kbps)................................................................................................. 9
6. CAN TEST FOR J1939 MESSAGES (250 kbps)........................................................................................................... 10
7. GB/T SIMULATOR................................................................................................................................................ 11

Ver1.0 ; Rev A ©Log9 Materials Scientific Private Limited, All rights reserved Page 2 | 12
IMAGES

Figure 1 : Applications................................................................................................................................................................................ 4
Figure 2 : Yakuake terminal...................................................................................................................................................................... 4
Figure 3 : 250 kbps....................................................................................................................................................................................... 5
Figure 4 : 500 kbps....................................................................................................................................................................................... 6
Figure 5 : Volttic charge data store........................................................................................................................................................... 9
Figure 6 : Normal can messages.............................................................................................................................................................. 10
Figure 7 : J1939 can messages................................................................................................................................................................. 11
Figure 8 : GB/T Simulator........................................................................................................................................................................... 12

Ver1.0 ; Rev A ©Log9 Materials Scientific Private Limited, All rights reserved Page 3 | 12
1. OPEN UBUNTU TERMINAL WITH YAKUAKE.
 Click the show applications tab.
 Open YAKUAKE App.
 Open Yakuake terminal.

Figure 1 : Applications

Figure 2 : Yakuake terminal.

Ver1.0 ; Rev A ©Log9 Materials Scientific Private Limited, All rights reserved Page 4 | 12
2. CANDUMP MESSAGES WITH 250 Kbps.
 Write ls & enter.
 Write cd LV_BMS/
 Click enter.
 Write ./setup_can0_250kbps
 Click enter.
 Enter password & enter.
 Write candump can0
 Click enter.
 Automatically run can messages.
 Click control C messages will be stop.

Figure 3 : 250 kbps.

3. CANDUMP MESSAGES WITH 500 Kbps.


 Write ls & enter.
 Write cd LV_BMS/
 Click enter.
 Write ./setup_can0_500kbps
 Click enter.
 Enter password & enter.

Ver1.0 ; Rev A ©Log9 Materials Scientific Private Limited, All rights reserved Page 5 | 12
 Write candump can0.
 Click enter.
 Automatically run can messages.
 Click control C messages will be stop.

Figure 4 : 500 kbps.

4. CAN RAW DATA STOR.


 Write ls & enter.
 Write cd LV_BMS/
 Click enter.
 Write ls & enter.
 Write cd can-raw-data/
 Click enter.
 Write ./setup_can0.sh
 Click enter.
 Enter password & enter.
 Write candump -ta can0 -l
 Click enter.
 Enabling logfile ‘candump-2023-08-22_153421.log’
 Click enter.
 Data will be stored automatically.
 Click control C data will stop.

Ver1.0 ; Rev A ©Log9 Materials Scientific Private Limited, All rights reserved Page 6 | 12
Figure 5: Can raw data store.

5. SLEEP DATA STORE.


 Write ls & enter.
 Write cd LV_BMS/
 Click enter.
 Write ls & enter.
 Write python-scripts/
 Click enter.
 Write ls & enter.
 Write cd sleep test/
 Click enter.
 Write ls & enter.
 Write ./setup_can0.sh
 Click enter.
 Enter password & enter.
 Write candump -ta can0 -l
 Click enter.
 Enabling logfile ‘candump-2023-08-22_153421.log’
 Click enter.
 Data will be stored automatically.

Ver1.0 ; Rev A ©Log9 Materials Scientific Private Limited, All rights reserved Page 7 | 12
Figure 6 : Sleep data store.

4. VOLTTIC CHARGE DATA STORE


 Write ls & enter.
 Write cd LV_BMS/
 Click enter.
 Write ls & enter.
 Write python-scripts/
 Click enter.
 Write ls & enter.
 Write cd volttic chaege/
 Click enter.
 Write ./setup_can0.sh
 Click enter.
 Enter password & enter.
 Write candump -ta can0 -l
 Click enter.
 Enabling logfile ‘candump-2023-08-29_141705.log’
 Click enter.
 Data will be stored automatically.

Ver1.0 ; Rev A ©Log9 Materials Scientific Private Limited, All rights reserved Page 8 | 12
Figure 5 : Volttic charge data store.

5. CAN TEST FOR NORMAL CAN MESSAGES (250 kbps).


 Write cd LV_BMS/
 Click enter.
 Write cd firmware-test/
 Click enter.
 Write ./setup_can0_250kbps.sh
 Click enter.
 Write cd can-test/
 Click enter.
 Write ./can_loopback.bin
 Click enter.
 Write ./can_loopback.bin -r 1FFF01FF -p 1FFF02FF -b 1 -m 300 -t 1 -c can0
 Click enter.
 After 1 min automatically messages stop.

Ver1.0 ; Rev A ©Log9 Materials Scientific Private Limited, All rights reserved Page 9 | 12
Figure 6 : Normal can messages.

6. CAN TEST FOR J1939 MESSAGES (250 kbps).


 Write cd LV_BMS/
 Click enter.
 Write cd firmware-test/
 Click enter.
 Write ./setup_can0_250kbps.sh
 Click enter.
 Write cd can-test/
 Click enter.
 Write ./can_loopback.bin
 Click enter.
 Write ./can_loopback.bin -r 1301F4F9 -p 1302F9F4 -b 1 -m 300 -t 1 -c can0
 Click enter.
 After 1 min automatically messages stop.

Ver1.0 ; Rev A ©Log9 Materials Scientific Private Limited, All rights reserved Page 10 |
12
Figure 7 : J1939 can messages.

7. GB/T SIMULATOR
 Write cd LV_BMS/
 Click enter.
 Write cd firmware-test/
 Click enter.
 Write ./setup_can_250kbps.sh
 Enter password & click enter.
 Write cd gbt-simulator/
 Click enter.
 Python3 gbt_simulator.py
 Click enter.
 After 10 sec automatically stop.

Ver1.0 ; Rev A ©Log9 Materials Scientific Private Limited, All rights reserved Page 11 |
12
Figure 8 : GB/T Simulator.

Ver1.0 ; Rev A ©Log9 Materials Scientific Private Limited, All rights reserved Page 12 |
12

You might also like