]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/log
pes-rpp/rpp-test-sw.git
10 years agoMerge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw v0.2
Michal Horn [Fri, 26 Jul 2013 10:43:14 +0000 (12:43 +0200)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw

Conflicts:
.cproject

10 years agoDo not use "-->" in syntax description
Michal Sojka [Fri, 26 Jul 2013 10:23:21 +0000 (12:23 +0200)]
Do not use "-->" in syntax description

10 years agoPrint long help of the commands if the command name is given as a parameter of help
Michal Sojka [Thu, 25 Jul 2013 19:33:25 +0000 (21:33 +0200)]
Print long help of the commands if the command name is given as a parameter of help

For this to work nicely, we need the CRLF conversion from the previous
commit.

10 years agoAdd automatic CRLF conversion to SCI output
Michal Sojka [Thu, 25 Jul 2013 19:32:08 +0000 (21:32 +0200)]
Add automatic CRLF conversion to SCI output

Also fix a race condition in drv_sci_send(), which could cause the
characters at the end of the string not to be printed. If the condition
in the critical section was false, then the loop was restarted from
the beginning (continue) but the length was not reverted to the original
value.

P.S. The CRLF conversion might be reverted in the future.

10 years agoCCS 5_2 files modified
Michal Horn [Thu, 25 Jul 2013 18:54:09 +0000 (20:54 +0200)]
CCS 5_2 files modified

10 years agoInclude software version in startup message
Michal Sojka [Thu, 25 Jul 2013 18:35:52 +0000 (20:35 +0200)]
Include software version in startup message

It seems that there is some buffer overflow. If the message is a few
characters longer, the software hangs somewhere before printing the
message.

10 years agoSet SCI speed to 115200 Bd
Michal Sojka [Thu, 25 Jul 2013 18:34:06 +0000 (20:34 +0200)]
Set SCI speed to 115200 Bd

Now both Simulink target tester and this sw use the same baud rate

10 years agoForgotten testcan command name added back to descriptor.
Michal Horn [Thu, 25 Jul 2013 17:05:46 +0000 (19:05 +0200)]
Forgotten testcan command name added back to descriptor.

10 years agoMerge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw
Michal Horn [Thu, 25 Jul 2013 16:49:34 +0000 (18:49 +0200)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/rpp-test-sw

Conflicts:
commands/cmd_dac.c

10 years agoDescription texts modified, extended or added.
Michal Horn [Thu, 25 Jul 2013 16:46:24 +0000 (18:46 +0200)]
Description texts modified, extended or added.

10 years agoFormat dacpinval documentation in a nicer way
Michal Sojka [Thu, 25 Jul 2013 11:46:12 +0000 (13:46 +0200)]
Format dacpinval documentation in a nicer way

10 years agoAutomate uploading of documentation to the wiki
Michal Sojka [Thu, 25 Jul 2013 11:42:22 +0000 (13:42 +0200)]
Automate uploading of documentation to the wiki

10 years agoDo not try to generate documentation from main.c
Michal Sojka [Thu, 25 Jul 2013 10:14:11 +0000 (12:14 +0200)]
Do not try to generate documentation from main.c

10 years agoMoved main into toplevel directory.
Michal Horn [Thu, 25 Jul 2013 10:09:19 +0000 (12:09 +0200)]
Moved main into toplevel directory.

10 years agoRevert dependency of the library on the application
Michal Sojka [Thu, 25 Jul 2013 09:52:41 +0000 (11:52 +0200)]
Revert dependency of the library on the application

10 years agoFix compiler warnings
Michal Sojka [Thu, 25 Jul 2013 09:47:20 +0000 (11:47 +0200)]
Fix compiler warnings

10 years agoAdd make clean target
Michal Sojka [Thu, 25 Jul 2013 09:46:42 +0000 (11:46 +0200)]
Add make clean target

10 years agoMove commands to toplevel directory (outside of lib)
Michal Sojka [Thu, 25 Jul 2013 09:44:31 +0000 (11:44 +0200)]
Move commands to toplevel directory (outside of lib)

10 years agoExclude docgen.c from CCS build
Michal Sojka [Thu, 25 Jul 2013 09:32:53 +0000 (11:32 +0200)]
Exclude docgen.c from CCS build

Note that the project files were saved with CCS 5.3, whereas the
previous files with CCS 5.2.x.

10 years agoSort help by command
Michal Sojka [Thu, 25 Jul 2013 09:28:15 +0000 (11:28 +0200)]
Sort help by command

10 years agoUse === instead of == in documentation titles
Michal Sojka [Thu, 25 Jul 2013 09:18:28 +0000 (11:18 +0200)]
Use === instead of == in documentation titles

10 years agoSupport multiple formats of docuemntation
Michal Sojka [Thu, 25 Jul 2013 09:18:49 +0000 (11:18 +0200)]
Support multiple formats of docuemntation

10 years agoFew fixes to Emacs help formatig macros
Michal Sojka [Thu, 25 Jul 2013 08:54:07 +0000 (10:54 +0200)]
Few fixes to Emacs help formatig macros

10 years agoCopy description of some commands from wiki
Michal Sojka [Thu, 25 Jul 2013 08:53:50 +0000 (10:53 +0200)]
Copy description of some commands from wiki

10 years agoAdd simple help generator
Michal Sojka [Wed, 24 Jul 2013 22:57:31 +0000 (00:57 +0200)]
Add simple help generator

More will come later...

10 years agoRemove tabulators and newlines from command descriptions
Michal Sojka [Wed, 24 Jul 2013 22:56:58 +0000 (00:56 +0200)]
Remove tabulators and newlines from command descriptions

10 years agocmdproc: Add a field for long help
Michal Sojka [Wed, 24 Jul 2013 22:34:56 +0000 (00:34 +0200)]
cmdproc: Add a field for long help

More in this commit:
- Initial population of the field with empty string or simple description
- Added Emacs macros for easy editing of long help strings

10 years agoCreate header file for the main command list
Michal Sojka [Wed, 24 Jul 2013 07:31:29 +0000 (09:31 +0200)]
Create header file for the main command list

10 years agoPrepare for automated generation of documentation
Michal Sojka [Wed, 24 Jul 2013 07:20:14 +0000 (09:20 +0200)]
Prepare for automated generation of documentation

Now, all files that define commands can be compiler both normally and
in a special mode (with DOCGEN symbol defined) that will later allow
automated extraction of documentation.

10 years agoBinary document file removed
Michal Horn [Tue, 25 Jun 2013 16:16:09 +0000 (18:16 +0200)]
Binary document file removed

10 years agoPort list command repaired
Michal Horn [Tue, 25 Jun 2013 15:48:54 +0000 (17:48 +0200)]
Port list command repaired

Stack size of the main task had to be enlarged

10 years agoLicence header added to all CMD files, comments to functions added
Michal Horn [Tue, 25 Jun 2013 15:48:17 +0000 (17:48 +0200)]
Licence header added to all CMD files, comments to functions added

10 years agoADC comments added
Michal Horn [Tue, 25 Jun 2013 13:33:14 +0000 (15:33 +0200)]
ADC comments added

10 years agoDAC command arguments parsing repaired, comments added.
Michal Horn [Tue, 25 Jun 2013 13:33:01 +0000 (15:33 +0200)]
DAC command arguments parsing repaired, comments added.

10 years agoDIN parameters parsing error repaired, comments added
Michal Horn [Mon, 24 Jun 2013 18:27:11 +0000 (20:27 +0200)]
DIN parameters parsing error repaired, comments added

10 years agoHBR parameter parsing bug repaired, comments added
Michal Horn [Mon, 24 Jun 2013 17:44:07 +0000 (19:44 +0200)]
HBR parameter parsing bug repaired, comments added

10 years agoComments added and bug in parameters parsing repaired.
Michal Horn [Mon, 24 Jun 2013 17:19:09 +0000 (19:19 +0200)]
Comments added and bug in parameters parsing repaired.

10 years agoCommand for loging to SDRAM test added.
Michal Horn [Mon, 24 Jun 2013 16:30:02 +0000 (18:30 +0200)]
Command for loging to SDRAM test added.

10 years agoChanges for right subprocessor ending and releasing memory.
Michal Horn [Mon, 24 Jun 2013 16:29:01 +0000 (18:29 +0200)]
Changes for right subprocessor ending and releasing memory.

Master command procesor has now highest priority
Heap_2.c file for memory management is used instead of heap_1.c, which does not support releasing memory. This new implementation allows memory reusing but does not prevent fragmentation.

10 years agoComments tuned
Michal Horn [Mon, 24 Jun 2013 12:59:15 +0000 (14:59 +0200)]
Comments tuned

10 years agoDIN command tuned
Michal Horn [Mon, 24 Jun 2013 12:58:55 +0000 (14:58 +0200)]
DIN command tuned

10 years agoDAC INIT_VAL macro parentheses added
Michal Horn [Mon, 24 Jun 2013 12:58:36 +0000 (14:58 +0200)]
DAC INIT_VAL macro parentheses added

10 years agoComments corrections
Michal Horn [Wed, 19 Jun 2013 14:24:15 +0000 (16:24 +0200)]
Comments corrections

10 years agoFlexRay example tuned to use rpp API for reading din
Michal Horn [Wed, 19 Jun 2013 14:24:02 +0000 (16:24 +0200)]
FlexRay example tuned to use rpp API for reading din

10 years agomfld2val and val2mfld macros tuned
Michal Horn [Wed, 19 Jun 2013 14:23:24 +0000 (16:23 +0200)]
mfld2val and val2mfld macros tuned

10 years agoDIN strange bit positioning recognized and repaired.
Michal Horn [Wed, 19 Jun 2013 14:21:49 +0000 (16:21 +0200)]
DIN strange bit positioning recognized and repaired.
Mapping code rewritten to bit operations

10 years agoMOUT IN and DIAG pins their switched with their function. This is now repaired
Michal Horn [Wed, 19 Jun 2013 14:19:55 +0000 (16:19 +0200)]
MOUT IN and DIAG pins their switched with their function. This is now repaired

10 years agoDMM GIO pin configuration and coments tuned.
Michal Horn [Wed, 19 Jun 2013 14:17:26 +0000 (16:17 +0200)]
DMM GIO pin configuration and coments tuned.

Default output value for MOUT_EN changed,
direction for MOUT_EN changed,
pull type for MOUT_EN changed.

10 years agoDMM GIO configuration tuned to be more clear and easy to change
Michal Horn [Wed, 19 Jun 2013 14:15:49 +0000 (16:15 +0200)]
DMM GIO configuration tuned to be more clear and easy to change

10 years agoCommands modified to use only RPP API from Carlos
Michal Horn [Tue, 18 Jun 2013 14:42:33 +0000 (16:42 +0200)]
Commands modified to use only RPP API from Carlos

 - DAC commands changed
 - DIN commands changed
 - HBR commands changed
 - LOUT commands changed

10 years agoMinor change - welcome text with newer version number and actual date.
Michal Horn [Tue, 18 Jun 2013 08:50:02 +0000 (10:50 +0200)]
Minor change - welcome text with newer version number and actual date.

10 years agosection definition file added
Michal Horn [Tue, 18 Jun 2013 08:49:28 +0000 (10:49 +0200)]
section definition file added

Without this file code was loaded into some random memory position and MPU could not find reset vector.

10 years agoMain function modified for new library
Michal Horn [Sun, 16 Jun 2013 22:45:22 +0000 (00:45 +0200)]
Main function modified for new library

10 years agoCommands modified for new IO functions and library
Michal Horn [Sun, 16 Jun 2013 22:45:05 +0000 (00:45 +0200)]
Commands modified for new IO functions and library

10 years agoCMDPROC modified for new IO functions and library
Michal Horn [Sun, 16 Jun 2013 22:44:41 +0000 (00:44 +0200)]
CMDPROC modified for new IO functions and library

10 years agoOld existing files are overwritten
Michal Horn [Sun, 16 Jun 2013 22:43:26 +0000 (00:43 +0200)]
Old existing files are overwritten

10 years agoImport source files from Carlos Jenkins repository rpp_simulink
Michal Horn [Sun, 16 Jun 2013 22:38:38 +0000 (00:38 +0200)]
Import source files from Carlos Jenkins repository rpp_simulink

10 years agoSource code changes to make code compilable after filename changes
Michal Horn [Sun, 16 Jun 2013 15:51:24 +0000 (17:51 +0200)]
Source code changes to make code compilable after filename changes

10 years agoFiles renamed according rpp_simulink repository
Michal Horn [Sun, 16 Jun 2013 15:34:44 +0000 (17:34 +0200)]
Files renamed according rpp_simulink repository

10 years agosource code changes to be compilable with new file structure
Michal Horn [Sun, 16 Jun 2013 15:14:41 +0000 (17:14 +0200)]
source code changes to be compilable with new file structure

10 years agoFile structure changed to match rtp_simulink repository
Michal Horn [Sun, 16 Jun 2013 14:13:19 +0000 (16:13 +0200)]
File structure changed to match rtp_simulink repository

10 years agoADC initialization added
Michal Horn [Sun, 16 Jun 2013 10:43:43 +0000 (12:43 +0200)]
ADC initialization added

10 years agoAdc bug repaired
Michal Horn [Sun, 16 Jun 2013 10:43:21 +0000 (12:43 +0200)]
Adc bug repaired

Semaphore was repeatedly created and deleted when readADC is called. This caused memory leaks.
Semaphore is now created only once during ADC initialization.

10 years agoAdc parameters tuned
Michal Horn [Sun, 16 Jun 2013 10:39:32 +0000 (12:39 +0200)]
Adc parameters tuned
debounce time and logic added
flexray buffers configuration
data receive and sending tuned
text output tuned.

10 years agoExample of driving motor over FlexRay added
Michal Horn [Thu, 16 May 2013 12:36:21 +0000 (14:36 +0200)]
Example of driving motor over FlexRay added

10 years agoUnification of HAL function names.
Michal Horn [Thu, 16 May 2013 12:35:58 +0000 (14:35 +0200)]
Unification of HAL function names.

11 years agoheader file inclusions changed according new header files names,
Michal Horn [Tue, 16 Apr 2013 14:13:33 +0000 (16:13 +0200)]
header file inclusions changed according new header files names,
comming with prefix changees in previous commit.

11 years agoPrefixes for source files modified acording the convention.
Michal Horn [Tue, 16 Apr 2013 14:02:30 +0000 (16:02 +0200)]
Prefixes for source files modified acording the convention.
cmdproc files have prefix cmdproc_
HAL files have prefix hal_
system files with postreset configuration have prefix sys_

11 years agoOld useles FlexRay files removed. Their content was particulary
Michal Horn [Fri, 12 Apr 2013 17:40:19 +0000 (19:40 +0200)]
Old useles FlexRay files removed. Their content was particulary
moved into ti_drv_fray and drv_fray files.

11 years agoCommands for FlexRay testing modified.
Michal Horn [Fri, 12 Apr 2013 17:39:26 +0000 (19:39 +0200)]
Commands for FlexRay testing modified.

They now use high-level driver for operating.
Support for proper integration into network or new network initiatoin added.

11 years agoHigh-level driver for FlexRay,
Michal Horn [Fri, 12 Apr 2013 17:38:08 +0000 (19:38 +0200)]
High-level driver for FlexRay,
supports basic initialisation, network initiation,
integration into existing network, buffer setting,
data loading, message retreiving.

11 years agoFlexray low-level driver added
Michal Horn [Fri, 12 Apr 2013 17:36:40 +0000 (19:36 +0200)]
Flexray low-level driver added
Registers definitions, basic constants and
data structures for input/output buffer and global configuration

11 years agoSimple FlexRay test implemented,
Michal Horn [Fri, 12 Apr 2013 09:42:42 +0000 (11:42 +0200)]
Simple FlexRay test implemented,
command modified to be as simple as possible

11 years agoEnable Fray memory initialization. This must be done to reset ECC system and then...
Michal Horn [Fri, 12 Apr 2013 09:39:44 +0000 (11:39 +0200)]
Enable Fray memory initialization. This must be done to reset ECC system and then valid data frames can be transmitted.

11 years agoCommands outputs modified for better automatical parsing
Michal Horn [Thu, 4 Apr 2013 08:03:25 +0000 (10:03 +0200)]
Commands outputs modified for better automatical parsing

Excessive ends of lines removed

11 years agotestfray command tuned
Michal Horn [Fri, 22 Mar 2013 13:34:47 +0000 (14:34 +0100)]
testfray command tuned

Correct network startup process added
Number of message correction restricted

11 years agoTest methods simplified to use only two buffers and one channel
Michal Horn [Fri, 22 Mar 2013 13:32:59 +0000 (14:32 +0100)]
Test methods simplified to use only two buffers and one channel

11 years agoCTU Departmet of measurement test code integration
Michal Horn [Fri, 22 Mar 2013 13:32:23 +0000 (14:32 +0100)]
CTU Departmet of measurement test code integration

Basic driver functionality integrated
Startup procedure tuned to fit our needs

General configuration methods still not integrated

11 years agoH-bridge API expanded, HOUT check state tuned, commands created
Michal Horn [Tue, 5 Mar 2013 14:02:05 +0000 (15:02 +0100)]
H-bridge API expanded, HOUT check state tuned, commands created

HBR API was expanded by set/get function for HBR_EN and HBR_DIR pin
HOUT check state no check a pin for several times with 1ms delay.
Commands for set/get HBR_EN and HBR_DIR created
Command HOUTFAIL tuned according check function

11 years agoSource and Header files modified
Michal Horn [Thu, 28 Feb 2013 22:43:49 +0000 (23:43 +0100)]
Source and Header files modified

Commands from commands.c moved to their cmd_peripheral.c files
Each periperal division has its sublist, which is defined as external and connected together in root list in commands.c

11 years agoSource files restructualization
Michal Horn [Thu, 28 Feb 2013 13:34:07 +0000 (14:34 +0100)]
Source files restructualization

Source and header files with prefix cmd_ for peripheral test commands created, commands from commands.c will be moved into those files.
Source and header files with drivers from Texas Instruments were renamed with prefix ti_drv_
Source and header files with ours drivers were renamed with prefix drv_

11 years agoMove read_arg function to utils.c and .h
Michal Horn [Tue, 26 Feb 2013 16:41:07 +0000 (17:41 +0100)]
Move read_arg function to utils.c and .h

11 years agoLout API modified to be more encapsulated,
Michal Horn [Tue, 26 Feb 2013 16:25:20 +0000 (17:25 +0100)]
Lout API modified to be more encapsulated,

Extern variables definitions removed
Getters for spi command and response added
Commands modified accordings the API changes

11 years agoexcessive structure definition removed
Michal Horn [Tue, 26 Feb 2013 16:23:50 +0000 (17:23 +0100)]
excessive structure definition removed

11 years agoComments added to the source code
Michal Horn [Tue, 26 Feb 2013 16:22:46 +0000 (17:22 +0100)]
Comments added to the source code

11 years agoComments to adc added
Michal Horn [Tue, 26 Feb 2013 16:15:58 +0000 (17:15 +0100)]
Comments to adc added

11 years agoGlobal variable removed from header file into souce file
Michal Horn [Tue, 26 Feb 2013 15:52:47 +0000 (16:52 +0100)]
Global variable removed from header file into souce file

11 years agoProject file backups added
Michal Horn [Tue, 26 Feb 2013 15:51:02 +0000 (16:51 +0100)]
Project file backups added

11 years agoHeader file for HOUT PWM API added
Michal Horn [Fri, 22 Feb 2013 16:31:55 +0000 (17:31 +0100)]
Header file for HOUT PWM API added

11 years agocheck for bad arguments in hbr set pwm function added
Michal Horn [Fri, 22 Feb 2013 16:29:52 +0000 (17:29 +0100)]
check for bad arguments in hbr set pwm function added

11 years agocheck for bad values as argument to hbr set pwm command added
Michal Horn [Fri, 22 Feb 2013 16:29:26 +0000 (17:29 +0100)]
check for bad values as argument to hbr set pwm command added

11 years agoHOUT pwm commands added
Michal Horn [Fri, 22 Feb 2013 16:28:46 +0000 (17:28 +0100)]
HOUT pwm commands added

11 years agoAPI for HOUT pwm created.
Michal Horn [Fri, 22 Feb 2013 16:28:03 +0000 (17:28 +0100)]
API for HOUT pwm created.
N2HET program modified to control coresponding NHET1 pins

11 years agoComents added for din
Michal Horn [Fri, 22 Feb 2013 11:48:14 +0000 (12:48 +0100)]
Coments added for din

11 years agodin help tuned
Michal Horn [Fri, 22 Feb 2013 11:47:40 +0000 (12:47 +0100)]
din help tuned

11 years agoMore intuitive command order for din
Michal Horn [Fri, 22 Feb 2013 11:47:06 +0000 (12:47 +0100)]
More intuitive command order for din

11 years agocomments added and repaired
Michal Horn [Fri, 22 Feb 2013 11:40:28 +0000 (12:40 +0100)]
comments added and repaired

11 years agoBetter status text, ordered by real pin numbers.
Michal Horn [Fri, 22 Feb 2013 11:38:49 +0000 (12:38 +0100)]
Better status text, ordered by real pin numbers.

11 years agoBetter identificator for spi response variable.
Michal Horn [Fri, 22 Feb 2013 11:38:18 +0000 (12:38 +0100)]
Better identificator for spi response variable.

Return value repaired in reset and switch state commands

Sending switch state command in getter commands

11 years agoBetter values passing as arguments added into commands state write and interrput...
Michal Horn [Fri, 22 Feb 2013 11:32:36 +0000 (12:32 +0100)]
Better values passing as arguments added into commands state write and interrput write