]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/log
pes-rpp/rpp-test-sw.git
11 years agoi2c: Halcogen generated source codes
Rostislav Lisovy [Fri, 26 Oct 2012 15:14:48 +0000 (17:14 +0200)]
i2c: Halcogen generated source codes

11 years agoGit: Ignore build directory
Rostislav Lisovy [Wed, 24 Oct 2012 13:58:27 +0000 (15:58 +0200)]
Git: Ignore build directory

11 years agoEMAC: Minor changes
Rostislav Lisovy [Wed, 24 Oct 2012 12:48:48 +0000 (14:48 +0200)]
EMAC: Minor changes

11 years agoSPI: Multiplexed CS
Rostislav Lisovy [Wed, 24 Oct 2012 12:48:05 +0000 (14:48 +0200)]
SPI: Multiplexed CS

11 years agoDMM: Initialize all pins as GPIO, out direction, set to H
Rostislav Lisovy [Wed, 24 Oct 2012 12:47:27 +0000 (14:47 +0200)]
DMM: Initialize all pins as GPIO, out direction, set to H

11 years agoHBR_EN and HBR_DIR modification commands added.
Michal Horn [Mon, 22 Oct 2012 13:47:09 +0000 (15:47 +0200)]
HBR_EN and HBR_DIR modification commands added.

11 years agoIRQ: Fix wrong VIM table
Rostislav Lisovy [Mon, 22 Oct 2012 13:02:27 +0000 (15:02 +0200)]
IRQ: Fix wrong VIM table

11 years agoEMAC: Dummy RX and TX works (with interrupts)
Rostislav Lisovy [Mon, 22 Oct 2012 10:24:17 +0000 (12:24 +0200)]
EMAC: Dummy RX and TX works (with interrupts)

11 years agoEMAC: TX interrupt seems to be ok.
Rostislav Lisovy [Fri, 19 Oct 2012 16:54:39 +0000 (18:54 +0200)]
EMAC: TX interrupt seems to be ok.

EMAC interrupts are set to FIQ (in Halcogen config. is still IRQ).

11 years agoCorrect SDRAM test.
Petr Porazil [Tue, 9 Oct 2012 20:49:10 +0000 (22:49 +0200)]
Correct SDRAM test.

Signed-off-by: Petr Porazil <porazil@volny.cz>
11 years agoGPREG1 bit 31 has to be set to enable EMIF (SDRAM) CS0 and other pins.
Pavel Pisa [Tue, 9 Oct 2012 20:24:41 +0000 (22:24 +0200)]
GPREG1 bit 31 has to be set to enable EMIF (SDRAM) CS0 and other pins.

Next EMIF pins are not controlled if bit is not set
A[0,1,6,7,8], BA[1], nCS[0], nCS[3]

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
11 years agoAttempt to define correct configuration for RPP SDRAM.
Pavel Pisa [Tue, 9 Oct 2012 19:17:06 +0000 (21:17 +0200)]
Attempt to define correct configuration for RPP SDRAM.

HalCogen generated values are total mess.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
11 years agoEMAC: Works on rpp V00.01-001 with modified HW
Rostislav Lisovy [Tue, 9 Oct 2012 11:30:37 +0000 (13:30 +0200)]
EMAC: Works on rpp V00.01-001 with modified HW

11 years agoEMAC: IRQ handlers declaration
Rostislav Lisovy [Mon, 8 Oct 2012 12:49:09 +0000 (14:49 +0200)]
EMAC: IRQ handlers declaration

11 years agoSPI: Minor fixes
Rostislav Lisovy [Mon, 8 Oct 2012 12:48:43 +0000 (14:48 +0200)]
SPI: Minor fixes

11 years agoEMAC: Fix function parameters
Rostislav Lisovy [Fri, 5 Oct 2012 08:41:35 +0000 (10:41 +0200)]
EMAC: Fix function parameters

