]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/log
pes-rpp/rpp-test-sw.git
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.

11 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

11 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

11 years agoBetter values passing as arguments created
Michal Horn [Fri, 22 Feb 2013 11:31:07 +0000 (12:31 +0100)]
Better values passing as arguments created

11 years agodin API modified to add new functions, remove old functions and be more encapsulated
Michal Horn [Tue, 19 Feb 2013 22:36:14 +0000 (23:36 +0100)]
din API modified to add new functions, remove old functions and be more encapsulated

11 years agocommands accessing single pins removed, new commands for setting added, original...
Michal Horn [Tue, 19 Feb 2013 22:33:54 +0000 (23:33 +0100)]
commands accessing single pins removed, new commands for setting added, original setting commands repaired

set_pin_st removed
set_pin_pr removed
get_pin_val removed
--
switch_status added
din_reset added
din_int_wr added
--
coments added

11 years agoBad DIN pins indexes repaired
Michal Horn [Tue, 19 Feb 2013 18:28:51 +0000 (19:28 +0100)]
Bad DIN pins indexes repaired

11 years agoBug in command preparation repaired
Michal Horn [Tue, 19 Feb 2013 18:27:22 +0000 (19:27 +0100)]
Bug in command preparation repaired

LSB -> MSB

11 years agoBetter decription for DIN SPI response
Michal Horn [Tue, 19 Feb 2013 17:51:17 +0000 (18:51 +0100)]
Better decription for DIN SPI response

11 years agoDIN command accepts 16b argument
Michal Horn [Tue, 19 Feb 2013 17:50:45 +0000 (18:50 +0100)]
DIN command accepts 16b argument

11 years agoDIN commands accept pin numbers greater than 9
Michal Horn [Tue, 19 Feb 2013 17:50:07 +0000 (18:50 +0100)]
DIN commands accept pin numbers greater than 9

11 years agoBad DIN_INT pin descriptor repaired to be input
Michal Horn [Tue, 19 Feb 2013 17:48:48 +0000 (18:48 +0100)]
Bad DIN_INT pin descriptor repaired to be input

11 years agoN2HET program for HBR_PWM modified to avoid PWM autostart after MCU reset
Michal Horn [Tue, 19 Feb 2013 10:26:53 +0000 (11:26 +0100)]
N2HET program for HBR_PWM modified to avoid PWM autostart after MCU reset

11 years agoCommands for HBR_PWM controll added
Michal Horn [Mon, 18 Feb 2013 14:50:41 +0000 (15:50 +0100)]
Commands for HBR_PWM controll added

11 years agonumber base parameter added to read_arg function
Michal Horn [Mon, 18 Feb 2013 14:50:01 +0000 (15:50 +0100)]
number base parameter added to read_arg function

Now the function is able to parse other than hexadecimal numbers

11 years agoFunctions for PWM controll added to hbridge API
Michal Horn [Mon, 18 Feb 2013 14:47:47 +0000 (15:47 +0100)]
Functions for PWM controll added to hbridge API

11 years agoProgram for generating PWM signal on HET7 added
Michal Horn [Mon, 18 Feb 2013 14:47:16 +0000 (15:47 +0100)]
Program for generating PWM signal on HET7 added

In header is modified structure to avoid syntax error message from compiler

11 years agoBug in flexray status command and translator from spi repaired
Michal Horn [Mon, 18 Feb 2013 09:50:07 +0000 (10:50 +0100)]
Bug in flexray status command and translator from spi repaired

SPI response is LSB

11 years agoAdded command for reading flexray status
Michal Horn [Thu, 14 Feb 2013 14:25:31 +0000 (15:25 +0100)]
Added command for reading flexray status

11 years agoAdded API for communicating with flexray chips over SPI
Michal Horn [Thu, 14 Feb 2013 14:25:07 +0000 (15:25 +0100)]
Added API for communicating with flexray chips over SPI
just for getting responses, bacouse those chips are read only

11 years agoCommands for DAC control added
Michal Horn [Tue, 12 Feb 2013 15:20:18 +0000 (16:20 +0100)]
Commands for DAC control added

11 years agoHelp text tuned to look better (tabulators)
Michal Horn [Tue, 12 Feb 2013 15:19:59 +0000 (16:19 +0100)]
Help text tuned to look better (tabulators)

11 years agoBug in reporting pin state repaired,
Michal Horn [Tue, 12 Feb 2013 15:19:07 +0000 (16:19 +0100)]
Bug in reporting pin state repaired,
Syntax error repaired

11 years agoVoltage computation for DAC tuned to support more accurate values
Michal Horn [Tue, 12 Feb 2013 15:18:07 +0000 (16:18 +0100)]
Voltage computation for DAC tuned to support more accurate values

11 years agoDAC communicatin over SPI tuned, one procedure instead of two
Michal Horn [Tue, 12 Feb 2013 15:17:02 +0000 (16:17 +0100)]
DAC communicatin over SPI tuned, one procedure instead of two

11 years agoDAC constants for exuation from datasheet added
Michal Horn [Tue, 12 Feb 2013 15:15:20 +0000 (16:15 +0100)]
DAC constants for exuation from datasheet added

11 years agoDAC init values repaired
Michal Horn [Tue, 12 Feb 2013 15:14:31 +0000 (16:14 +0100)]
DAC init values repaired

