]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/log
pes-rpp/rpp-test-sw.git
11 years agoOptimalization of print methods
Michal Horn [Tue, 14 Aug 2012 07:44:49 +0000 (09:44 +0200)]
Optimalization of print methods
Sending is now done by interrupt

11 years agoDebugging and rewriting send not to use interrupts, but direct sending.
Michal Horn [Tue, 7 Aug 2012 14:50:01 +0000 (16:50 +0200)]
Debugging and rewriting send not to use interrupts, but direct sending.
Code cleanup

11 years agoRewritten for using one task and direct usage of interrupts
Michal Horn [Mon, 6 Aug 2012 17:10:31 +0000 (19:10 +0200)]
Rewritten for using one task and direct usage of interrupts

11 years agoAdded more example commands to commands.c file.
Michal Horn [Wed, 1 Aug 2012 12:21:15 +0000 (14:21 +0200)]
Added more example commands to commands.c file.

11 years agoComments added, code cleaned and restructualized.
Michal Horn [Wed, 1 Aug 2012 11:15:37 +0000 (13:15 +0200)]
Comments added, code cleaned and restructualized.

11 years agoErrors in VALWO and VALRO removed
Michal Horn [Tue, 31 Jul 2012 14:29:34 +0000 (16:29 +0200)]
Errors in VALWO and VALRO removed

11 years agoRewriten char*info[] to void*info, HELP and VAL:#\? commands are now working.
Michal Horn [Tue, 31 Jul 2012 14:21:25 +0000 (16:21 +0200)]
Rewriten char*info[] to void*info, HELP and VAL:#\? commands are now working.
Some error in VALRO and VALRW occured

11 years ago Comunication over RS-232, done reading input, writing output and cmdProc implementation.
Michal Horn [Tue, 31 Jul 2012 14:10:01 +0000 (16:10 +0200)]
 Comunication over RS-232, done reading input, writing output and cmdProc implementation.
    There is some error in command definitions with info parameter

    We have 3 tasks and 1 ISR. ISR gets character from RS-232 and puts it into queue1. Than storeCmd task is woken and when inputBuffer is not
    When newLine comes, storeCmd task gives semaphore to processCmd task, which uses cmdProc routines to process new line of commands.
    printTask waits for full output buffer (implemented as queue) and has the lowest priority.
    processCmd has the highest priority.
    storeCmd is in the middle.

11 years agoCommand processing.
Michal Horn [Tue, 31 Jul 2012 11:41:22 +0000 (13:41 +0200)]
Command processing.
Comunication over RS-232, done reading input, writing output and cmdProc implementation.
There is some error in command definitions with info parameter

We have 3 tasks and 1 ISR. ISR gets character from RS-232 and puts it into queue1. Than storeCmd task is woken and when inputBuffer is not full and the character is not new line, store it into inBuffer and outBuffer, to be ready to print out on RS-232 by printTask.
When newLine comes, storeCmd task gives semaphore to processCmd task, which uses cmdProc routines to process new line of commands.
printTask waits for full output buffer (implemented as queue) and has the lowest priority.
processCmd has the highest priority.
storeCmd is in the middle.