11 years agoSPI: Add missing utils.c
Rostislav Lisovy [Fri, 5 Oct 2012 08:41:04 +0000 (10:41 +0200)]
SPI: Add missing utils.c

11 years agoSPI: Interfaces are counted from 1
Rostislav Lisovy [Thu, 4 Oct 2012 13:08:19 +0000 (15:08 +0200)]
SPI: Interfaces are counted from 1

11 years agoSPI: Base register redefinition
Rostislav Lisovy [Tue, 2 Oct 2012 19:46:10 +0000 (21:46 +0200)]
SPI: Base register redefinition

11 years agoSPI: cmd_proc command & refactoring
Rostislav Lisovy [Tue, 2 Oct 2012 18:35:41 +0000 (20:35 +0200)]
SPI: cmd_proc command & refactoring

11 years agoSPI: Array of spi_dev_t structs now belongs to particular iface
Rostislav Lisovy [Tue, 2 Oct 2012 16:22:00 +0000 (18:22 +0200)]
SPI: Array of spi_dev_t structs now belongs to particular iface

11 years agoSPI: Working implementation of SPI transfers
Rostislav Lisovy [Mon, 1 Oct 2012 12:58:49 +0000 (14:58 +0200)]
SPI: Working implementation of SPI transfers

Lesson learned: Do not call _enable_IRQ() in interrupt handler!

11 years agoSPI: Basic skeleton for SPI communication (not fully-functional)
Rostislav Lisovy [Thu, 27 Sep 2012 13:28:57 +0000 (15:28 +0200)]
SPI: Basic skeleton for SPI communication (not fully-functional)

To properly compile enable "gcc extensions" for TI compiler
(compiler configuration in CCS).
ul_* files are part of uLut project (FOSS license) -- see web
for more details.
Some parts of spi_tms570.c|.h is based on Halcogen generated code
(with handmade changes).

11 years agoEMAC: Basic Ethernet testing code -- still not working on RPP
Rostislav Lisovy [Fri, 5 Oct 2012 08:20:59 +0000 (10:20 +0200)]
EMAC: Basic Ethernet testing code -- still not working on RPP

11 years agoLIN loop back rewrited to enable U602 driver and to check external loopback
Michal Horn [Mon, 1 Oct 2012 13:52:15 +0000 (15:52 +0200)]
LIN loop back rewrited to enable U602 driver and to check external loopback

11 years agoEnabled LIN high interrupt
Michal Horn [Mon, 1 Oct 2012 13:07:54 +0000 (15:07 +0200)]
Enabled LIN high interrupt

11 years agoLIN interrupts enabled
Michal Horn [Mon, 1 Oct 2012 12:54:19 +0000 (14:54 +0200)]
LIN interrupts enabled

11 years agoLIN internal loopback added, not yet done
Michal Horn [Mon, 1 Oct 2012 12:51:54 +0000 (14:51 +0200)]
LIN internal loopback added, not yet done

11 years agoAttempt to tune AUIR33401S switching sequence.
Petr Porazil [Tue, 25 Sep 2012 20:03:15 +0000 (22:03 +0200)]
Attempt to tune AUIR33401S switching sequence.

Signed-off-by: Petr Porazil <porazil@volny.cz>
11 years agoDMM changed according error in HALCoGen
Michal Horn [Mon, 24 Sep 2012 13:51:34 +0000 (15:51 +0200)]
DMM changed according error in HALCoGen
PWM for VBAT changed

11 years agoLIN Driver anabled
Michal Horn [Fri, 21 Sep 2012 13:59:08 +0000 (15:59 +0200)]
LIN Driver anabled

11 years agoChanges in can enabling
Michal Horn [Fri, 21 Sep 2012 13:19:51 +0000 (15:19 +0200)]
Changes in can enabling

11 years agoDeleted Debug folders
Michal Horn [Fri, 21 Sep 2012 08:15:15 +0000 (10:15 +0200)]
Deleted Debug folders

