Mazda brochures

7
Madox.NET Perversions of an Engineer Home About Me Gallery Projects Mazda CAN Bus Scratch Pad mFC – Madox Floating Camera HP ProBook 5310m – Ubuntu Reference Internet Shopping TPLink TLWR703N Loightscythe Shapeways Mazda CAN Bus Introduction Read the multipart blog posts : 1. Reverse Engineering the Mazda CAN Bus – Part 1 2. Reverse Engineering the Mazda CAN Bus – Part 2 Notes : 1. I’ve still got some data from another person on a similar quest to combine into this data… if you have any info/data as well. Let me know and I’ll add it too. 2. Ignore my silly colour schemes I think blue is confirmed, and all others…mean something. I’ll clean it up later. HSCAN Data This is the HS CAN data. 500 kbps / 500kHz. Can Message Identifier Byte(s) Bit Bitmask Description Comment 00000040 Only lasts when key is first on 00000046 Only lasts when key is first on 00000190 2 6 0x40 Brake Active 00000200 0,1 Unknown Correlates with with 00000200(4,5) & Acceleration 00000200 2,3 Unknown 00000200 4,5 Unknown Correlates with with 00000200(0,1) & Acceleration 00000200 6 7 0x80 Unknown 00000201 0,1 RPM Scale = X rpm.

description

I own a mazda cx5.Wipers/rain sensitivity and lights/doors can be set up from headunit. Could be theyadjusted via can bus commands? I am going to replace HU by an aftermarket one and inject buscommands from android kernel to canbus (via USB)Could this be done? Can I use the stock head unit to identify can bus pid that HU sends when settingoptions? Any tip for achieving this?Many thanks in advance

