随笔分类 -  AUTOSAR

摘要:https://mp.weixin.qq.com/s/OeUPNBVh1Vd_ZT1EZVKDZA AUTOSAR官方对AUTOSAR的了解,自然比我们的了解多。在这样一个信息不对称的情况下,需要先看看官方给了些什么,然后再结合自己的需要,去官方网站上找自己需要的。如果不知道有哪些选项,如何去选择呢 阅读全文
posted @ 2018-08-29 21:50 wjcdx 阅读(1651) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/plvviDFLsLQeg9ZeP_3WMA 一. 简介 Code Warrior 11是基于Eclipse CDT开发的集成开发环境(IDE),在做到提供给用户Eclipse强大的现代化的编辑器和调试器,提升代码编辑效率和调试效率的同时,显著降 阅读全文
posted @ 2018-06-14 21:40 wjcdx 阅读(1592) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/vm5vWNSpbNIYh25-LjJfYg AUTOSAR软件规范文档中存在两种UML图: Sequence diagrams Configuration diagrams(类图) 顺序图 说明: a. CanIf User: 对象名称,即模块 阅读全文
posted @ 2018-05-20 23:08 wjcdx 阅读(2196) 评论(0) 推荐(1)
摘要:https://mp.weixin.qq.com/s/Jzm9oco-MA-U7Mn_6vOzvA 基于AUTOSAR_SWS_CANDriver.pdf,Specification of CAN Driver AUTOSAR CP Release 4.3.1 AUTOSAR所有软件规范文档(SWS 阅读全文
posted @ 2018-05-16 20:14 wjcdx 阅读(4903) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/6yl5dBP1mSFGVsfE7YRm6w 索引的两种方法: 关键字检索:用Document Search搜索下载,https://www.autosar.org/nc/document-search/ 按知识分类逐层深入。 这里使用第二种方法 阅读全文
posted @ 2018-05-15 21:43 wjcdx 阅读(1142) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/JX7VZwyMqk_9iVMm_N2pxA https://mp.weixin.qq.com/s/5Y8Dt9j1-NQmnjfYhE19dg 基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 ArcCore 阅读全文
posted @ 2018-05-14 22:55 wjcdx 阅读(2804) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/TZcJcHVnNARMcUac2Es0wQ PDU: Protocol Data Unit The PDU contains SDU and PCI. On the transmission side the PDU is passed fro 阅读全文
posted @ 2018-05-13 19:49 wjcdx 阅读(3602) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/9RYSqIlQ12TE1N9FtSUyhw 8. AUTOSAR中MCAL虽然包含各种drvier,但毕竟是AL即抽象层,不应包含architecture和device特定的信息。应该只包含模型定义,不包含实现细节。 AUTOSAR文档中的分层 阅读全文
posted @ 2018-05-11 21:11 wjcdx 阅读(6169) 评论(0) 推荐(1)
摘要:https://mp.weixin.qq.com/s/y768VcKD6Co7iD6u8LYoYg AUTOSAR定义了一系列PlatformTypes,如uint8/uint16/uint32等等基本类型。 ArcCore中实现如下: 可以看到,其中直接使用了_Bool类型,uint8_t等这些类 阅读全文
posted @ 2018-05-10 22:16 wjcdx 阅读(932) 评论(0) 推荐(0)
摘要:基于Can: 1. Can_Cfg.h contains compile time configurations. It should be included by Can.h which is specified by AUTOSAR Specification of CAN Driver in 阅读全文
posted @ 2018-05-06 16:50 wjcdx 阅读(1654) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/EqdOyEhYNk5LwAnFe1C9iA 基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 基本问题 ArcCore中,需要生成asm_offset.h和arch_offset.h这两个头文件,定义着代码所 阅读全文
posted @ 2018-05-06 16:45 wjcdx 阅读(322) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/YxxSuFjwI8QNBjFP3uocQg 基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 基本问题 3. 编译系统中所有代码文件通过搜索路径(VPATH)中搜索,存在名称污染问题,需加入路径信息; Arc 阅读全文
posted @ 2018-05-06 16:34 wjcdx 阅读(841) 评论(2) 推荐(0)
摘要:基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 基本问题 1. 头文件引用混乱,所有头文件通过从搜索路径(-I)中引用,存在名称污染问题,需加入路径信息; ArcCore代码的编译系统中,定义了大量的inc-y路径,最后使用-I参数将这些路径加入到编译器的命令行 阅读全文
posted @ 2018-05-06 16:20 wjcdx 阅读(495) 评论(0) 推荐(0)
摘要:https://mp.weixin.qq.com/s/c6WnmmupP25k1GD-zvw0Ww 基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 基本问题 2. 编译系统中代码文件是否编译及目标文件集中定义在boards/board_common.mk,而非分 阅读全文
posted @ 2018-05-06 15:56 wjcdx 阅读(713) 评论(0) 推荐(0)
摘要:基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 基本问题 Arctic Core中的代码组织有很多有待改进的地方,这里先提出几点: 1. 头文件引用混乱,所有头文件通过从搜索路径(-I)中引用,存在名称污染问题,需加入路径信息; 2. 编译系统中代码文件是否编译 阅读全文
posted @ 2018-05-06 14:26 wjcdx 阅读(355) 评论(0) 推荐(0)
摘要:基于官方arc-stable-9c57d86f66be,AUTOSAR版本3.1.5 基本问题 Arctic Core中使用了VALIDATE, VALIDATE_RV, VALIDATE_NO_RV等一系列宏简化参数判断。 方法是在每一个使用到这些宏的文件中都重新定义一遍。理由比较直接,因为每个模 阅读全文
posted @ 2018-05-05 23:25 wjcdx 阅读(570) 评论(0) 推荐(1)
摘要:https://mp.weixin.qq.com/s/IfJ3BmyTBbSIqyD30BqFbA 官网 https://www.autosar.org/ 文档分类 按功能分 按类型分 CLASSIC PLATFORM The AUTOSAR Classic Platform architectur 阅读全文
posted @ 2018-05-05 19:27 wjcdx 阅读(4596) 评论(1) 推荐(1)
摘要:https://mp.weixin.qq.com/s/z9ykWw3qKscbT5ekalnoKw AUTOSAR (AUTomotive Open System ARchitecture) is a worldwide development partnership of vehicle manu 阅读全文
posted @ 2018-05-04 21:23 wjcdx 阅读(6485) 评论(0) 推荐(1)
摘要:https://mp.weixin.qq.com/s/3f4emE-XSDI2EQGwKgL4Ig Arctic Core是AUTOSAR的实现,早期版本是开源的。 基本问题 在ARM架构下对CAN driver的实现(arch/arm/arm_cm3/drivers/Can.c)中,有这样一段代码 阅读全文
posted @ 2018-05-03 22:12 wjcdx 阅读(1472) 评论(0) 推荐(0)