11 years agoCreated API for comfortable control DAC over SPI.
Michal Horn [Tue, 12 Feb 2013 11:45:04 +0000 (12:45 +0100)]
Created API for comfortable control DAC over SPI.

11 years agohighlevel din command added, not yet tested
Michal Horn [Mon, 17 Dec 2012 14:55:55 +0000 (15:55 +0100)]
highlevel din command added, not yet tested

11 years agolout spi status translator repaired to respect LSB tranfer protocol
Michal Horn [Mon, 17 Dec 2012 11:57:38 +0000 (12:57 +0100)]
lout spi status translator repaired to respect LSB tranfer protocol

11 years agopin list command added
Michal Horn [Tue, 11 Dec 2012 09:33:47 +0000 (10:33 +0100)]
pin list command added

11 years agoWelcome text added, buffer size increased for it
Michal Horn [Mon, 10 Dec 2012 14:31:48 +0000 (15:31 +0100)]
Welcome text added, buffer size increased for it

11 years agolout control commands added
Michal Horn [Mon, 10 Dec 2012 13:57:52 +0000 (14:57 +0100)]
lout control commands added

11 years agolout pin control functions added
Michal Horn [Mon, 10 Dec 2012 13:57:43 +0000 (14:57 +0100)]
lout pin control functions added

11 years agofield getter and setter moved to util.h, baceuse is now used on several places
Michal Horn [Mon, 10 Dec 2012 13:55:49 +0000 (14:55 +0100)]
field getter and setter moved to util.h, baceuse is now used on several places

11 years agofield value setter and getter moved to utils header file, because is used by several...
Michal Horn [Mon, 10 Dec 2012 13:54:21 +0000 (14:54 +0100)]
field value setter and getter moved to utils header file, because is used by several functions

11 years agowarning at lout spi response translator removed
Michal Horn [Mon, 10 Dec 2012 13:53:32 +0000 (14:53 +0100)]
warning at lout spi response translator removed

11 years agoVBAT1 switch on ramp profile tuned for boards with fixes.
Pavel Pisa [Mon, 10 Dec 2012 12:15:24 +0000 (13:15 +0100)]
VBAT1 switch on ramp profile tuned for boards with fixes.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
11 years agocmd_vbat1_set_bit function renamed, because it is used by several commands.
Michal Horn [Mon, 10 Dec 2012 10:34:37 +0000 (11:34 +0100)]
cmd_vbat1_set_bit function renamed, because it is used by several commands.

11 years agoduplicated function cmd_do_vbat1_set_bit commented.
Michal Horn [Mon, 10 Dec 2012 10:29:11 +0000 (11:29 +0100)]
duplicated function cmd_do_vbat1_set_bit commented.

11 years agopower off and power on commands added
Michal Horn [Mon, 10 Dec 2012 10:13:15 +0000 (11:13 +0100)]
power off and power on commands added

11 years agoVBAT control tuned and added PWM vbat set command for vbat1
Michal Horn [Fri, 7 Dec 2012 14:39:50 +0000 (15:39 +0100)]
VBAT control tuned and added PWM vbat set command for vbat1

11 years agoError in port definition constant repaired
Michal Horn [Fri, 7 Dec 2012 14:39:26 +0000 (15:39 +0100)]
Error in port definition constant repaired

11 years agoNew port DACDREF - DAC - DIN reference voltage - added
Michal Horn [Mon, 3 Dec 2012 13:57:11 +0000 (14:57 +0100)]
New port DACDREF - DAC - DIN reference voltage - added

11 years agoAdded command for SPI device responses translations
Michal Horn [Mon, 3 Dec 2012 13:43:34 +0000 (14:43 +0100)]
Added command for SPI device responses translations

11 years agoAdded library for creating translations from binary SPI device responses into readabl...
Michal Horn [Mon, 3 Dec 2012 13:43:11 +0000 (14:43 +0100)]
Added library for creating translations from binary SPI device responses into readable structure.

11 years agoADC port read command values indexind repaired,
Michal Horn [Fri, 30 Nov 2012 14:51:12 +0000 (15:51 +0100)]
ADC port read command values indexind repaired,
Flexray prints added

11 years agoSPI port reader - number of bytes in descriptor repaired
Michal Horn [Fri, 30 Nov 2012 14:50:34 +0000 (15:50 +0100)]
SPI port reader - number of bytes in descriptor repaired

11 years agoFlexray code for test porpose added
Michal Horn [Thu, 29 Nov 2012 19:18:20 +0000 (20:18 +0100)]
Flexray code for test porpose added

11 years agoold commands for port handling replaced by new master command
Michal Horn [Thu, 29 Nov 2012 13:35:07 +0000 (14:35 +0100)]
old commands for port handling replaced by new master command

11 years agofunctions for control each port class added
Michal Horn [Thu, 29 Nov 2012 13:33:44 +0000 (14:33 +0100)]
functions for control each port class added

11 years agoADC code separated from commands and driver generated by halcogen
Michal Horn [Thu, 29 Nov 2012 13:29:17 +0000 (14:29 +0100)]
ADC code separated from commands and driver generated by halcogen

11 years agoSome forgotten pin definitons added
Michal Horn [Thu, 29 Nov 2012 13:27:58 +0000 (14:27 +0100)]
Some forgotten pin definitons added