{"id":16041,"date":"2026-02-12T08:57:21","date_gmt":"2026-02-12T00:57:21","guid":{"rendered":"http:\/\/xinyiworld.top\/wordpress_it\/?p=16041"},"modified":"2026-02-26T09:58:42","modified_gmt":"2026-02-26T01:58:42","slug":"%e8%bd%a6%e8%bd%bd%e8%a1%8c%e4%b8%9a%e8%bd%af%e4%bb%b6%e6%9e%b6%e6%9e%84%e6%a0%87%e5%87%86autosar","status":"publish","type":"post","link":"http:\/\/xinyiworld.top\/wordpress_it\/?p=16041","title":{"rendered":"AUTOSAR \u7ecf\u5178\u5e73\u53f0(CP) \u67b6\u6784"},"content":{"rendered":"<p>\u5b98\u7f51\uff1a<a href=\"https:\/\/www.autosar.org\/standards\">https:\/\/www.autosar.org\/standards<\/a><\/p>\n<p><a href=\"https:\/\/blog.csdn.net\/qingchengi\/article\/details\/141672248\">https:\/\/blog.csdn.net\/qingchengi\/article\/details\/141672248<\/a> \uff08\u975e\u5e38\u8be6\u7ec6\uff09<\/p>\n<h1>AUTOSAR Classic Platform\uff08\u7ecf\u5178\u5e73\u53f0\uff09<\/h1>\n<p>\u4e13\u4e3a\u6df1\u5ea6\u5d4c\u5165\u5f0f\u5b9e\u65f6\u63a7\u5236\u7cfb\u7edf\u8bbe\u8ba1\u7684\u6807\u51c6\u5316\u8f6f\u4ef6\u67b6\u6784\uff0c\u4e3b\u8981\u9762\u5411\u5177\u6709\u786c\u5b9e\u65f6\u3001\u9ad8\u529f\u80fd\u5b89\u5168\u7b49\u7ea7\uff08\u6700\u9ad8ASIL D\uff09\u8981\u6c42\u7684\u4f20\u7edfECU\uff0c\u5982\u53d1\u52a8\u673a\u63a7\u5236\u3001\u5236\u52a8\u7cfb\u7edf\u7b49\u3002<\/p>\n<p>\u5176\u6838\u5fc3\u8bbe\u8ba1\u601d\u60f3\u662f\u901a\u8fc7\u5206\u5c42\u67b6\u6784\u5c06<strong>\u5e94\u7528\u8f6f\u4ef6\u4e0e\u5e95\u5c42\u786c\u4ef6\u5b8c\u5168\u9694\u79bb<\/strong>\uff0c\u4ece\u800c\u5b9e\u73b0\u8f6f\u4ef6\u7684\u53ef\u79fb\u690d\u6027\u548c\u590d\u7528\u6027\u3002\u4ee5\u4e0b\u4ece\u67b6\u6784\u3001\u6280\u672f\u7279\u5f81\u53ca\u4e0eAdaptive\u5e73\u53f0\u7684\u533a\u522b\u4e09\u4e2a\u7ef4\u5ea6\u8fdb\u884c\u89e3\u6790\uff1a<\/p>\n<h3>\ud83e\udde9 \u6838\u5fc3\u67b6\u6784\uff1a\u4e09\u5c42\u5206\u79bb<\/h3>\n<pre><code>====================================================================\n|                    \u5e94\u7528\u8f6f\u4ef6\u5c42 (Application Layer)                |\n|  ==============================================================  |\n|  |  \u8f6f\u4ef6\u7ec4\u4ef6  |  \u8f6f\u4ef6\u7ec4\u4ef6  |  \u8f6f\u4ef6\u7ec4\u4ef6  |  \u8f6f\u4ef6\u7ec4\u4ef6  |            |\n|  |  (SWC 1)   |  (SWC 2)   |  (SWC 3)   |  (SWC 4)   |            |\n|  | \u8f66\u7a97\u63a7\u5236   | \u95e8\u9501\u63a7\u5236   | \u706f\u5149\u63a7\u5236   | \u96e8\u522e\u63a7\u5236   |            |\n|  ==============================================================  |\n|            \u901a\u8fc7\u6807\u51c6\u5316\u7684AUTOSAR\u63a5\u53e3\u8fdb\u884c\u901a\u4fe1                         |\n====================================================================\n                                |\n                                \u2193\n====================================================================\n|                \u8fd0\u884c\u65f6\u73af\u5883\u5c42 (Runtime Environment)                 |\n|  ==============================================================  |\n|  |  \u865a\u62df\u529f\u80fd\u603b\u7ebf(VFB)\u7684\u5b9e\u73b0                                       | \n|  |  - \u8f6f\u4ef6\u7ec4\u4ef6\u4e4b\u95f4\u7684\u901a\u4fe1\u8def\u7531                                      |\n|  |  - \u8f6f\u4ef6\u7ec4\u4ef6\u4e0e\u57fa\u7840\u8f6f\u4ef6\u7684\u901a\u4fe1\u8def\u7531                                |\n|  |  - \u6570\u636e\u4e00\u81f4\u6027\u4fdd\u62a4                                              |\n|  |  - \u53ef\u8fd0\u884c\u5b9e\u4f53\u7684\u8c03\u5ea6                                            |\n|  ==============================================================  |\n====================================================================\n                                |\n                                \u2193\n====================================================================\n|                    \u57fa\u7840\u8f6f\u4ef6\u5c42 (Basic Software Layer)              |\n|  ==============================================================  |\n|  |                     \u670d\u52a1\u5c42 (Services Layer)                  | |\n|  |  ----------------------------------------------------------  | |\n|  |  | \u7cfb\u7edf\u670d\u52a1   | \u5b58\u50a8\u670d\u52a1   | \u901a\u4fe1\u670d\u52a1   | \u8bca\u65ad\u670d\u52a1   |        | | |\n|  |  | (OS)       | (NvM)      | (CAN\/LIN)  | (UDS)      |        | | |\n|  |  ----------------------------------------------------------  | |\n|  |                              \u2193                                | |\n|  |  ----------------------------------------------------------  | |\n|  |  |                 ECU\u62bd\u8c61\u5c42 (ECU Abstraction Layer)        | | |\n|  |  |  ------------------------------------------------------  | | |\n|  |  |  | I\/O\u786c\u4ef6\u62bd\u8c61 | \u901a\u4fe1\u786c\u4ef6\u62bd\u8c61 | \u5b58\u50a8\u786c\u4ef6\u62bd\u8c61     |        | | |\n|  |  |  | (\u6570\u5b57\/\u6a21\u62df) | (CAN\/LIN\u63a5\u53e3)| (EEPROM\/Flash\u62bd\u8c61)|        | | |\n|  |  |  ------------------------------------------------------  | | |\n|  |  ----------------------------------------------------------  | |\n|  |                              \u2193                                | |\n|  |  ----------------------------------------------------------  | |\n|  |  |         \u5fae\u63a7\u5236\u5668\u62bd\u8c61\u5c42 (MCAL)                             | | |\n|  |  |  ------------------------------------------------------  | | |\n|  |  |  | GPIO\u9a71\u52a8 | CAN\u9a71\u52a8 | SPI\u9a71\u52a8 | ADC\u9a71\u52a8 | Flash\u9a71\u52a8 |  | | |\n|  |  |  ------------------------------------------------------  | | |\n|  |  ----------------------------------------------------------  | |\n|  ==============================================================  |\n====================================================================\n                                |\n                                \u2193\n====================================================================\n|                         \u786c\u4ef6\u5c42 (Hardware)                         |\n|  ==============================================================  |\n|  |  \u5fae\u63a7\u5236\u5668(MCU) |  \u4f20\u611f\u5668      |  \u6267\u884c\u5668      |  \u901a\u4fe1\u6536\u53d1\u5668   |  |\n|  |  (\u5982Infineon,  |  (\u970d\u5c14\u3001\u6e29\u5ea6)|  (\u7535\u673a\u3001\u7ee7\u7535\u5668)| (CAN\/LIN PHY) |  |\n|  |   NXP, Renesas)|              |              |              |  |\n|  ==============================================================  |\n====================================================================<\/code><\/pre>\n<p>\u8fd9\u4e2a\u5206\u5c42\u67b6\u6784\u7684\u6838\u5fc3\u601d\u60f3\u662f <strong>&quot;\u8f6f\u786c\u4ef6\u89e3\u8026&quot;<\/strong> \uff0c\u5177\u4f53\u5404\u5c42\u7684\u804c\u8d23\u4e0e\u6211\u4eec\u4e4b\u524d\u8ba8\u8bba\u7684ZCU\u8f6f\u4ef6\u5206\u5c42\u9ad8\u5ea6\u4e00\u81f4\uff1a<\/p>\n<ol>\n<li><strong>\u5e94\u7528\u8f6f\u4ef6\u5c42 (Application Layer)<\/strong>\uff1a\u8fd9\u662f\u5b9e\u73b0\u5177\u4f53\u8f66\u8f86\u529f\u80fd\u7684\u5c42\uff0c\u7531\u591a\u4e2a\u72ec\u7acb\u7684<strong>\u8f6f\u4ef6\u7ec4\u4ef6\uff08SWC\uff09<\/strong>\u6784\u6210\uff0c\u4f8b\u5982\u8f66\u7a97\u63a7\u5236\u3001\u95e8\u9501\u63a7\u5236\u7b49 \u3002\u8fd9\u4e9bSWC\u4e0e\u786c\u4ef6\u65e0\u5173\uff0c\u53ef\u4ee5\u901a\u8fc7\u6807\u51c6\u5316\u7aef\u53e3\u8fdb\u884c\u901a\u4fe1 \u3002<\/li>\n<li><strong>\u8fd0\u884c\u65f6\u73af\u5883\u5c42 (Runtime Environment\uff0c RTE)<\/strong>\uff1a\u5b83\u662f\u8fde\u63a5\u5e94\u7528\u5c42\u548c\u57fa\u7840\u8f6f\u4ef6\u5c42\u7684&quot;\u903b\u8f91\u603b\u7ebf&quot; \u3002RTE\u4e3aSWC\u4e4b\u95f4\u7684\u901a\u4fe1\u4ee5\u53caSWC\u5bf9BSW\u7684\u8bbf\u95ee\u63d0\u4f9b\u4e86\u6807\u51c6\u5316\u7684\u63a5\u53e3\uff0c\u4f7f\u5f97\u4e0a\u5c42\u5e94\u7528\u65e0\u9700\u5173\u5fc3\u5e95\u5c42\u786c\u4ef6\u7684\u5177\u4f53\u7ec6\u8282 \u3002<\/li>\n<li><strong>\u57fa\u7840\u8f6f\u4ef6\u5c42 (Basic Software\uff0c BSW)<\/strong>\uff1a\u5b83\u8fdb\u4e00\u6b65\u7ec6\u5206\u4e3a\u4e09\u4e2a\u5b50\u5c42\uff0c\u4e3a\u5e94\u7528\u63d0\u4f9b\u57fa\u7840\u670d\u52a1 \uff1a\n<ul>\n<li><strong>\u670d\u52a1\u5c42 (Services Layer)<\/strong>\uff1a\u63d0\u4f9b\u7cfb\u7edf\u7ea7\u670d\u52a1\uff0c\u5982\u64cd\u4f5c\u7cfb\u7edf\uff08OS\uff09\u3001\u975e\u6613\u5931\u6027\u5b58\u50a8\u7ba1\u7406\uff08NvM\uff09\u3001\u901a\u4fe1\u534f\u8bae\u6808\uff08\u5982CAN\uff0c LIN\uff09\u3001\u8bca\u65ad\u670d\u52a1\uff08UDS\uff09\u548c\u7f51\u7edc\u7ba1\u7406\u7b49 \u3002<\/li>\n<li><strong>ECU\u62bd\u8c61\u5c42 (ECU Abstraction Layer)<\/strong>\uff1a\u5b83\u4f7f\u4e0a\u5c42\u8f6f\u4ef6\u4e0eECU\u7684\u786c\u4ef6\u5e03\u5c40\u76f8\u9694\u79bb\u3002\u4f8b\u5982\uff0c\u5b83\u7edf\u4e00\u4e86\u4e0d\u540c\u7c7b\u578b\u4f20\u611f\u5668\u6216\u6267\u884c\u5668\u7684\u63a5\u53e3\uff0c\u65e0\u8bba\u5b83\u4eec\u8fde\u63a5\u5728MCU\u7684\u54ea\u4e2a\u5f15\u811a\u4e0a \u3002<\/li>\n<li><strong>\u5fae\u63a7\u5236\u5668\u62bd\u8c61\u5c42 (Microcontroller Abstraction Layer\uff0c MCAL)<\/strong>\uff1a\u8fd9\u662fBSW\u4e2d\u552f\u4e00\u76f4\u63a5\u64cd\u4f5cMCU\u5bc4\u5b58\u5668\u7684\u5c42\uff0c\u5305\u542b\u4e86\u6240\u6709MCU\u5185\u90e8\u5916\u8bbe\u7684\u9a71\u52a8\uff0c\u5982GPIO\u3001SPI\u3001ADC\u3001CAN\u7b49\u7684\u9a71\u52a8 \u3002\u901a\u5e38\u7531\u82af\u7247\u5382\u5546\u63d0\u4f9b\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<ul>\n<li>\n<h3>\ud83d\udd04 \u4e0eAdaptive Platform\uff08AP\uff09\u7684\u6838\u5fc3\u5bf9\u6bd4<\/h3>\n<p>\u5f53\u524dE\/E\u67b6\u6784\u4e0b\uff0cClassic\u5e73\u53f0\u4e0eAdaptive\u5e73\u53f0\u662f<strong>\u4e92\u8865\u5171\u5b58<\/strong>\u800c\u975e\u66ff\u4ee3\u5173\u7cfb\uff08\u5982\u667a\u9a7e\u57df\u63a7\u7528AP\uff0c\u6267\u884c\u5668\u7528CP\uff09\uff1a<\/p>\n<\/li>\n<\/ul>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">\u5bf9\u6bd4\u7ef4\u5ea6<\/th>\n<th style=\"text-align: left;\">Classic Platform (CP)<\/th>\n<th style=\"text-align: left;\">Adaptive Platform (AP)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\"><strong>\u5178\u578b\u5e94\u7528<\/strong><\/td>\n<td style=\"text-align: left;\">ABS\u3001\u5b89\u5168\u6c14\u56ca\u3001\u8f66\u8eab\u63a7\u5236\u5668<\/td>\n<td style=\"text-align: left;\">\u81ea\u52a8\u9a7e\u9a76\u57df\u63a7\u5236\u5668\u3001\u8f66\u673a\u3001OTA\u4e3b\u8282\u70b9<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>\u5b9e\u65f6\u6027<\/strong><\/td>\n<td style=\"text-align: left;\"><strong>\u786c\u5b9e\u65f6<\/strong>\uff08\u5fae\u79d2\u7ea7\u54cd\u5e94\uff09<\/td>\n<td style=\"text-align: left;\"><strong>\u8f6f\u5b9e\u65f6<\/strong>\uff08\u6beb\u79d2\u7ea7\u54cd\u5e94\uff09<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>\u7f16\u7a0b\u8bed\u8a00<\/strong><\/td>\n<td style=\"text-align: left;\">C<\/td>\n<td style=\"text-align: left;\">C++<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>\u64cd\u4f5c\u7cfb\u7edf<\/strong><\/td>\n<td style=\"text-align: left;\">AUTOSAR OS\uff08\u57fa\u4e8eOSEK\uff09<\/td>\n<td style=\"text-align: left;\">POSIX\uff08\u5982Linux\u3001QNX\uff09<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>\u901a\u4fe1<\/strong><\/td>\n<td style=\"text-align: left;\">\u4fe1\u53f7\u5bfc\u5411\uff08CAN\/LIN\uff09<\/td>\n<td style=\"text-align: left;\">\u670d\u52a1\u5bfc\u5411\uff08SOME\/IP\uff0c\u4ee5\u592a\u7f51\uff09<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\"><strong>\u8f6f\u4ef6\u66f4\u65b0<\/strong><\/td>\n<td style=\"text-align: left;\">\u4e0d\u53ef\u53d8\uff08\u9700\u5168\u955c\u50cf\u66ff\u6362\uff09<\/td>\n<td style=\"text-align: left;\">\u52a8\u6001\u90e8\u7f72\u3001\u589e\u91cf\u66f4\u65b0<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<button class=\"simplefavorite-button\" data-postid=\"16041\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"\">\u6536\u85cf <i class=\"sf-icon-star-empty\"><\/i><\/button>","protected":false},"excerpt":{"rendered":"<p>\u5b98\u7f51\uff1ahttps:\/\/www.autosar.org\/standards https:\/\/blog. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1217],"tags":[],"_links":{"self":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/16041"}],"collection":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16041"}],"version-history":[{"count":10,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/16041\/revisions"}],"predecessor-version":[{"id":16132,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/16041\/revisions\/16132"}],"wp:attachment":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16041"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}