CANopenNode:CANopen 协议栈

  • W9_115347
    了解作者
  • 324.7KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 1
    下载次数
  • 2022-04-09 01:58
    上传日期
CANopen节点 CANopenNode 是免费开源的 CANopen 协议栈。 CANopen 是国际标准化 (EN 50325-4) ( ) 更高层协议,用于建立在 CAN 之上的嵌入式控制系统。 有关 CANopen 的更多信息,请 CANopenNode 是用 ANSI C 以面向对象的方式编写的。 它在不同的微控制器上运行,作为独立应用程序或与 RTOS 一起运行。 变量(通信、设备、自定义)收集在 CANopen 对象字典中,可从以下两种方式访问​​:C 代码和 CANopen 网络。 CANopenNode 主页是 这是具有新对象字典实现的 CANopenNode 版本 4。 对于旧版本git checkout分支v1.3-master或v2.0-master 。 特征 CANopen 为任何变量提供清晰灵活的组织。 变量可以直接访问,也可以通过读/写函数访问
CANopenNode-master.zip
  • CANopenNode-master
  • .github
  • FUNDING.yml
    680B
  • 305
  • CO_LSSslave.c
    18.6KB
  • CO_LSSmaster.h
    17.5KB
  • CO_LSSslave.h
    12.2KB
  • CO_LSS.h
    8.8KB
  • CO_LSSmaster.c
    37.5KB
  • doc
  • traceUsage.md
    1.8KB
  • deviceSupport.md
    7.9KB
  • objectDictionary.md
    30.3KB
  • CANopenNode.png
    12.4KB
  • CHANGELOG.md
    7.9KB
  • example
  • CO_storageBlank.h
    2.4KB
  • CO_storageBlank.c
    3.6KB
  • DS301_profile.md
    36.6KB
  • main_blank.c
    9.2KB
  • CO_driver_blank.c
    12.9KB
  • Makefile
    1.1KB
  • DS301_profile.eds
    28.2KB
  • CO_driver_target.h
    3.7KB
  • OD.h
    13.7KB
  • OD.c
    41.3KB
  • DS301_profile.xpd
    143.2KB
  • 304
  • CO_SRDO.h
    12.2KB
  • CO_SRDO.c
    31.4KB
  • CO_GFC.h
    4.3KB
  • CO_GFC.c
    4KB
  • 309
  • CO_gateway_ascii.c
    76.6KB
  • CO_gateway_ascii.h
    20.7KB
  • 301
  • CO_NMT_Heartbeat.h
    12.8KB
  • CO_SYNC.h
    9.3KB
  • crc16-ccitt.h
    2.4KB
  • CO_SDOclient.c
    70.7KB
  • CO_HBconsumer.c
    20.8KB
  • CO_driver.h
    31.2KB
  • CO_Emergency.c
    27.7KB
  • CO_SDOserver.h
    24.8KB
  • CO_PDO.c
    49.3KB
  • CO_HBconsumer.h
    14KB
  • CO_ODinterface.c
    11.7KB
  • CO_SDOclient.h
    17.6KB
  • CO_ODinterface.h
    34.3KB
  • CO_SDOserver.c
    60.7KB
  • CO_TIME.c
    7.7KB
  • CO_fifo.h
    19.8KB
  • CO_PDO.h
    18.3KB
  • CO_TIME.h
    7.2KB
  • crc16-ccitt.c
    4.7KB
  • CO_NMT_Heartbeat.c
    12.4KB
  • CO_fifo.c
    43.1KB
  • CO_SYNC.c
    15.6KB
  • CO_config.h
    27.3KB
  • CO_Emergency.h
    26.5KB
  • 303
  • CO_LEDs.h
    5.6KB
  • CO_LEDs.c
    5.6KB
  • storage
  • CO_storageEeprom.c
    9.7KB
  • CO_eeprom.h
    4.1KB
  • CO_storageEeprom.h
    5.7KB
  • CO_storage.c
    5.7KB
  • CO_storage.h
    6.7KB
  • extra
  • CO_trace.h
    6.9KB
  • CO_trace.c
    18.9KB
  • .clang-format
    326B
  • CANopen.c
    50KB
  • LICENSE
    11.1KB
  • README.md
    16.6KB
  • Doxyfile
    114.1KB
  • codingStyle
    2.8KB
  • CANopen.h
    24.7KB
  • .gitignore
    135B
