Commit Graph

64 Commits

Author SHA1 Message Date
Anders Sandstrom
d289e89ab3 Also refresh SDO in not DBG mode.. Bugfix 2021-03-18 13:06:29 +01:00
Anders Sandstrom
a2ff30f305 Remove some printfs 2021-03-18 12:46:51 +01:00
Anders Sandstrom
f3b8a2a059 Remove pmu905 related files (moved to pmu905 repo) 2021-03-18 10:23:41 +01:00
Anders Sandstrom
ad0b4f873e Cleanup in asub 2021-03-18 10:10:48 +01:00
Anders Sandstrom
46679dfc3e Rename asub and cleanup 2021-03-18 10:01:35 +01:00
Anders Sandstrom
5b518a0661 Remove submodules and soem cleanup 2021-03-18 09:24:55 +01:00
Anders Sandstrom
7f2ef1d04d WIP basic config. Add asub.. 2021-03-17 15:57:16 +01:00
Anders Sandstrom
54949701d1 WIP on basic config. Amplifier ON works.. WIP 2021-03-16 16:53:29 +01:00
Anders Sandstrom
700d63de97 Some cleanup 2021-03-16 13:53:07 +01:00
Anders Sandstrom
90f33f1200 Use calc records for scalings 2021-03-16 13:30:05 +01:00
Anders Sandstrom
d989b4c737 WIP 2021-03-16 13:17:39 +01:00
Anders Sandstrom
111f6f460a SDO: Change read timeout to read sample time 2021-03-12 09:05:41 +01:00
Anders Sandstrom
7fdd51b0cd Add PDO output template. 2021-03-11 17:05:01 +01:00
Anders Sandstrom
e5f696a1eb SDO write tested. 2021-03-11 16:59:52 +01:00
Anders Sandstrom
1b88210a60 Add some test pvs for pdos and sdos 2021-03-10 17:06:31 +01:00
Anders Sandstrom
188f05b8a1 Add template for CAN SDO 2021-03-10 16:26:45 +01:00
Anders Sandstrom
74b527f306 Fix buffer allocation. 2021-03-10 16:26:13 +01:00
Anders Sandstrom
cb9fe2a361 Add comments 2021-03-10 15:42:02 +01:00
Anders Sandstrom
6e84d4bf0c Add write() error handling. 2021-03-10 15:35:10 +01:00
Anders Sandstrom
8ab585652e Update asynparams in ecmc_rt thread (execute()) 2021-03-10 15:27:21 +01:00
Anders Sandstrom
4e0ac9462a Cleanup 2021-03-10 14:45:42 +01:00
Anders Sandstrom
fa62fbf918 Add asyn params for pdo, add write callbacks for sdo and pdo. 2021-03-10 14:37:40 +01:00
Anders Sandstrom
0b7954e478 Add asyn param for data of SDO. 2021-03-10 12:02:41 +01:00
Anders Sandstrom
4361b083c5 Rename some funcs.. 2021-03-10 11:04:04 +01:00
Anders Sandstrom
020d7932af Lock seems to work. Add more SDO:s to testscript to test lock 2021-03-10 10:33:03 +01:00
Anders Sandstrom
d90918ac9e Add lock and sync of SDO1 2021-03-10 10:23:39 +01:00
Anders Sandstrom
8f5ea3acd9 Try to sync SDO, WIP 2021-03-09 16:51:34 +01:00
Anders Sandstrom
78d6cd5a12 Some cleanup. 2021-03-09 14:30:57 +01:00
Anders Sandstrom
afb93a2b00 Add LSS, SYNC and heartbeat sample time for master 2021-03-09 14:24:20 +01:00
Anders Sandstrom
399023e023 Add SDO and PDO iocsh commands 2021-03-09 13:47:02 +01:00
Anders Sandstrom
02d9ef3244 Start to add iocsh cmds.. 2021-03-09 10:26:28 +01:00
Anders Sandstrom
4d4dd047c2 Add master and some test objetcs. 2021-03-09 09:23:21 +01:00
Anders Sandstrom
1bd8d56f1f Add canopen device 2021-03-08 17:04:03 +01:00
Anders Sandstrom
a6456894ae PDO: Add mutex 2021-03-08 17:03:43 +01:00
Anders Sandstrom
b495df588e SDO read and write works.. NEED to make sure not to exe severla sdo requsets at the same time... 2021-03-05 16:17:31 +01:00
Anders Sandstrom
24fdea0329 Minor cleanup! 2021-03-05 16:12:26 +01:00
Anders Sandstrom
c90934e43d SDO write seems to work.. 2021-03-05 16:06:46 +01:00
Anders Sandstrom
923d21d7f3 Add SDO write functionality, not tested.. 2021-03-05 11:46:51 +01:00
Anders Sandstrom
5561bb1816 Work in progress SDO write.. will not build.. 2021-03-04 16:42:07 +01:00
Anders Sandstrom
51321119c7 Add pdo write functionality. 2021-03-04 15:52:04 +01:00
Anders Sandstrom
1121fef540 Cleanup 2021-03-04 14:33:44 +01:00
Anders Sandstrom
3b493c5be6 Add PDO 2021-03-04 14:22:49 +01:00
Anders Sandstrom
3e59a7c086 Rename to cobId 2021-03-04 12:50:56 +01:00
Anders Sandstrom
0b941f3f62 Cleanup 2021-03-04 12:11:09 +01:00
Anders Sandstrom
c29a3c6549 Change to auto buffer writes.. 2021-03-04 12:05:32 +01:00
Anders Sandstrom
b9115a6581 WIP 2021-03-03 16:34:50 +01:00
Anders Sandstrom
963aba576e SDO payload only 7 byte. Now status array from pmu905 seems correct. 2021-03-03 16:26:21 +01:00
Anders Sandstrom
ddc3d3dd84 Rudimentary SDO read from slave working.. 2021-03-03 15:19:37 +01:00
Anders Sandstrom
983095e403 Add write buffer 2021-03-03 09:53:42 +01:00
Anders Sandstrom
1c210d6b42 Add thread for writes! 2021-03-02 17:17:21 +01:00