• 大小: 0.04M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-22
  • 语言: C/C++
  • 标签: autosar  xcp  

资源简介


***************** XCP - Calibration and Measurement Protocol ******************

XCP is a Calibration and Measurement protocol for use in embedded systems. 
It's a generalization of the previously existing CCP (CAN Calibration Protocol)
This implementation is designed for integration in an AUTOSAR project. It
follows AUTOSAR 4.0 Xcp specification but support integration into an
AUTOSAR 3.0 system.

The requirements on the AUTOSAR infrastructure is limited, thus creating
"emulation" functions to use the XCP module standalone is not a major 
hurdle for integration.

Module support both static an dynamically configured DAQ lists, with
dynamic DAQ lists the easier of the two to configure. It also support
predefined DAQ lists when in dynamic mode in preperation for RESUME
more support.

There is support for reading and writing directly in memory on the device
aswell as a abstraction layer for memory to allow reading/writing
directly to ports or user defined data.

Module support multi threaded execution of data receive callbacks
and main functions as long as a global mutex or interrupt disabling
rutine exists. It's only locked for very short periods of time
during addition or removal of packets from queues. (the code should
suite itself well for being replaced with a lockless alternative
with atomic operations instead).

Support Seed and Key protection for the different features of
Xcp. 

资源截图

代码片段和文件信息

/* Copyright (C) 2010 Joakim Plate Peter Fridlund
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not write to the Free Software
 * Foundation Inc. 51 Franklin Street Fifth Floor Boston MA  02110-1301  USA
 */

#include “Std_Types.h“
#include “Xcp.h“
#include “Xcp_Cfg.h“
#include “Xcp_Internal.h“
#include “Xcp_ByteStream.h“
#include 
#include 


Xcp_BufferType Xc

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-12-18 18:33  docs\
     文件       12339  2015-12-18 18:33  docs\README.txt
     目录           0  2015-12-18 18:33  source\
     文件       65969  2015-12-18 18:33  source\Xcp.c
     文件        7071  2015-12-18 18:33  source\Xcp.h
     文件        6161  2015-12-18 18:33  source\XcpOnCan.c
     文件        1233  2015-12-18 18:33  source\XcpOnCan_Cbk.h
     文件        3719  2015-12-18 18:33  source\XcpOnEth.c
     文件        1088  2015-12-18 18:33  source\XcpOnEth_Cbk.h
     文件        4187  2015-12-18 18:33  source\Xcp_ByteStream.h
     文件       12265  2015-12-18 18:33  source\Xcp_ConfigTypes.h
     文件       12208  2015-12-18 18:33  source\Xcp_Internal.h
     文件        5458  2015-12-18 18:33  source\Xcp_Memory.c
     文件        5224  2015-12-18 18:33  source\Xcp_Program.c

评论

共有 条评论