Cov txheej txheem:

Yuav Txiav Txim Li Cas Lub Tsheb CAN Cov Ntaub Ntawv Npav: 8 Kauj Ruam
Yuav Txiav Txim Li Cas Lub Tsheb CAN Cov Ntaub Ntawv Npav: 8 Kauj Ruam

Video: Yuav Txiav Txim Li Cas Lub Tsheb CAN Cov Ntaub Ntawv Npav: 8 Kauj Ruam

Video: Yuav Txiav Txim Li Cas Lub Tsheb CAN Cov Ntaub Ntawv Npav: 8 Kauj Ruam
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim
Yuav Txiav Txim Li Cas Lub Tsheb CAN Cov Ntaub Ntawv
Yuav Txiav Txim Li Cas Lub Tsheb CAN Cov Ntaub Ntawv

Hauv cov lus qhia no peb yuav sau CAN cov ntaub ntawv tsheb npav ntawm lub tsheb lossis tsheb thauj khoom thiab hloov pauv cov ntaub ntawv CAN tsheb npav uas tau kaw cia kom nyeem tau. Rau kev txiav txim siab peb yuav siv can2sky.com huab kev pabcuam uas yog pub dawb. Peb tuaj yeem sau cov cav los ntawm CAN -USB cov hloov pauv tab sis ua tib zoo mloog cov cav cav - nws yuav tsum sib xws nrog cov kev pabcuam txiav suab.

Kauj Ruam 1: Xaiv CAN-bus/USB Tool thiab Software

Xaiv CAN-bus/USB Tool thiab Software
Xaiv CAN-bus/USB Tool thiab Software

can2sky.com tus lej txiav txim siab txhawb nqa ntau hom tsheb npav:

1. CAN-hacker trc-file format

USB adapter txuas

CAN tsheb npav cav (29 ntsis) piv txwv (tsheb, tsheb npav, tsheb laij teb, lwm yam tshuab ua lag luam). Cov ntawv yuav tsum muaj *.trc txuas ntxiv. Sijhawm ID DLC Cov Ntaub Ntawv Qhia

40, 425 18FFB5F2 8 3A 82 FF 5C C6 80 11 05

40, 431 18F005F6 8 FFFFFFFFFFFFF 20 50

40, 431 14FFB4F6 8 00 FF 16 F0 FF FF FF FF FF

40, 433 18FFB6F2 8 00 00 00 00 F1 12 FF FF

Ua piv txwv

CAN npav npav (11 ntsis) piv txwv (tsheb). Cov ntaub ntawv yuav tsum muaj *.trc txuas ntxiv.

Piv txwv ntawm hom ntawv

36, 492 1 0004 40A 8 C0 00 38 8F 94 DA 07 3A 00000000

36, 592 1 0004 40A 8 C0 01 00 00 9F AF 00 35 00000000

36, 692 1 0004 40A 8 BF 00 3D 04 02 37 A7 00 00000000

36, 792 1 0004 40A 8 BF 02 22 00 00 00 02 2B 00000000

36, 892 1 0004 40A 8 BF 03 30 00 02 00 00 00 000 000000

36, 992 1 0004 40A 8 BF 04 31 80 00 24 00 06 00000000

Ua piv txwv

2. Cov hom ntawv tso tawm ntawm Linux siv hluav taws xob candump

Cov ntaub ntawv no yuav tsum muaj qhov txuas ntxiv *.log. Koj tuaj yeem siv Raspberry Pi, Pi Pi lossis lwm yam Linux PC nrog tuaj yeem cuam tshuam thiab tuaj yeem siv cov software teeb tsa. Yuav teeb tsa Pi li cas rau CAN-npav ua haujlwm koj tuaj yeem nyeem tau ntawd. 11 ntsis piv txwv piv txwv:

(1579876676.199507) slcan0 2DE#0000000000000050

(1579876676.199539) slcan0 358#000A800000000000

(1579876676.199547) slcan0 1CA#0000000005005055

(1579876676.199553) slcan0 1CB#00000000000185

Ua piv txwv

3. Hom ntawv yooj yim csv

Cov ntaub ntawv no yuav tsum muaj qhov txuas ntxiv *.csv

Thawj txoj hlua - header nrog cov npe kab. SA kab yog qhov tsim nyog tab sis tuaj yeem sau los ntawm "1". sijhawm; PGN; SA; b0; b1; b2; b3; b4; b5; b6; b7;;

0, 01; 41; 1; 7A; 3; 0; 0; 0; 0; 0; 0; 0; 0;

0, 02; 50; 1; 0; 20; 90; B0; FF; FF; FF; FF; FF;;

0, 03; 0D0; 1; B5; 20; 0; 8; 0D; 90; FF; FF;;

0, 04; 1A0; 1; 0; 40; 0; 0; FE; FE; 0; 0E;;

0, 05; 280; 1; 1; 22; CC; 0C; 22; 0; 17; 19;;

0, 06; 288; 1; 8A; 7B; 10; 0; 0; 53; 93; 0F;;

Download example Download Piv txwv

Rau 29 -ntsis CAN npav, tsuas yog siv 2 bytes ntawm PGN hauv PGN kem (piv txwv - FEF2, FECA, thiab lwm yam).