11 years agoDeleted Command Storing folder.
Michal Horn [Fri, 21 Sep 2012 08:11:05 +0000 (10:11 +0200)]
Deleted Command Storing folder.

11 years agoPINMUX: Handmade Halcogen fix
Rostislav Lisovy [Wed, 19 Sep 2012 16:31:15 +0000 (18:31 +0200)]
PINMUX: Handmade Halcogen fix

11 years agoPINMUX: Source code generated from Halcogen setting pinmux
Rostislav Lisovy [Wed, 19 Sep 2012 16:28:01 +0000 (18:28 +0200)]
PINMUX: Source code generated from Halcogen setting pinmux

11 years agoPINMUX: Halcogen pinmux configuration for RPP-board
Rostislav Lisovy [Wed, 19 Sep 2012 16:21:25 +0000 (18:21 +0200)]
PINMUX: Halcogen pinmux configuration for RPP-board

11 years agoCAN DMM pin toogling added
Michal Horn [Mon, 17 Sep 2012 14:06:00 +0000 (16:06 +0200)]
CAN DMM pin toogling added

11 years agoCANLOOPBACK extended to support CAN1, CAN2, CAN3. User can choose vchich CAN is sourc...
Michal Horn [Mon, 17 Sep 2012 13:18:53 +0000 (15:18 +0200)]
CANLOOPBACK extended to support CAN1, CAN2, CAN3. User can choose vchich CAN is source and which one is destination.

11 years agoCANLOOP command modificated to allow choosing source and destination CAN
Michal Horn [Fri, 14 Sep 2012 09:22:22 +0000 (11:22 +0200)]
CANLOOP command modificated to allow choosing source and destination CAN

11 years agoMerge new commands with existing set anf get command.
Michal Horn [Thu, 13 Sep 2012 22:01:16 +0000 (00:01 +0200)]
Merge new commands with existing set anf get command.
Code cleanup
Report included in doc folder

11 years agoRemake of memtest
Michal Horn [Wed, 12 Sep 2012 15:55:32 +0000 (17:55 +0200)]
Remake of memtest
Added commands for setting and reading v_bat

11 years agoError with semaphore in ADC repaired.
Michal Horn [Wed, 12 Sep 2012 07:11:48 +0000 (09:11 +0200)]
Error with semaphore in ADC repaired.

11 years agoAdded command for testing SDRAM
Michal Horn [Mon, 10 Sep 2012 16:01:55 +0000 (18:01 +0200)]
Added command for testing SDRAM

11 years agoAdded EMIF driver enable and SDRAM from HDK setting.
Michal Horn [Mon, 10 Sep 2012 15:32:03 +0000 (17:32 +0200)]
Added EMIF driver enable and SDRAM from HDK setting.

11 years agoAdded command to set and read HOUT port
Michal Horn [Tue, 4 Sep 2012 17:17:32 +0000 (19:17 +0200)]
Added command to set and read HOUT port
Modified currnet setters and getters
Comments added
Code cleaned up

11 years agoAdded commands for read values from DIN and MOUT ports
Michal Horn [Thu, 30 Aug 2012 13:35:28 +0000 (15:35 +0200)]
Added commands for read values from DIN and MOUT ports
for set values to MOUT port

Note that MOUTx_EN pins are set with pull up resitor!
DIN pins are set with pull down resistor!

11 years agoAdded support for ADC
Michal Horn [Tue, 28 Aug 2012 12:33:20 +0000 (14:33 +0200)]
Added support for ADC
ADC Read values
ADC test connection fitness

11 years agoAdded support for CAN using interrupts
Michal Horn [Tue, 14 Aug 2012 12:13:36 +0000 (14:13 +0200)]
Added support for CAN using interrupts
Added first version of command CANLOOPBACKTEST

11 years agoSet sending to queue in print as blocking
Michal Horn [Tue, 14 Aug 2012 09:11:35 +0000 (11:11 +0200)]
Set sending to queue in print as blocking

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.