]>
rtime.felk.cvut.cz Git - linux-lin.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Rostislav Lisovy [Fri, 9 Dec 2011 14:35:48 +0000 (15:35 +0100)]
sllin: It is possible to send "LIN response" from linfr_cache when configured.
Rostislav Lisovy [Fri, 9 Dec 2011 12:58:30 +0000 (13:58 +0100)]
sllin: Added LIN frame cache and its configuration with CAN EFF frames.
Rostislav Lisovy [Wed, 7 Dec 2011 17:26:12 +0000 (18:26 +0100)]
sllin: Network statistics for received CAN frames.
Rostislav Lisovy [Wed, 7 Dec 2011 17:19:41 +0000 (18:19 +0100)]
sllin: Sending CAN frame with LIN data payload received from LIN slave response from the LIN bus.
Rostislav Lisovy [Sat, 3 Dec 2011 19:43:56 +0000 (20:43 +0100)]
sllin: Added timer handling timeout when receiving LIN response.
Rostislav Lisovy [Fri, 2 Dec 2011 13:46:05 +0000 (14:46 +0100)]
lin_master: Checking if character read is really a break.
Rostislav Lisovy [Fri, 2 Dec 2011 13:42:28 +0000 (14:42 +0100)]
sllin: Improved sending of a "LIN response" sent by master following LIN header.
Rostislav Lisovy [Wed, 30 Nov 2011 16:09:00 +0000 (17:09 +0100)]
sllin: LIN frame is sent (to TTY) after receiving CAN frame (from network subsystem).
RTR CAN frame received -> LIN header sent
NON-RTR CAN frame received -> LIN header + LIN response sent
Rostislav Lisovy [Mon, 28 Nov 2011 16:29:39 +0000 (17:29 +0100)]
Break correctly generated either with timer or with baud-rate change.
One way how to generate Break is by manually controlling break signal
while sleeping with timer.
Another way is to slower baud-rate of an UART and send 0x00.
Rostislav Lisovy [Fri, 25 Nov 2011 16:09:10 +0000 (17:09 +0100)]
sllin: Generating Break signal done with our own function.
Rostislav Lisovy [Fri, 25 Nov 2011 16:02:32 +0000 (17:02 +0100)]
Sllin: Temporarily commented out some error checking for testing purposes.
Rostislav Lisovy [Fri, 25 Nov 2011 11:01:39 +0000 (12:01 +0100)]
sllin: Commented out unused code.
Rostislav Lisovy [Fri, 25 Nov 2011 10:56:01 +0000 (11:56 +0100)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/lisovros/pcan_lin
Pavel Pisa [Fri, 25 Nov 2011 10:54:48 +0000 (11:54 +0100)]
Kernel LIN code uses same baudrate setup as user space now.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Rostislav Lisovy [Fri, 25 Nov 2011 09:36:26 +0000 (10:36 +0100)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/lisovros/pcan_lin
Pavel Pisa [Fri, 25 Nov 2011 01:58:41 +0000 (02:58 +0100)]
Update response checksum calculation for kernel code too.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Fri, 25 Nov 2011 01:41:27 +0000 (02:41 +0100)]
Userspace LIN is compiled with USE_TERMIOS2 by default now.
If compiled with USE_TERMIOS2 then new kernel methods
is used to set generic baudrate.
The baudrate values are specified by c_ospeed
and c_ispeed fields of struct termios2 and new
IOCTL numbers TCSETS2 and TCGETS2 are used
for terminal parameters setting and reading.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Fri, 25 Nov 2011 00:39:25 +0000 (01:39 +0100)]
Userspace LIN master: Provide state encapsulation to test kernel code.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Rostislav Lisovy [Thu, 24 Nov 2011 15:44:46 +0000 (16:44 +0100)]
sllin: Removed unused 'leased' field.
Rostislav Lisovy [Thu, 24 Nov 2011 15:17:55 +0000 (16:17 +0100)]
sllin: Added debugging prints. Little bugfix.
Rostislav Lisovy [Thu, 24 Nov 2011 14:50:28 +0000 (15:50 +0100)]
Basic argument parsing made by getopt_long.
Rostislav Lisovy [Thu, 24 Nov 2011 13:42:19 +0000 (14:42 +0100)]
Setting of uart baudrate done in separate function.
Rostislav Lisovy [Wed, 23 Nov 2011 17:59:26 +0000 (18:59 +0100)]
Setting UART speed to custom value for sending break.
Used with 19200 baud rate for data TX, break generated by
sending 0x00 with 12800 baud rate.
PCAN LIN converter configured as a slave does respond.
Pavel Pisa [Tue, 22 Nov 2011 21:17:49 +0000 (22:17 +0100)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/lisovros/pcan_lin
Pavel Pisa [Tue, 22 Nov 2011 21:17:01 +0000 (22:17 +0100)]
Basic functions to synchronize Tx with LIN state automata implemented.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Michal Sojka [Tue, 22 Nov 2011 00:21:42 +0000 (01:21 +0100)]
Add pty testing program
This program allows testing serial line disciplines on computers without
any serial port (like my laptop outside of docking station).
Pavel Pisa [Mon, 21 Nov 2011 16:43:05 +0000 (17:43 +0100)]
Tool to compute LIN ID parity table.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Pavel Pisa [Mon, 21 Nov 2011 12:44:41 +0000 (13:44 +0100)]
Added minimal skeleton to use kernel worker thread.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Rostislav Lisovy [Mon, 21 Nov 2011 09:58:27 +0000 (10:58 +0100)]
Merge remote branch 'pisa/master'
Rostislav Lisovy [Mon, 21 Nov 2011 09:36:35 +0000 (10:36 +0100)]
Added some debugging functions.
Rostislav Lisovy [Wed, 16 Nov 2011 16:03:54 +0000 (17:03 +0100)]
Added basic speed change.
Rostislav Lisovy [Wed, 16 Nov 2011 14:21:56 +0000 (15:21 +0100)]
Added Makefile.
Rostislav Lisovy [Wed, 16 Nov 2011 14:21:45 +0000 (15:21 +0100)]
Variables called slcan (or similar) renamed to sllin.
Rostislav Lisovy [Wed, 16 Nov 2011 14:19:53 +0000 (15:19 +0100)]
Initial commit. Slcan used as starting point for Sllin.
Rostislav Lisovy [Wed, 9 Nov 2011 17:12:26 +0000 (18:12 +0100)]
LIN master simulated with an UART.
Slaves (PCAN-LIN and PCAN-USB Pro) are responding only when this master works with B2400 speed.
Rostislav Lisovy [Wed, 2 Nov 2011 15:22:35 +0000 (16:22 +0100)]
Corrected wrong bit-order in received header.
Rostislav Lisovy [Mon, 31 Oct 2011 17:06:02 +0000 (18:06 +0100)]
Initial commit of UART-LIN slave. Receiving Break does not work.
Rostislav Lisovy [Mon, 24 Oct 2011 16:35:19 +0000 (18:35 +0200)]
Initial commit; Basic skeleton.