Kauj ruam 2: Sau npe thiab nkag mus rau Can2sky.com Kev Pabcuam

Sau npe thiab nkag mus rau Can2sky.com Kev Pabcuam
Sau npe thiab nkag mus rau Can2sky.com Kev Pabcuam
Sau npe thiab nkag mus rau Can2sky.com Kev Pabcuam
Sau npe thiab nkag mus rau Can2sky.com Kev Pabcuam

Thaum koj daim npav CAN npav tau kaw tseg koj tuaj yeem tso nws mus rau qhov kev pabcuam can2sky.com los txiav txim siab nws.

Koj yuav tsum sau npe nkag mus rau qhov kev pabcuam. Email xav tau kev lees paub, uas yuav xa los ntawm kev pabcuam.

Tom qab nkag mus koj tuaj yeem thauj koj thawj CAN cav. Nyem Upload TRC-file khawm.

Kauj Ruam 3: Thauj Koj Lub CAN Bus Log

Thauj Koj Lub CAN Bus Log
Thauj Koj Lub CAN Bus Log
Thauj Koj Lub CAN Bus Log
Thauj Koj Lub CAN Bus Log

Xaiv Kev Xaiv Tsheb Tshiab thiab sau cov ntaub ntawv hais txog lub tsheb (txhua qhov chaw xav tau).

Luag thiab poob koj daim npav CAN npav.

Tom qab ntawd peb tuaj yeem xaiv tus parser (DBC-file) los txiav txim siab cav. Kev pabcuam yuav tshuaj xyuas txhua qhov ua tau zoo parsers thiab qhia tus lej sib piv tsis tau los ntawm parser thiab cav. Xaiv cov parser uas tsim nyog tshaj plaws los txiav txim siab koj lub cav. Coj mus rau hauv tus account tias tib lub chaw tsim khoom cais tawm yuav muab cov txiaj ntsig zoo rau koj.

Rau 29bit CAN tsheb npav ntawm cov tsheb thauj khoom, tsheb npav thiab lwm yam tsheb coj mus muag peb yuav siv ib qho ntawm J1939 cais tawm vim tias tus qauv kev lag luam no. Rau cov tsheb tsis muaj tus qauv yog li txhua lub tsheb sib txawv raws li CAN npav ID. Qhov ntawd txhais tau tias txawm hais tias peb tuaj yeem siv Ford parser rau kev txiav txim siab Mercedes cov ntaub ntawv - tab sis peb yuav tau txais cov txiaj ntsig tsis muaj txiaj ntsig txawm tias muaj cov lej zoo sib xws. Vim tias cov neeg muag tsheb sib txawv tuaj yeem siv tib tus ID rau qhov sib txawv.

Hauv peb qhov piv txwv rau BMW X6 cav peb yuav siv BMW X1 parser, vim yog tib lub chaw tsim khoom thiab tus lej loj tshaj ntawm cov lej sib piv.

Nyem Xa.

Kauj Ruam 4: Pom Cov Ntaub Ntawv CAN Bus

Pom kev pom ntawm CAN Bus Cov Ntaub Ntawv
Pom kev pom ntawm CAN Bus Cov Ntaub Ntawv
Pom kev pom ntawm CAN Bus Cov Ntaub Ntawv
Pom kev pom ntawm CAN Bus Cov Ntaub Ntawv
Pom kev pom ntawm CAN Bus Cov Ntaub Ntawv
Pom kev pom ntawm CAN Bus Cov Ntaub Ntawv

Lub qhov rais loj dashboard tshwm qhov twg koj tuaj yeem pom tag nrho koj lub cav thiab cais tawm (ob qho ua ntej thiab koj tus kheej cais tawm). Tom qab qee lub sijhawm xwm txheej ntawm koj lub cav yuav raug hloov pauv los ntawm "kev nce qib" mus rau "ua tiav"

Nyem Saib kom pom qhov pom kev.

Sab laug ib sab ntawm lub vijtsam - cov npe ntawm CAN tus cim uas tau ua haujlwm hauv lub cav no. Qee tus ntawm lawv tau lees paub los ntawm DBC-parser, qee qhov-tsis (cim nrog keeb kwm yav dhau liab).

Tus nqi kab qhia pom qhov tsawg kawg thiab qhov siab tshaj qhov ntsuas tus nqi thaum lub sijhawm nkag. Yog tias koj nyem rau ntawm qhov ntsuas hauv qhov ntsuas qhov teev - nws dhau los ua ntsuab. Cov lus ntawm qhov tseem ceeb yuav tshwm sim thiab cov phiaj xwm phiaj xwm.

Koj tuaj yeem nthuav cov phiaj xwm nrog khawm laug nas thiab xaiv ib feem ntawm cov phiaj xwm. Koj tuaj yeem tsim ntau thaj av ib zaug, kuj tseem tuaj yeem ua ke cov phiaj los ntawm cov cav sib txawv. Txhawm rau xaiv lwm qhov chaw ntawm qhov ntsuas koj tuaj yeem nyem rau ntawm daim ntawv teev npe ntawm cov cav nkag.