内容介绍
CANopenNode =========== CANopenNode is free and open source CANopen protocol stack. CANopen is the internationally standardized (EN 50325-4) ([CiA301](http://can-cia.org/standardization/technical-documents)) higher-layer protocol for embedded control system built on top of CAN. For more information on CANopen see http://www.can-cia.org/ CANopenNode is written in ANSI C in object-oriented way. It runs on different microcontrollers, as standalone application or with RTOS. Variables (communication, device, custom) are collected in CANopen Object Dictionary and are accessible from both: C code and from CANopen network. CANopenNode homepage is https://github.com/CANopenNode/CANopenNode This is version 4 of CANopenNode with new Object Dictionary implementation. For older versions `git checkout` branches `v1.3-master` or `v2.0-master`. Characteristics --------------- ### CANopen - [Object Dictionary](https://www.can-cia.org/can-knowledge/canopen/device-architecture/) offers clear and flexible organisation of any variables. Variables can be accessed directly or via read/write functions. - [NMT](https://www.can-cia.org/can-knowledge/canopen/network-management/) slave to start, stop, reset device. Simple NMT master. - [Heartbeat](https://www.can-cia.org/can-knowledge/canopen/error-control-protocols/) producer/consumer error control for monitoring of CANopen devices. - [PDO](https://www.can-cia.org/can-knowledge/canopen/pdo-protocol/) for broadcasting process data with high priority and no protocol overhead. Variables from Object Dictionary can be dynamically mapped to the TPDO, which is then transmitted according to communication rules and received as RPDO by another device. - [SDO](https://www.can-cia.org/can-knowledge/canopen/sdo-protocol/) server enables expedited, segmented and block transfer access to all Object Dictionary variables inside CANopen device. - [SDO](https://www.can-cia.org/can-knowledge/canopen/sdo-protocol/) client can access any Object Dictionary variable on any CANopen device inside the network. - [Emergency](https://www.can-cia.org/can-knowledge/canopen/special-function-protocols/) message producer/consumer. - [Sync](https://www.can-cia.org/can-knowledge/canopen/special-function-protocols/) producer/consumer enables network synchronized transmission of the PDO objects, etc. - [Time-stamp](https://www.can-cia.org/can-knowledge/canopen/special-function-protocols/) producer/consumer enables date and time synchronization in millisecond resolution. - [LSS](https://www.can-cia.org/can-knowledge/canopen/cia305/) CANopen node-id and bitrate setup, master and slave, LSS fastscan. - [CANopen gateway](https://www.can-cia.org/can-knowledge/canopen/cia309/), CiA309-3 Ascii command interface for NMT master, LSS master and SDO client. - CANopen Safety, EN 50325-5, CiA304, "PDO like" communication in safety-relevant networks ### Other - [Suitable for 16-bit microcontrollers and above](#device-support) - [Multithreaded, real-time](#canopenNode-flowchart) - [Object Dictionary editor](#object-dictionary-editor) - Non-volatile storage for Object Dictionary or other variables. Automatic or controlled by standard CANopen commands, configurable. - [Power saving possible](#power-saving) - [Bootloader possible](https://github.com/CANopenNode/CANopenNode/issues/111) (for firmware update) Related projects ---------------- - [CANopenNode](https://github.com/CANopenNode/CANopenNode) (this project): CANopen protocol stack, base for CANopen device. It contains no device specific code (drivers), which must be added separately for each target system. An example shows the basic principles, compiles on any system, but does not connect to any CAN hardware. - [CANopenDemo](https://github.com/CANopenNode/CANopenDemo): Demo device with CANopenNode and different target systems, tutorial and testing tools. - [CANopenNode.github.io](https://github.com/CANopenNode/CANopenNode.github.io): Html documentation, compiled by doxygen, for CANopenDemo, CANopenNode and other devices, available also online: https://canopennode.github.io - [CANopenEditor](https://github.com/CANopenNode/CANopenEditor): Object Dictionary editor, external GUI tool for editing CANopen Object Dictionary for custom device. It generates C source code, electronic data sheet and documentation for the device. It is a fork from [libedssharp](https://github.com/robincornelius/libedssharp). - [CANopenLinux](https://github.com/CANopenNode/CANopenLinux): CANopenNode on Linux devices. It can be a basic CANopen device or more advanced with commander functionalities. - [CANopenPIC](https://github.com/CANopenNode/CANopenPIC): CANopenNode on PIC microcontrollers from Microchip. Works with 16-bit and 32 bit devices. Includes example for Arduino style [Max32](https://reference.digilentinc.com/reference/microprocessor/max32/start) board. - [doc/deviceSupport.md](doc/deviceSupport.md): List of other implementations of CANopenNode on different devices. Documentation, support and contributions ---------------------------------------- All code is documented in the source header files. Some additional documents are in `doc` directory. To generate complete html documentation, run [doxygen](http://www.doxygen.nl/) in the project base directory: `sudo apt install doxygen graphviz pdf2svg; doxygen > /dev/null` Complete generated documentation is also available online: https://canopennode.github.io Tutorial, demo device and tests are available in [CANopenDemo](https://github.com/CANopenNode/CANopenDemo) repository. Report issues on https://github.com/CANopenNode/CANopenNode/issues Older discussion group is on Sourceforge: http://sourceforge.net/p/canopennode/discussion/387151/ Contributions are welcome. Best way to contribute your code is to fork a project, modify it and then send a pull request. Some basic formatting rules should be followed: Linux style with indentation of 4 spaces. There is also a `codingStyle` file with example and a configuration file for `clang-format` tool. CANopenNode flowchart --------------------- Flowchart of a typical CANopenNode implementation: ~~~ ----------------------- | Program start | ----------------------- | ----------------------- | CANopen init | ----------------------- | ----------------------- | Start threads | ----------------------- | | | -------------------- | -------------------- | | | ---------------------- ------------------------ ----------------------- | CAN receive thread | | Timer interval thread | | Mainline thread | | | | | | | | - Fast response. | | - Realtime thread with | | - Processing of time | | - Detect CAN ID. | | constant interval, | | consuming tasks | | - Partially process | | typically 1ms. | | in CANopen objects: | | messages and copy | | - Network synchronized | | - SDO server, | | data to target | | - Copy inputs (RPDOs, | | - Emergency, | | CANopen objects. | | HW) to Object Dict. | | - Network state, | | | | - May call application | | - Heartbeat. | | | | for some processing. | | - LSS slave | | | | - Copy variables from | | - Gateway (optional): | | | | Object Dictionary to | | - NMT master | | | | outputs (TPDOs, HW). | | - SDO client
评论
    相关推荐
    • 2015-embedded-summber-note:我从2015年Jserv的Jserv中学到的笔记
      2015 嵌入式系统暑期课程学习笔记 这是我去修jserv所开的2015嵌入式系统暑期课程的学习笔记,目前正在整理中原始资讯请见 为什么不全部写在hackpad? 因为我觉得他不好用…..Orz…. 这份文建会尽可能和我的hackpad ...
    • 嵌入式虚拟机CarpVM.zip
      CarpVM 是一个用 C 语言编写的小型虚拟机。可以嵌入在应用程序中使用。 包含的指令集有: HALT (code): Halts and attempts to clean up stack, data memory, and label memory before exiting with given exit ...
    • Digital Logic Design:数字电路设计与仿真-开源
      教师可以将此软件整合到他们的课程中,例如“数字逻辑与计算机设计”,“计算机体系结构”,“计算机组织”和“嵌入式系统”。 在该软件中,可以使用图形组件设计电路,也可以以乘积和布尔形式输入电路。
    • 磨砂:磨砂:适用于小型嵌入式设备的免费POSIX OS
      磨砂 :snowman_without_snow: 我们搬到了gitlab! 请访问和新家! 再见! 磨砂的开发团队
    • embgit:适用于电子应用程序的嵌入式Git
      Embgit是go中最小的git客户端。 它的主要目标是: 胖二进制,无依赖 支持所有主要平台 克隆,添加,提交,推送 使用ssh-keys进行识别 特征 git克隆 git添加 git提交 git推 替代ssh-key的选项 建立 建立 跨...
    • Embeded-System:课程作业
      实时嵌入式系统 ####内容-1。 项目介绍-2。 设备-3。 工作原理-3.1实现原理-3.2部分截图-4。 最终代码-5。 社交媒体和git-hub链接-6。 参考
    • litescope:占地面积小且可配置的嵌入式FPGA逻辑分析仪
      __ _ __ ____ / / (_) /____ / __/______ ___ ___ / /__/ / __/ -_)\ \/ __/ _ \/ _ \/ -_) /____/_/\__/\__/___/\__/\___/ .__/\__/ /_/ Copyright 2015-2020 / EnjoyDigital A small footprint
    • 嵌入式面试简历模板
      本人校招简历,经过一个月时间打磨,经过校招验证,结果证明,该简历的效果还是不错的,简历通过筛选的概率大于90%。
    • HW 嵌入式 LiteOS 源码
      华为嵌入式系统OS源码,想学习的人可以下载,嵌入式各种编译平台都可以使用
    • GaussDB_100_1.0.1-DATABASE-REDHAT-64bit.tar.gz
      guassdb100在redhat上安装包,单机部署的包,安装步骤请看我的文中介绍,经过大量实验搭建总结出来的文档