DCM10- 安全访问 ($27)的功能和配置【基于DaVinci Configurator Classic】

传送门 ==>> AutoSAR实战系列300讲「糖果Autosar」总目录
关于安全访问 ($27)协议部分的解释请参考我的文章【Flash-UDS04【安全访问服务($27)】】

1 安全访问($27)的功能

此服务的目的是提供一种访问数据和/或诊断服务的方法,这些服务因安全、排放或安全原因而受到限制。
该服务管理 ECU 的安全级别,用于限制对关键服务的诊断访问,例如在受保护的区域中写入数据。

2 接口信息

在这里插入图片描述![

3 功能检查

  1. 如果请求长度正确,DSP子模块将检查ECU中是否配置了请求的子功能值(访问类型)(见配置参数DcmDspSecurityLevel)。如果请求的子功能值未配置,则 DSP 子模块应触发 NRC 0x12 的否定响应(不支持子功能)。

  2. 如果请求

手把手实战DaVinci Configurator:AUTOSAR ECU基础软件配置全流程解析 在汽车电子领域,AUTOSAR(汽车开放系统架构)标准通过分层架构实现了软硬件解耦,其核心价值在于提升软件复用性、可维护性与开发效率。为实现这一标准,工程师需对基础软件层(BSW)进行精确配置,这直接决定了电子控制单元(ECU)的启动、通信、诊断等核心功能。Vector公司的DaVinci工具链是完成此项工作的主流工程实践平台,其中DaVinci Configurator专门用于BSW模块的参数化配置。本文聚焦于使用DaVinci Configurator进行ECU配置的完整流程,涵盖从微控制器抽象层(MC 阅读详情

相关推荐

DaVinci Configurator新建AUTOSAR工程配置与避坑

在AUTOSAR Classic Platform的ECU开发中,BSW配置与代码生成是连接系统描述与可执行软件的关键环节。其原理是以DaVinci Configurator为配置中心,导入ECU Extract、通信矩阵和BSW描述包,按通信栈依赖顺序完成Can/CanIf/PduR/Com、OS任务与RTE映射,并对总线负载、NvM空间、主函数周期等参数进行核算。技术价值在于让工程具备可重建、可协作和可追溯能力,降低多ECU共用仓库、工具升级与台架联调中的返工风险。应用场景覆盖新项目启动、版本迁移和团队

weixin_30175731的博客 188

DaVinci Configurator Pro 新建工程完全指南:从零配置到代码生成

AUTOSAR 经典平台通过配置生成代码的方式实现基础软件分层,其中 ECU 配置与 BSW 代码生成是关键环节。作为 Vector 工具链的核心配置器,DaVinci Configurator Pro 承担着 ARXML 导入、ECUC 参数编辑、MCAL 适配及代码生成等任务。对于从标准库转岗或初学 AUTOSAR 的工程师而言,掌握该工具的新建工程流程,能快速打通从通信矩阵到 BSW 模块的完整链路。本文以 CAN 通信为例,详细讲解工作区创建、DBC/ARXML 导入、模块依赖检查、生成代码验证及目

weixin_29168153的博客 232

AUTOSAR Classic Platform分层架构解析:BSW、RTE与SWC配置实战指南

AUTOSAR作为汽车电子软件架构标准,通过BSW、RTE、SWC三层解耦实现硬件无关性与软件复用。其核心原理在于标准化接口与分层设计,使应用层与底层驱动分离,提升开发效率与可移植性。在工程实践中,DaVinci Configurator等工具支撑了从CAN信号到应用层的完整链路配置,涵盖CanIf、Com、RTE、NvM、Dem等模块。典型应用场景包括ECU开发、网络管理、诊断服务及SecOC安全通信。掌握分层逻辑与配置要点,能有效应对信号解析、RTE生成及NvM写入等常见问题,加速AUTOSAR项目落地

weixin_34101784的博客 370

AUTOSAR DaVinci工具链实战:从零搭建车灯控制模块

AUTOSAR经典平台通过分层架构将复杂汽车电子软件标准化,应用层、RTE与BSW各司其职。应用层承载业务逻辑,RTE负责组件间通信路由,BSW则封装微控制器驱动、通信、存储与网络管理等底层能力。这一分层设计让嵌入式工程师能够以更工程化的方式组织代码,同时借助DaVinci Configurator与Developer等工具链,将系统配置生成可编译的代码骨架。理解RTE映射、SWC建模、任务调度及NvM掉电存储等核心机制,是上手AUTOSAR开发的关键。以车灯控制模块为切入场景,涵盖了Dio、Pwm、Can

weixin_33767813的博客 426

AUTOSAR CP分层架构深度解析:从BSW到RTE的通信链路与配置实践

在嵌入式系统开发中,软件架构的分层设计是实现硬件抽象与代码复用的关键。AUTOSAR Classic Platform通过应用层、RTE、BSW和MCAL四层结构,将通信、存储、诊断等基础服务标准化,使应用软件与硬件解耦。其核心原理在于层间通过标准化接口单向依赖,从而提升可移植性与协作效率。技术价值体现在多ECU项目中,不同供应商的模块可并行开发与集成。典型应用场景包括CAN信号收发、NvM非易失存储管理及网络管理。本文聚焦BSW核心模块与DaVinci Configurator实操,详解从SWC到总线的完

weixin_34224941的博客 177

Classic AUTOSAR工具链实战指南:从ARXML到固件生成

AUTOSAR标准作为汽车嵌入式软件的核心规范,定义了ECU软件架构的标准化接口。在Classic AUTOSAR开发中,工具链是连接标准与芯片的关键环节,其核心数据载体是ARXML文件,承载通信矩阵、软件组件配置等全部工程信息。通过配置工具完成模块参数设定后,工具链自动生成RTE和BSW源代码,实现从设计意图到C代码的机械转换。理解这一原理,能够帮助工程师掌握工具链三大身份:配置管理、代码生成和兼容性仲裁。在ECU开发实践中,工具链贯穿需求录入、代码生成、集成调试等完整流程,无论是CAN报文映射还是MCA

weixin_34341117的博客 305

DCM09- ReadDataByIdentifier ($22)的功能和配置【基于DaVinci Configurator Classic】

关于ReadDataByIdentifier($22)协议部分的解释请参考我的文章。

1300

详解AUTOSAR:DaVinci Configurator新建和配置工程(工具篇—2)

DaVinci Configurator新建和配置工程。

不脱发的程序猿 5549

DCM11- 根据标识符写入数据服务 ($2E)的功能和配置【基于DaVinci Configurator Classic】

根据标识符写入数据服务($2E)协议部分的解释请参考我的文章。

1349

RH850从0搭建Autosar开发环境【17】- Davinci Configurator之DCM模块配置详解(下)

RH850从0搭建Autosar开发环境【17】- Davinci Configurator之DCM模块配置详解(下)

weixin_42412049的博客 2380

50.CDD 出阁——进 CANoe 当符号库,进 DaVinci 生成 DCM/DEM

CDD是诊断数据的“DBC”,统一管理诊断报文符号化。在测试侧,加载CDD于CANoe可实现符号化测试与自动化用例生成;在软件侧,导出AUTOSARDEXT供DaVinci自动生成DCM/DEM配置。通过ODX、CSV等格式互通,支持跨工具链协作。关键:先手动验证1001等基础服务,确保解析正确,再推进自动化,避免数据漂移。一份源头,三处复用,高效闭环。

lin135079的博客 19

Vector Davinci配置手册——AutoSAR系统设计与实战指南

AutoSAR(Automotive Open System Architecture)作为现代汽车电子系统开发的核心标准,为ECU(电子控制单元)软件的模块化、可复用性和跨平台兼容性提供了统一框架。其分层架构由应用层(Application Layer)、运行时环境(RTE)、基础软件层(BSW)和微控制器抽象层(MCAL)构成,通过虚拟功能总线(VFB)实现逻辑通信与软硬件解耦。graph TD。

weixin_35636570的博客 2374

汽车编程-德国Vector DaVinci Configurator Pro AUTOSAR标准的软件配置工具软件.docx

汽车编程-德国Vector DaVinci Configurator Pro AUTOSAR标准的软件配置工具软件.docx

用AnythingLLM搭建私人RAG知识库:从入门到实战调优指南

大型语言模型虽然知识渊博,但无法触达私有文档中的具体内容,这正是检索增强生成(RAG)技术的核心价值所在。RAG通过先将文档切块并向量化,再在提问时检索最相关的片段拼接给模型,让AI基于指定资料精准回答,无需昂贵的模型微调。这种架构不仅让知识更新即时生效,还大幅降低了私有化部署的门槛。在实际工程中,RAG的落地需要合理选择嵌入模型、设计分块策略并调优检索参数,才能避免答非所问。对于个人或小团队,使用开源工具搭建本地知识库是最省心的路径,其中AnythingLLM以其开箱即用的特性,成为连接向量检索与模型推理

weixin_29062671的博客 231

Quartus的Signal Tap II的使用技巧

Signal Tap II全称Signal Tap II Logic Analyzer,是第二代系统级调试工具,它集成在Quartus II软件中,可以捕获和显示实时信号,是一款功能强大、极具实用性的FPGA片上调试工具软件。传统的FPGA板级调试是由外接的逻辑分析仪连接到FPGA的控制引脚,将内部引号引出至引脚I/O上,接着进行板级调试。

qq_37624854的博客 5907

基于MATLAB实现的克里金插值的代码

参考代码 克里金插值matlab代码 youwenfan.com/contentcsb/81657.html。

jghhh01的博客 486

风控域——决策引擎系统设计

本文详细介绍了风控决策引擎系统的设计与应用。决策引擎系统是一种智能化工具,可自动化、数据驱动地辅助或替代人工决策,广泛应用于金融、医疗、营销、风控等领域。文章阐述了决策引擎的核心功能,包括自动化决策、动态规则管理、实时处理和模型集成,以及系统组成,涵盖数据输入层、规则引擎和模型服务层。此外,还探讨了决策引擎的典型应用场景、技术架构、组件设计,以及风控决策引擎系统的技术方案、设计难点和重点。

庄小焱 3329

手把手入门YOLO到改进优化教程 | 【P5进阶篇】YOLOv8损失函数改进实战-损失函数IoU之KLD Loss

在本节,将从 KLD Loss(Kullback–Leibler Divergence Loss)的理论到实战代码实现,带你把 KLD Loss融合进 YOLOv8 的训练框架中。并通过训练日志与实验结果,验证 KLD Loss 在实际工程中的优势。

嵌入式阿齐Archie 2万+

自然语言处理之机器翻译:Transformer:Transformer在低资源语言翻译中的应用

Transformer模型是自然语言处理领域的一个重要突破,由Vaswani等人在2017年的论文《Attention is All You Need》中提出。它摒弃了传统的循环神经网络(RNN)和卷积神经网络(CNN)的序列依赖性,采用自注意力机制(Self-Attention)处理输入序列,极大地提高了训练效率和模型性能。

zhubeibei168的博客 1016

【图像超分】论文精读:Interpreting Super-Resolution Networks with Local Attribution Maps(LAM)

论文题目:Interpreting Super-Resolution Networks with Local Attribution Maps —— 用局部归因图解释超分辨率网络CVPR 2021!必读文章!必须会的可视化手段!很多文章中都会对比LAM!图像超分辨率 (SR) 技术发展迅速,受益于深度网络的发明及其连续突破。然而,众所周知,深度学习和深度神经网络很难解释。SR网络继承了这种神秘的性质,很少有作品试图理解它们。在本文中,我们对 SR 网络进行了归因分析。

主要更新底层视觉(去噪、超分等)相关的科研内容,形式为【论文精读】+【论文复现】 550

别再只当调包侠了!YOLO检测头到损失函数全链路拆解,看完才算真懂

YOLO的精妙不在于某个单一创新,而在于各模块围绕“实时精准检测”这一目标的协同设计。Backbone追求高效特征压缩,Neck保障多尺度信息流通,Head解耦任务冲突,Loss动态引导优化方向。只有理解这套内在逻辑,才能跳出“调包-试错”的低效循环,在面对新场景、新问题时做出有理有据的改进决策。技术深度决定职业天花板。下次再调YOLO时,不妨先问自己:我改的这个参数,到底影响了系统中的哪一环?参考资料。

专注于Python爬虫开发,分享爬虫技巧、项目实战与反爬经验,使用Scrapy、BeautifulSoup等工具,解决数据抓取难题。 186

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

上一篇: DCM09- ReadDataByIdentifier ($22)的功能和配置【基于DaVinci Configurator Classic】
下一篇: UDS03-根据标识符写入数据服务【ServiceID = 0x2E】
糖果Autosar
糖果Autosar 领域专家: 嵌入式与硬件开发技术领域 领域专家: 嵌入式与硬件开发技术领域
博客等级 码龄10年 4373粉丝 410原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

糖果Autosar

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址