1
0
Fork 0
Commit graph

182 commits

Author SHA1 Message Date
Janez
6acf18da5b Merge branch 'fix-testcase-sdo27' of https://github.com/martinwag/CANopenNode into martinwag-fix-testcase-sdo27 2017-07-04 12:53:49 +02:00
Martin Wagner
9dbd2fc966 First try on LSS master addon...
- needs #define CO_NO_LSS_CLIENT 1 in CO_OD.h. This will need a change in the OD editor.
- still no fastscan support
- bitrate settin API untested
- some changes on LSS slave where necessary
2017-07-03 11:14:07 +02:00
Martin Wagner
03982ad8e3 First try on LSS slave addon...
- needs #define CO_NO_LSS_SERVER 1 in CO_OD.h. This will need a change in the OD editor.
- no Fastscan support yet
- bitrate setting API untested
- https://github.com/CANopenNode/CANopenNode/issues/46 (driver stuff)
- changed some of the other stack files, tried my best to remain compatible with standard non LSS CANopenNode
2017-06-26 13:04:02 +02:00
Martin Wagner
f9a913e3e1 PDO dummy mapping caused invalid memory access 2017-06-02 14:39:04 +02:00
Martin Wagner
9fa1787441 write invalid PDO mapping error codes...
according to DSP310, those values should be returned (Page 28, 29).  There's nothing about this error behavior in CiA301, this only describes value errors, but not sequence errors in mapping change.
2017-05-29 14:55:32 +02:00
Martin Wagner
f04bc1bb31 SYNC write OD 0x1019 add value check...
according to DSP310, when writing a "reserved" value to this index, a error response should be created (page 39). There's nothing about this behavior in CiA301.
2017-05-23 15:19:54 +02:00
Martin Wagner
33e2c91850 SDO upload block initiate invalid block size created abort message...
instead of invalid block size error. Fixes CANopen conformance test tool test case SDO 26
2017-05-23 10:51:10 +02:00
Martin Wagner
a07726fa31 SDO upload block invalid sequence generated block size error...
instead of invalid sequence error. Fixes CANopen conformance test tool test case SDO 27
2017-05-23 10:15:01 +02:00
Martin Wagner
467ad78047 OD 1003-0 now clears errors 2017-05-22 08:49:38 +02:00
CANopenNode
efc6876c1b Merge pull request #37 from martinwag/add-errorbit-defines
Add definition to make application specific error bit macros more clear
2017-05-20 16:56:18 +02:00
CANopenNode
3a4be8eb83 Update CO_NMT_Heartbeat.c 2017-05-20 16:51:11 +02:00
CANopenNode
9c04d69974 Merge branch 'master' into add-nmt-callback 2017-05-20 16:33:17 +02:00
CANopenNode
895e2f6ff4 Merge pull request #35 from martinwag/add-cpp-guards
Added guards for c++ compilation
2017-05-20 16:28:25 +02:00
CANopenNode
43a37e2a7f Merge pull request #34 from martinwag/add-custom-crc
Compiler switch enables providing own CRC16 implemetation.
2017-05-20 16:25:48 +02:00
Martin Wagner
cc0df99b77 Add definition to make application specific error bit macros more clear 2017-05-16 16:05:53 +02:00
Martin Wagner
260cbc55e3 Added callback and query function for NMT state 2017-05-10 15:35:57 +02:00
Martin Wagner
e4eaafd383 Added usage example 2017-05-10 15:31:53 +02:00
Martin Wagner
f023106e5a Added guards for c++ compilation 2017-05-10 15:30:25 +02:00
Martin Wagner
9e6b1c296c Compiler switch enables providing own CRC16 implemetation.
This enables the stack user to use a different calculation method. This
is needed to save space (no table) or to use hardware crc unit.
Implementation can be located in driver directory.
2017-05-10 15:29:08 +02:00
Janez
83f18edc40 Solved: synchronous RPDOs lost #23 2017-02-24 16:12:35 +01:00
Janez
8aa9b452fc Added LPC1768 into readme. 2017-02-03 13:02:36 +01:00
Janez
9f20d6ca6f Cleanup of documentation comments and match stylings. No code change. 2017-02-03 12:58:42 +01:00
Janez
daf98dfb13 Merge branch 'feature/LPC1768_driver' of https://github.com/exmachina-dev/CANopenNode into exmachina-dev-feature/LPC1768_driver 2017-02-03 11:32:25 +01:00
Janez
83b6a7abb4 Make it possible to write to 0x1003 - Pre-Defined Error Field #15 2017-02-03 10:51:23 +01:00
Benoit Rapidel
763303d0bf Add copyright and license information in LPC1768 driver 2016-11-25 20:05:44 +01:00
Benoit Rapidel
656a21d0b9 Add extern call to use C code in CO_driver.cpp 2016-11-25 19:58:58 +01:00
Benoit Rapidel
6833969dcd Add LPC1768 driver using mbed SDK 2016-11-25 19:58:16 +01:00
Janez
5df11b9d74 SYNC timeout bugfix; synchronous PDOs are now processed after next sync. 2016-09-07 16:08:07 +02:00
Janez
2e0a086514 Issue #10: Devices PIC32MX530, 550 and 570 has only 16 receive filters. 2016-07-07 10:12:10 +02:00
Janez
57a900f7b7 Issue #10 fixed: PIC32MX530 has only 16 acceptance filters. (Not 32.) 2016-07-06 11:08:58 +02:00
Janez
851d9e0245 Trace functionality updated. 2016-04-04 14:04:47 +02:00
Janez
614735bc60 CANopenSocket related. 2016-03-29 21:05:16 +02:00
Janez
499111c5b8 Some rearangement in trace. 2016-03-25 17:25:48 +01:00
Janez
1eacd6d675 Trace works on PIC32. 2016-03-24 23:59:52 +01:00
Janez
85fc85482e Added trace interface for monitoring variables. 2016-03-24 22:01:44 +01:00
Janez
b6672b2500 Pull request #8 jensnielsen/CAN RX interrupt 2016-03-21 12:08:34 +01:00
Petteri
bda46127bb Nonvolatile storage for STM32F3-series of microcontrollers 2016-03-15 13:54:28 +02:00
Petteri
0838b6efa3 CANOpenNode driver for STM32F3-series of microcontrollers 2016-03-15 13:53:46 +02:00
Janez
76b79a1a41 Merge branch 'master' of 192.168.1.30:git/CANopenNode 2016-02-15 11:08:07 +01:00
Janez
392abbe4d3 PIC32 2016-02-15 11:07:48 +01:00
Janez
6f2ffda7ba Updated comment in drvTemplate 2016-02-03 11:22:58 +01:00
Janez
934e90e7ec main_PIC32.c bugfix. 2016-01-14 09:28:34 +01:00
Janez
e6db254c63 Added CO->CANmodule[x]->CANnormal to all drivers. example/main.c updated. 2016-01-12 13:48:16 +01:00
Janez
41b8d903b7 License changed to the GNU General Public License version 2 with the classpath exception. 2016-01-10 00:15:50 +01:00
Janez
3e78c3eec5 dsPIC30 works. 2016-01-08 18:31:22 +01:00
Janez
40f329d0f1 Removed plib dependency for PIC32. 2016-01-08 17:56:30 +01:00
Janez
8d0420b432 PIC24, dsPIC33 - EDS and DMA macros changed and moved from CANopen.c to CO_driver.c.
directory PIC24H_dsPIC33F renamed to PIC24_dsPIC33.
https://sourceforge.net/p/canopennode/discussion/387151/thread/281ffd7f
2016-01-07 15:28:49 +01:00
Janez
0bd31f0dc4 Domain data type.
http://sourceforge.net/p/canopennode/discussion/387151/thread/603deb63/
2016-01-06 13:11:48 +01:00
Janez
f7184e7197 Critical bugfix in dsPIC33, PIC24, CAN receive.
FIFO buffer did not work properly.
https://github.com/CANopenNode/CANopenNode/pull/3
2016-01-05 18:31:40 +01:00
Janez
df0d0353f0 Minor updates from Jens Nielsen. 2015-12-29 13:47:23 +01:00
Janez
bde8c83aab #include <p33Fxxxx.h> (capitals in linux) 2015-12-29 12:37:01 +01:00
Janez
3bf4b812ed Merge branch 'master' of https://github.com/CANopenNode/CANopenNode 2015-12-13 22:50:57 +01:00
Janez
a5224176d2 Some updates to CO_memcpySwap and in SDO master. 2015-12-11 13:47:06 +01:00
Janez
b8266e9e20 SocketCAN endian. 2015-12-09 23:53:52 +01:00
Jens Nielsen
13be332db3 Allow multiple SDO objects 2015-12-07 18:37:01 +01:00
Janez
9bf4fd860f Object Dictionary storage implemented for SocketCAN. 2015-12-02 13:40:41 +01:00
Janez
ef15b5e182 Readme updated and SocketCAN Linux tasks added. 2015-11-29 21:45:01 +01:00
Janez
ac41b50a50 Run on PIC32. 2015-10-20 19:55:14 +02:00
Janez
702b25cf56 application.h/c and main_PIC32.c added from the old repository 2015-10-20 17:54:02 +02:00
Janez
a837948ea4 Merge branch 'master' of BB1:git/CANopenNode 2015-10-20 13:48:51 +02:00
Janez_dw
c011452ed8 Issue #2 2015-10-16 11:53:35 +02:00
JanezTD
3f24b1c4b7 eeprom basic port 2015-10-03 11:44:15 +02:00
JanezXD
eb54492132 Callbacks for task control added. 2015-09-09 00:54:25 +02:00
JanezXD
0e9fba0ee1 Socket configuration added to CO_driver 2015-09-07 12:06:07 +02:00
JanezXD
909427c978 socketCAN, main_utils.c, Heartbeat triggering rule changed. 2015-09-06 23:34:09 +02:00
JanezXD
149c8cb89c added main_utils.c with taskTmr. 2015-09-05 18:53:43 +02:00
JanezXD
68e7ad0817 Improved socketCAN filter configuration. 2015-09-05 13:59:09 +02:00
JanezXD
b716643845 timerNext_ms returned from CO_process() and others. 2015-09-04 18:31:21 +02:00
JanezXD
bbc165c218 First run of socketCan. 2015-08-29 01:13:54 +02:00
Janez_dw
69293ab422 CANopen.c: Node ID and CAN bit rate added as argument to CO_init(). 2015-08-28 07:27:40 +02:00
Janez_dw
345b37b573 Some cleanup. 2015-08-27 18:57:34 +02:00
Janez_dw
ea47ca89fb Macros "Disabling interrupts" replaced with "Critical sections" in all drivers. 2015-08-27 14:36:07 +02:00
Janez_DW
cada159e40 Test against null pointers in eeprom.c files. 2015-08-26 21:27:45 +02:00
Janez_DW
8427cbcc90 Added testing against null pointers in _init functions.
Updated CO_process_SYNC_RPDO and CO_process_TPDO in CANopen.c.
2015-08-26 15:41:21 +02:00
Janez_DW
730bc57a42 Revision of the CANopen SYNC message. Received synchronous PDOs are now processed after the SYNC. 2015-08-25 19:17:18 +02:00
Janez_D
50d2855326 Added driver for Freescale MCF5282 from archives. Not tested. 2015-08-20 19:10:08 +02:00
JanezXD
36881e5e6a Example files moved to own directory. 2015-08-01 23:20:44 +02:00
JanezXD
12f33a4a7b Example files moved to base directory. Added template for socketCAN drivers (based on BECK SC 243) 2015-07-30 19:58:06 +02:00
Mi
8104f87056 Successfull compilation on linux with drvTemplate 2015-07-27 01:52:03 +02:00
Janez_D
ddbabdae42 Specifiers CO_bool_t, CO_true and CO_false replaced with bool_t, true and false. 2015-07-26 19:15:21 +02:00
Janez_D
b50cb5e8b3 Cleanup in comments (no code changed).
Add and update multiple readme.txt
Remove SVN IDs.
2015-07-25 17:36:46 +02:00
Janez_D
d270c2d09a Move and rename files. No file change. 2015-07-25 14:03:15 +02:00