Transcript of Mazda brochures

  • 5/25/2015 Madox.NETMazdaCANBus

    http://www.madox.net/blog/projects/mazdacanbus/ 1/7

    Madox.NETPerversionsofanEngineer

    HomeAboutMeGalleryProjects

    MazdaCANBusScratchPadmFCMadoxFloatingCameraHPProBook5310mUbuntuReferenceInternetShoppingTPLinkTLWR703NLoightscythe

    Shapeways

    MazdaCANBus

    IntroductionReadthemultipartblogposts:

    1. ReverseEngineeringtheMazdaCANBusPart12. ReverseEngineeringtheMazdaCANBusPart2

    Notes:

    1. Ivestillgotsomedatafromanotherpersononasimilarquesttocombineintothisdataifyouhaveanyinfo/dataaswell.LetmeknowandIlladdittoo.

    2. Ignoremysillycolourschemes Ithinkblueisconfirmed,andallothersmeansomething.Illcleanituplater.

    HSCANDataThisistheHSCANdata.500kbps/500kHz.

    CanMessageIdentifier

    Byte(s) Bit Bitmask Description Comment

    00000040 Onlylastswhenkeyisfirston00000046 Onlylastswhenkeyisfirston00000190 2 6 0x40 BrakeActive

    00000200 0,1 Unknown Correlateswithwith00000200(4,5)&Acceleration00000200 2,3 Unknown

    00000200 4,5 Unknown Correlateswithwith00000200(0,1)&Acceleration00000200 6 7 0x80 Unknown00000201 0,1 RPM Scale=Xrpm.

  • 5/25/2015 Madox.NETMazdaCANBus

    http://www.madox.net/blog/projects/mazdacanbus/ 2/7

    00000201 2,3 UnknownOffsetby0x4000.Appearstobethedeltainenginetorque?Derivativeofrpm?Cumulativereturnstozero.

    00000201 4,5 VehicleSpeed Scale=X/100km/h.Unsigned.00000201 6 AcceleratorPedal AcceleratorPosition.200isfullydepressed.00000205 2 6 0x40 BrakeActive

    0000020F 2,3 VehicleSpeedScale=(X10000)/100km/h,unsigned(Refertohandleposition).Correlateswith0000004B0wheelspeeds.

    0000020F 4 6 0x40 Unknown Appearsalwayson00000211 2 7 0x80 Unknown Appearsalwayson00000211 4 6 0x40 Unknown Appearsalwayson00000212 0 7 0x80 Unknown Appearsalwayson00000212 2 5 0x20 Unknown Appearsalwayson00000212 3 7 0x80 Unknown Appearsalwayson

    00000212 4 4 0x10 SomeDashWarningLightOffwhenignitionisoff

    00000212 4 6 0x40 SomeDashWarningLightOffwhenignitionisoff00000228 0 0 0x1 Off(Park) 0x03appearstobeneutral00000228 0 1 0x2 Reverse 0x03appearstobeneutral00000228 0 2 0x4 Forward(Drive)00000228 0 300000228 0 4 0x10 1stGear00000228 0 5 0x20 2ndGear00000228 0 6 0x40 3rdGear00000228 0 7 0x80 4thGear

    00000228 1 3 0x8 GearShift Activeforseveralmessagesoneachgearchange.00000228 1 4 0x10 Unknown Occurredonceonagearchange00000228 1 6 0x40 Somethingtodowithbrakepedal00000228 1 7 0x80 Manual/Triptronic

    00000231 0 0 0x1 Unknown NotBrake,butveryclosechangesnotfarfrombrake00000231 0 1 0x2 Unknown Alwaysappearsoff00000231 0 2 0x4 Unknown Alwaysappearsoff00000231 0 3 0x8 Unknown Alwaysappearsoff00000231 0 4 0x10 1stGear Reverse=0xE?00000231 0 5 0x20 2ndGear Reverse=0xE?00000231 0 6 0x40 3rdGear Reverse=0xE?00000231 0 7 0x80 4thGear Reverse=0xE?00000231 1,2 Unknown Torque?RPMdemandx10?

    00000240 0 Unknown Varies,notcorrelatedwithspeed/accel.Around10/11/12whenstationary.00000250 0 Unknown00000250 1 Unknown00000250 2 Unknown

    00000250 3 Unknown

    AcceleratorPosition.225seemsfullydepressed,butbiasof32Seeotheraccelpos.Thismightbetherawvalue,somenoise.

    00000250 4 0 0x1

  • 5/25/2015 Madox.NETMazdaCANBus

    http://www.madox.net/blog/projects/mazdacanbus/ 3/7

    00000250 5 1 0x200000250 5 2 0x400000250 5 3 0x800000250 5 4 0x1000000250 5 5 0x2000000250 5 6 0x40000002A0 Unknown Appearstobeallzeroes(4byteframe)00000420 0,1 Unknown00000420 100000420 2 Unknown Counter(AlwaysIncrements)00000430 Unknown Notsureif2bytesorbytepair.00000433 1 0 0x100000433 2 0 0x1 Unknown Notseentochange(0)00000433 2 1 0x2 Unknown Changes00000433 2 2 0x4 Unknown Changes00000433 2 3 0x8 Unknown Notseentochange(1)00000433 2 6 0x40 Unknown Notseentochange(1)00000433 3 0 0x1 Unknown00000433 3 1 0x2 Unknown00000433 3 2 0x4 Unknown00000433 3 3 0x8 Unknown00000433 5 0 0x1 Unknown Notseentochange(1)00000433 6 0 0x1 Unknown00000433 6 1 0x2 Unknown00000433 6 2 0x4 Unknown00000433 6 3 0x8 Unknown00000433 6 6 0x40 Unknown

    000004B0 0,1 LeftFrontWheelSpeedCheckOrder.Scale=(X10000)/100km/h,unsigned(Refertohandleposition).Correlateswith00000020Fvehiclespeeds.

    000004B0 2,3 RightFrontWheelSpeedCheckOrder.Scale=(X10000)/100km/h,unsigned(Refertohandleposition).Correlateswith00000020Fvehiclespeeds.

    000004B0 4,5 LeftRearWheelSpeedCheckOrder.Scale=(X10000)/100km/h,unsigned(Refertohandleposition).Correlateswith00000020Fvehiclespeeds.

    000004B0 6,7 RightRearWheelSpeedCheckOrder.Scale=(X10000)/100km/h,unsigned(Refertohandleposition).Correlateswith00000020Fvehiclespeeds.

    000004DA 0,1 SteeringColumnAngle (X32768)/10Degrees,Clockwise+ve.000004DA 2 6 0x40 Unknown Notseentochange(1)000004DA 2 7 0x80 Unknown Notseentochange(1)000004EA Unknown 1ByteFramealways00000004EC Unknown 8ByteFramealways00

    000004F0 UnchangingUnknownEvery5s 142412FFFF7F

    000004F1 UnchangingUnknownEvery5s 4A019FFFFF645E5E

    000004F2 1,2 Odometer(Total) Mightbefirstbytetootogettherange

    000004F3 UnchangingUnknownEvery5s 3230333030383131

    000004F4UnchangingUnknown

    424B313046323030

  • 5/25/2015 Madox.NETMazdaCANBus

    http://www.madox.net/blog/projects/mazdacanbus/ 4/7

    Every5s

    MSCANDataThisistheMSCANdata.125kbps/125kHz.

    CanMessageIdentifier

    Byte(s) Bit Bitmask Description Comment

    00000023 1 7 0x80 Unknown Notseentochange(1)00000201 0,1 RPM

    00000201 2,3 UnknownOffsetby0x8000.Appearstobethedeltainenginetorque?Cumulativereturnstozero.

    00000201 4,5 VehicleSpeed Scale=X/100km/h.Unsigned.

    00000201 6 Unknown AcceleratorPosition?Verycloselylinkedwithaccelerations(notdecel).

    00000265 0 5 0x20 Unknown LeftBlinkerIndicateslighton.(Itpulsestoo!)Checkhazard

    00000265 0 6 0x40 Unknown RightBlinkerIndicateslighton.(Itpulsestoo!)Checkhazard00000285 0 5 0x20 Unknown keypos?00000285 0 6 0x40 Unknown keypos?0000028F 0 4 0x10 Unknown volume?0000028F 0 6 0x40 Unknown volume?0000028F 0 7 0x80 Unknown volume?

    00000290 1,2,3,4,5,6,7 HULCDAlphanumericDisplay1/2 ASCIIByteCodes

    00000291 1,2,3,4,5,6,7 HULCDAlphanumericDisplay2/2 ASCIIByteCodes

    00000400 0,1 AverageSpeed AverageSpeedinKm/h.Mightbesinglebyteonly

    00000400 2,3 FuelConsumption InstantaneousFuelConsumptionL/100km.ScaleX/10.

    00000400 3,4 AverageFuelConsumptionFuelConsumption(L)per100km.ScaleX/10.Mightbesinglebyteonly.

    00000400 5,6 DistanceRemaining DistanceinKMremaining00000401 0 Unknown Notseentochange(0)00000420 0 Unknown RisesthenlevelsoffTemperature?00000420 1,2 Unknown Increasingcounter?00000420 4 1 0x2 Unknown00000420 4 6 0x40 Unknown

    00000433 2 Guessonly,temperatureinCX/4(0.25degCincs)00000433 3 0 0x1 KeyOn?00000433 3 3 0x8 AirConrunning?00000433 3 6 0x40 Highbeam(IndicatorLight)00000433 4 Headlight&Wiper00000460 Keyposition?00000501 Key?00000511 Key?

  • 5/25/2015 Madox.NETMazdaCANBus

    http://www.madox.net/blog/projects/mazdacanbus/ 5/7

    103ResponsestoMazdaCANBus

    1.

    Tw33dlersays:August23,2013at14:16

    Re:Rx8instrumentClusteranyoneknowhowtofooltheclusterintothinkingtheparkinglight/headlightsareon?gotitworkingonmydesktopsimulatorbutiwanttheclustersredlightstoturnwheniturnthelightson.itsaCANsignalbutdunnowhichid.

    Reply2.

    ReverseengineeringtheRX8sinstrumentcluster,partoneCantankosays:January15,2014at00:04

    []amessagetype,alengthfieldandoneormorebytesofdata.FrominformationIdfoundonthissite,CANmessageidentifier0201lookedinteresting,soIsetallthebitsinthe8bytedata[]

    Reply3.

    spirossays:May1,2014at03:33

    canypuhelpmeihaveanrx8andimade1jzengoneswamphowtomakeguagework?

    Reply4.

    Andrew22says:July23,2014at07:21

    AnychanceyouhaverawdatafilefromtheCanBustohaveadetailedlookat?

    Reply5.

    Zangdar64says:August23,2014at07:54

    Nice!ImactuallydumpingthetwocanbusofmyMazda3(2ndGEN).SomePIDaresame.

    Reply6.

    IKERsays:August29,2014at01:24

    Iownamazdacx5.Wipers/rainsensitivityandlights/doorscanbesetupfromheadunit.Couldbetheyadjustedviacanbuscommands?IamgoingtoreplaceHUbyanaftermarketoneandinjectbuscommandsfromandroidkerneltocanbus(viaUSB)Couldthisbedone?CanIusethestockheadunittoidentifycanbuspidthatHUsendswhensettingoptions?Anytipforachievingthis?Manythanksinadvance

    Genuine Mazda Car PartsGenuine OEM Japanese Car Parts. Buy online

    and save! Fast delivery

  • 5/25/2015 Madox.NETMazdaCANBus

    http://www.madox.net/blog/projects/mazdacanbus/ 6/7

    Reply7.

    IntroducingtheCANBusTriple!Page8MazdaspeedForumssays:September2,2014at06:43

    [][]

    Reply8.

    IndieGameDeveloper|WTF!ItShouldNotBeIllegaltoHackYourOwnCarsComputersays:January23,2015at22:18

    []toreverseengineertheircarscommunicationnetworkandraiditfordata.ThereareevenpeoplereverseengineeringMazdasincaseIshouldevergetcuriousabouttheonesandzeroeszoomingaroundinthesecret,[]

    Reply9.

    WTF!ItShouldNotBeIllegaltoHackYourOwnCarsComputer|Naggsays:January23,2015at22:30

    []toreverseengineertheircarscommunicationnetworkandraiditfordata.ThereareevenpeoplereverseengineeringMazdas[7]incaseIshouldevergetcuriousabouttheonesandzeroeszoomingaroundinthesecret,[]

    Reply10.

    ItShouldNotBeIllegaltoHackYourOwnCarsComputer|iFixitsays:January24,2015at05:25

    []toreverseengineertheircarscommunicationnetworkandraiditfordata.ThereareevenpeoplereverseengineeringMazdasincaseIshouldevergetcuriousabouttheonesandzeroeszoomingaroundinthesecret,[]

    Reply11.

    Michasays:January30,2015at09:55

    DidyoutrysendingsomethingoverCAN?IwouldbeinterestedinsendingtexttoLCD?IwonderifIsendmessagesameasthatcomingfromradiowillitgetreplaced?

    Reply

    OlderCommentsLeaveaReply

    Name(required)

    Email(willnotbepublished)(required)

    Website

  • 5/25/2015 Madox.NETMazdaCANBus

    http://www.madox.net/blog/projects/mazdacanbus/ 7/7

    SubmitComment

    PoweredbyWordPress,Mandigothemebytom.Entries(RSS)and Comments(RSS).

    Cancel