1
0
Fork 0
Commit graph

113 commits

Author SHA1 Message Date
Martin Wagner
d200264301 Merge branch 'martinwag-fix-emcy-overflow-clear' 2019-10-08 08:07:33 +02:00
Martin Wagner
8d565f7fbc Merge branch 'fix-emcy-overflow-clear' of https://github.com/martinwag/CANopenNode into martinwag-fix-emcy-overflow-clear 2019-10-08 08:07:26 +02:00
Martin Wagner
8a766530d2 Merge branch 'martinwag-add-errorregister-mnf-bit' 2019-10-08 08:06:47 +02:00
Martin Wagner
8d1955ab6d Merge branch 'add-errorregister-mnf-bit' of https://github.com/martinwag/CANopenNode into martinwag-add-errorregister-mnf-bit 2019-10-08 08:06:21 +02:00
Martin Wagner
6ef8ffcf0f Merge branch 'martinwag-fix-sdo-race-condition' 2019-10-08 08:01:58 +02:00
Martin Wagner
14c2abd582 Merge branch 'fix-sdo-race-condition' of https://github.com/martinwag/CANopenNode into martinwag-fix-sdo-race-condition 2019-10-08 08:01:40 +02:00
Martin Wagner
b06254257e Merge branch 'martinwag-fix-RPDO_CALLS_EXTENSION' 2019-10-08 08:00:01 +02:00
Martin Wagner
be815bd282 emergency processing generates emcy queue overflow cleared message 2018-03-26 11:11:21 +02:00
Martin Wagner
efc252ab11 manufacturer bit in error register didn't work
if profile is implemented this needs to be separated in more detail to also set profile bit
2018-03-22 09:18:19 +01:00
Martin Wagner
17676495ac Moved RPDO_CALLS_EXTENSION functionallity out of receive poll loop...
the loop is there because the received data can be overwritten while copying. Calling a callback with potenially half-valid data is a bad idea.
2017-09-01 10:35:24 +02:00
Martin Wagner
e3bed95204 Fixed SDO read/write callback race condition...
with multithreading applications it was possible to modify entries in between calling OD function and copying to/from sdo buffer
2017-09-01 10:34:01 +02:00
iurly
5338015740 CO_trace: remove compiler warnings (#49)
snprintf() calls will raise warnings when using %u/%d
format strings with uint32_t/int32_t arguments.
Use %lu/%ld instead.
2017-08-01 17:19:52 +02:00
Janez
dee8503da0 SDO block transfer issue #39 2017-07-04 15:07:38 +02:00
Janez
78ce0fd55d Merge branch 'fix-invalid-access' of https://github.com/martinwag/CANopenNode into martinwag-fix-invalid-access 2017-07-04 14:11:13 +02:00
Janez
96a5858a19 Merge branch 'fix-testcase-pdo23_24_25' of https://github.com/martinwag/CANopenNode into martinwag-fix-testcase-pdo23_24_25 2017-07-04 13:50:08 +02:00
Janez
dc390f0fd2 return CO_SDO_AB_INVALID_VALUE for wrong value on object 1019 (SYNC) 2017-07-04 13:22:18 +02:00
Janez
9acf0d3ad3 Merge branch 'fix-testcase-sync05' of https://github.com/martinwag/CANopenNode into martinwag-fix-testcase-sync05 2017-07-04 13:09:40 +02:00
Janez
ba07ad763d Merge branch 'fix-testcase-sdo26_2' of https://github.com/martinwag/CANopenNode into martinwag-fix-testcase-sdo26_2 2017-07-04 13:00:36 +02:00
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
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
a7e56e27cb Merge pull request #36 from martinwag/add-nmt-callback
Added callback and query function for NMT state
2017-05-20 16:52:46 +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
CANopenNode
93bd4b4dff Merge pull request #33 from martinwag/add-sdo-usage-example
Add usage example for SDO access by ID
2017-05-20 16:21:41 +02:00
CANopenNode
31fe17bb05 Merge pull request #32 from martinwag/fix-invalid-address-init
CO_init assumed node ID 16 if invalid. Now it returns an error.
2017-05-20 16:17:33 +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
ba09c22be8 Assuming valid address is not acceptable in professional environment 2017-05-10 15:29:54 +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
b3ee0a9e0b Merge branch 'exmachina-dev-feature/LPC1768_driver' Thanks to WillyKaze. 2017-02-03 13:00:27 +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