{"id":4954,"date":"2019-09-07T19:30:09","date_gmt":"2019-09-07T18:30:09","guid":{"rendered":"https:\/\/www.purplemeanie.co.uk\/?p=4954"},"modified":"2025-01-31T13:08:51","modified_gmt":"2025-01-31T13:08:51","slug":"ecu-diagnostics-part-6-reading-material","status":"publish","type":"post","link":"https:\/\/staging.purplemeanie.co.uk\/index.php\/2019\/09\/07\/ecu-diagnostics-part-6-reading-material\/","title":{"rendered":"ECU Diagnostics &#8211; part 6 : Reading Material"},"content":{"rendered":"\n<p>Another quick one, really quick this time&#8230;<\/p>\n\n\n\n<p>Mark (<a href=\"https:\/\/www.caterham7diaries.com\">CTRMint<\/a>) had been doing his research and had told us about a book he was buying, and I just couldn&#8217;t resist&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image alignnone is-style-default\"><a href=\"https:\/\/www.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/51itpsaLlfL._SX376_BO1204203200_.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"378\" height=\"499\" data-attachment-id=\"4955\" data-permalink=\"https:\/\/staging.purplemeanie.co.uk\/index.php\/2019\/09\/07\/ecu-diagnostics-part-6-reading-material\/51itpsallfl-_sx376_bo1204203200_\/\" data-orig-file=\"https:\/\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/51itpsaLlfL._SX376_BO1204203200_.jpg\" data-orig-size=\"378,499\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"51itpsaLlfL._SX376_BO1,204,203,200_\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;The Car Hacker&amp;#8217;s Handbook&lt;\/p&gt;\n\" data-large-file=\"https:\/\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/51itpsaLlfL._SX376_BO1204203200_.jpg\" src=\"https:\/\/www.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/51itpsaLlfL._SX376_BO1204203200_.jpg\" alt=\"\" class=\"wp-image-4955\"\/><\/a><figcaption>The Car Hacker&#8217;s Handbook<\/figcaption><\/figure>\n\n\n\n<p>The book isn&#8217;t the cheapest of purchases, at least not in the UK. But for me it was well worth it.<\/p>\n\n\n\n<p>It took an evening to read the most interesting stuff, which was the first 2\/3 of the book for me.<\/p>\n\n\n\n<p>There was some great stuff in there and it really helped frame the issues we were facing. It introduced me to the idea that there might be other protocols on top of the CAN bus protocol, like <a href=\"https:\/\/en.wikipedia.org\/wiki\/ISO_15765-2\">ISO-15765<\/a> (ISOTP) and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Unified_Diagnostic_Services\">Unified Diagnostic Services<\/a> (UDS). It also confirmed some things we&#8217;d come to think were probable, like the request\/response procedure that devices seemed to be using.<\/p>\n\n\n\n<p>It&#8217;s always difficult to think back about what value books like this were to us in our investigations, but I think it moved me along at least a couple of weeks of regular surfing in the space of an evening.<\/p>\n\n\n\n<p>If you&#8217;re interested in picking apart a CAR diagnostics network then this book would be a great starter. If you&#8217;re an old hand at this sort of stuff then I suspect it would be too simplistic for you, but it was a great primer for me.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another quick one, really quick this time&#8230; Mark (CTRMint) had been doing his research and had told us about a book he was buying, and I just couldn&#8217;t resist&#8230; The book isn&#8217;t the cheapest of purchases, at least not in the UK. But for me it was well worth it. It took an evening to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4955,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[51,20],"tags":[34],"class_list":["post-4954","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-caterham-blog","category-ecu-diagnostics","tag-ecu-diagnostics"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/51itpsaLlfL._SX376_BO1204203200_.jpg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/phg0Uj-1hU","jetpack-related-posts":[{"id":5086,"url":"https:\/\/staging.purplemeanie.co.uk\/index.php\/2019\/09\/16\/ecu-diagnostics-part-12-osi-7-layers-for-caterham-diagnostics\/","url_meta":{"origin":4954,"position":0},"title":"ECU Diagnostics &#8211; part 12 : OSI 7 Layers for Caterham Diagnostics","author":"John Martin","date":"September 16, 2019","format":false,"excerpt":"Communications protocols are often called protocol stacks... they're layers, or stacks, of different protocols... one layered on top of the other from lowest level (hardware\/physical) to highest level (software application). This is where the OSI 7 Layer model comes in... it standardises how we think about the layers and allows\u2026","rel":"","context":"In &quot;ECU Diagnostics&quot;","block_context":{"text":"ECU Diagnostics","link":"https:\/\/staging.purplemeanie.co.uk\/index.php\/category\/caterham-blog\/ecu-diagnostics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/ECU-OSI-Layers.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/ECU-OSI-Layers.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/ECU-OSI-Layers.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/ECU-OSI-Layers.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/ECU-OSI-Layers.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":4726,"url":"https:\/\/staging.purplemeanie.co.uk\/index.php\/2019\/08\/31\/ecu-diagnostics-part-1-introduction\/","url_meta":{"origin":4954,"position":1},"title":"ECU Diagnostics &#8211; part 1 : Introduction","author":"John Martin","date":"August 31, 2019","format":false,"excerpt":"So here we go for a marathon series of posts. I'll update this page with links to the completed posts as they come along... IntroductionECUs, OBD and CANTest SetupWireshark Patching and OBD-II ResultsThe Correlator Dead-EndReading MaterialECU Maps and MappingEasimap uses ISOTP (sort of)The Easimap Protocol TheoryDecoding EC2 FilesLogic Analyzer on\u2026","rel":"","context":"In &quot;Caterham Blog&quot;","block_context":{"text":"Caterham Blog","link":"https:\/\/staging.purplemeanie.co.uk\/index.php\/category\/caterham-blog\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5112,"url":"https:\/\/staging.purplemeanie.co.uk\/index.php\/2019\/09\/20\/ecu-diagnostics-part-13-three-diagnostic-protocols-in-the-mbe-9a4-ecu\/","url_meta":{"origin":4954,"position":2},"title":"ECU Diagnostics &#8211; part 13 : Three Diagnostic Protocols in the MBE 9A4 ECU","author":"John Martin","date":"September 20, 2019","format":false,"excerpt":"This one's just a short post to introduce the next three posts. In our investigations of the MBE 9A4 ECU we've found three different diagnostics protocols supported on the OBD port. The following three posts will summarise what we've learnt about each protocol and will be updated with new information\u2026","rel":"","context":"In &quot;Caterham Blog&quot;","block_context":{"text":"Caterham Blog","link":"https:\/\/staging.purplemeanie.co.uk\/index.php\/category\/caterham-blog\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4943,"url":"https:\/\/staging.purplemeanie.co.uk\/index.php\/2019\/09\/07\/ecu-diagnostics-part-5-the-correlator-dead-end\/","url_meta":{"origin":4954,"position":3},"title":"ECU Diagnostics &#8211; part 5 : The Correlator Dead-end","author":"John Martin","date":"September 7, 2019","format":false,"excerpt":"Hopefully this is a quick post... The story so far is that: We've got a test bench made of a Raspberry Pi, CAN bus decoder board and an OBD Y-cableThe Raspberry Pi can \"sniff\" all the packets sent between the car's ECU and something that can talk to the car,\u2026","rel":"","context":"In &quot;Caterham Blog&quot;","block_context":{"text":"Caterham Blog","link":"https:\/\/staging.purplemeanie.co.uk\/index.php\/category\/caterham-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/Github-Correlator.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/Github-Correlator.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/Github-Correlator.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/Github-Correlator.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/Github-Correlator.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/Github-Correlator.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":5004,"url":"https:\/\/staging.purplemeanie.co.uk\/index.php\/2019\/09\/15\/ecu-diagnostics-part-9-the-easimap-protocol-theory\/","url_meta":{"origin":4954,"position":4},"title":"ECU Diagnostics &#8211; part 9 : The Easimap Protocol Theory","author":"John Martin","date":"September 15, 2019","format":false,"excerpt":"Ok. so we've set ourselves up to be able to look at what is going on with a Caterham diagnostics port, we've talked a bit about the theory of what we might see from the port and we've also seen that Easimap talks to the ECU using a higher level\u2026","rel":"","context":"In &quot;ECU Diagnostics&quot;","block_context":{"text":"ECU Diagnostics","link":"https:\/\/staging.purplemeanie.co.uk\/index.php\/category\/caterham-blog\/ecu-diagnostics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/Part-9-Banner.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/Part-9-Banner.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/Part-9-Banner.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/staging.purplemeanie.co.uk\/wp-content\/uploads\/2019\/09\/Part-9-Banner.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":5192,"url":"https:\/\/staging.purplemeanie.co.uk\/index.php\/2019\/09\/20\/ecu-diagnostics-part-14-software-framework-mbe-py\/","url_meta":{"origin":4954,"position":5},"title":"ECU Diagnostics &#8211; part 14 : Software Framework mbe.py","author":"John Martin","date":"September 20, 2019","format":false,"excerpt":"This is hopefully a reasonably short post about the software framework I've developed to help read sensor data from the MBE 9A4 ECU. The software is written in Python 3 and is available here: Caterham-OBD. However, I'm going to talk about using one file only which is mbe.py.\u00a0 The idea\u2026","rel":"","context":"In &quot;Caterham Blog&quot;","block_context":{"text":"Caterham Blog","link":"https:\/\/staging.purplemeanie.co.uk\/index.php\/category\/caterham-blog\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/staging.purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/4954","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=4954"}],"version-history":[{"count":1,"href":"https:\/\/staging.purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/4954\/revisions"}],"predecessor-version":[{"id":10701,"href":"https:\/\/staging.purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/4954\/revisions\/10701"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/media\/4955"}],"wp:attachment":[{"href":"https:\/\/staging.purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=4954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=4954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=4954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}