Tshooj lim tso cai lim tawm CAN cov npav uas tsis zoo rau peb. Parameters cim ntsuab tshwm hauv daim ntawv. Inversion yuav thim kev xaiv.

Kauj ruam 5: Parser Editor

Tus editor
Tus editor
Tus editor
Tus editor

Cov Cai ntawm CAN-npav cov lus txiav txim siab tau piav qhia los ntawm DBC-cov ntaub ntawv. Txhua qhov ntsuas (SPN) muaj nws tus kheej txoj cai txiav txim siab uas koj tuaj yeem hloov kho, clone lossis rho tawm hauv SPN tus khoos phis tawj

SPN tus kho qhov rai muaj tag nrho cov ntaub ntawv ntsig txog kev txiav txim siab ntawm CAN npav npav no.

Pib me ntsis-pib txoj haujlwm ntawm qhov ntsuas hauv CAN cov lus tsheb npav (hauv cov khoom, vim tias muaj ntau qhov me ntsis-coded tsis). Txhua byte = 8 khoom (fyi). Bit ntev - ntev ntawm CAN parameter hauv cov khoom.

Me ntsis endian lossis Big endian - byte xaj suav suav. Kev pabcuam txhawb nqa ob qho Intel (Me ntsis endian) lossis Motorola Lsb (Big endian) hom ntawv.

Nplai - nplai yuav hloov pauv li cas tuaj yeem ua tus nqi tiag tiag.

Offset - offset ntawm tus nqi tiag, yog li cov ntaub ntawv tiag tau suav ua CAN parameter * scale + offset.

Min thiab Max - yam tsawg kawg nkaus thiab tus nqi siab tshaj (yeem).

Koj tuaj yeem pom qhov tshwm sim ntawm koj qhov kev txiav txim siab ua haujlwm hauv DEC, HEX thiab hom ntawv binary. Tom qab SPN kev hloov kho koj yuav tau txais kev ceeb toom kom txuag DBC-parser nyob rau hauv lub npe tshiab (koj tsis tuaj yeem hloov kho DBC-file default), koj tsuas yog tsim tau tshiab version ntawm nws. Kev tsim DBC-parser tshiab tuaj yeem siv sijhawm ntau (ob peb feeb, thov, ua siab ntev).

Kauj Ruam 6: Txhim Kho Koj Tus Kheej Tus Kheej

Txhim Kho Koj Tus Kheej Tus Kheej
Txhim Kho Koj Tus Kheej Tus Kheej
Txhim Kho Koj Tus Kheej Tus Kheej
Txhim Kho Koj Tus Kheej Tus Kheej
Txhim Kho Koj Tus Kheej Tus Kheej
Txhim Kho Koj Tus Kheej Tus Kheej

Hauv SPN-editor koj tuaj yeem ntxiv cov cai txiav txim siab rau cov lus tsis paub.

Nyem +SPN ua kom tiav Ib zaug ntxiv, koj tsis tuaj yeem tsim SPN txoj cai tshiab hauv DBC vim, yog li koj yuav tau txais kev ceeb toom kom ua qhov tshiab.

Tom qab txuag raws li DBC tshiab qhib koj lub cav los ntawm tus kws ntsuas tshiab.

Tam sim no koj tuaj yeem ntxiv cov ntsiab lus SPN tshiab. SPN-editor yuav tshwm qhov twg koj tuaj yeem tso npe SPN thiab teeb tsa cov khoom muaj nuj nqis thiab ntsuas.

Txij li SPN tshiab tau tsim koj tuaj yeem siv nws cov txiaj ntsig rau cov phiaj xwm thiab txheeb xyuas ua ke nrog lwm yam tsis. Qhib (hloov pauv) bytes thaum lub sijhawm tshuaj xyuas yuav muaj xim.

Kauj Ruam 7: Ua Koj Lub Npe Pej Xeem

Ua Koj Cov Log Pej Xeem
Ua Koj Cov Log Pej Xeem
Ua Koj Cov Log Pej Xeem
Ua Koj Cov Log Pej Xeem

Los ntawm lub neej ntawd, txhua lub cav yog tus kheej thiab tuaj yeem tshuaj xyuas nkaus xwb los ntawm nws tus tswv. Tab sis koj tuaj yeem tua qhov kev hloov no thiab ua cav "Pej Xeem".

Tom qab nkag mus hauv qab tus neeg siv lub npe tshiab peb yuav pom cov npe no hauv ntu pej xeem, nkag tau rau txhua tus neeg siv ntawm lub platform. Txhua tus tuaj yeem tshuaj xyuas nws thiab tsim cov phiaj xwm, tshaj tawm ua lus qhuas hauv qab cav.

Kauj Ruam 8: Txuag Cov Ntsiab Lus hauv PDF File

Txuag Cov Ntsiab Lus hauv PDF File
Txuag Cov Ntsiab Lus hauv PDF File

Koj tuaj yeem tsim daim ntawv tshaj tawm nrog txhua qhov lees paub thiab tsis lees paub CAN npav npav cov ntaub ntawv ntsuas. Nyem Export rau PDF.

Pom zoo: