View unanswered posts | View active topics It is currently Tue Sep 25, 2018 7:51 am



Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Andg support role 
Author Message
SOT-223 - Salvaje

Joined: Thu Apr 18, 2013 3:21 am
Posts: 144
Location: Portland OREGON
I decided to mp3 this because I just love andy http://www.youtube.com/watch?v=eGV5EnY03iw

Here's the post I'm so excited about

_________________
Code:
{url: andrewgauger.com, skype: andrgaug, email: andg@andrewgauger.com, car: 25, fb: facebook.com/DonatoArrighi, github: andg.github.io, assets:https://s3.amazonaws.com/3400}


Fri May 10, 2013 6:47 am
Profile WWW
SOT-223 - Salvaje

Joined: Thu Apr 18, 2013 3:21 am
Posts: 144
Location: Portland OREGON
Code:
andg:freeems-vanilla andg$ git branch
* master
andg:freeems-vanilla andg$ git checkout dev
error: pathspec 'dev' did not match any file(s) known to git.
andg:freeems-vanilla andg$ git checkout -b dev
Switched to a new branch 'dev'
andg:freeems-vanilla andg$ git pull origin dev
remote: Counting objects: 186, done.
remote: Compressing objects: 100% (113/113), done.
remote: Total 143 (delta 105), reused 51 (delta 18)
Receiving objects: 100% (143/143), 29.42 KiB, done.
Resolving deltas: 100% (105/105), completed with 38 local objects.
From https://github.com/fredcooke/freeems-vanilla
 * branch            dev        -> FETCH_HEAD
Updating b0cd375..dc9dcc3
Fast-forward
 .gitignore                                                |   7 ++-
 Makefile                                                  |   4 ++
 bin/testclibuilds.bash                                    |   4 +-
 docs/git/config                                           |  33 +-----------
 src/main/Makefile                                         |  20 ++++---
 src/main/data/tables/axis/Deuces3100-Load.h               |  56 ++++++++++++++++++++
 src/main/data/tables/axis/Deuces3100-RPM.h                |  62 ++++++++++++++++++++++
 src/main/data/tables/axis/ScavengersMiata-Load.h          |  54 +++++++++++++++++++
 src/main/data/tables/axis/ScavengersMiata-RPM.h           |  59 +++++++++++++++++++++
 src/main/data/tables/ign/DeucesS10Timing.h                |  51 ++++++++++++++++++
 src/main/data/tables/ign/ScavengerTiming24RPMx19Load.h    |  60 +++++++++++++++++++++
 src/main/data/tables/lambda/DeucesS10Lambda.h             |  61 +++++++++++++++++++++
 src/main/data/tables/lambda/ScavengerLambda24RPMx19Load.h |  60 +++++++++++++++++++++
 src/main/data/tables/ve/DeucesS10VE.h                     |  53 +++++++++++++++++++
 src/main/data/tables/ve/ScavengerVE24RPMx19Load.h         |  60 +++++++++++++++++++++
 src/main/decoderInterface.c                               |  16 +++++-
 src/main/decoders/EvenTeeth-Cam-4and1.c                   |  49 +++++++++++++++++
 src/main/decoders/GM-LT1-CAS-360and8.c                    |   9 +++-
 src/main/decoders/JSeries-12CrankWith6-2Cam.c             |  25 +++++----
 src/main/decoders/MitsiAndMazda-CAS-4and1.c               | 398 +++++++++++++-----------------------------------------------------------------------------------------------------------------------------
 src/main/decoders/MitsiAndMazda-CAS-4and2.c               | 282 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/main/decoders/code/EvenTeeth-Xand1.c                  |  10 +++-
 src/main/decoders/code/HallOrOptical-Distributor-XofY.c   |   6 +--
 src/main/decoders/code/MissingTeeth-Either-XminusY.c      |  13 ++++-
 src/main/decoders/inc/MitsiAndMazda-CAS-4and1.h           |   2 +-
 src/main/decoders/inc/MitsiAndMazda-CAS-4and2.h           |  83 +++++++++++++++++++++++++++++
 src/main/inc/FixedConfigs.h                               |   6 ++-
 src/main/inc/constantsLibrary.h                           |   5 ++
 src/main/inc/counterTypes.h                               |   6 +--
 src/main/inc/decoderInterface.h                           |  76 +++++++++++++++++----------
 src/main/inc/systemConfig.h                               |   9 ++++
 src/main/initialisers/CHTTransferTable.c                  |   4 ++
 src/main/initialisers/FixedConfig1.c                      |  47 ++++++++++++++++-
 src/main/initialisers/FixedConfig2.c                      |  31 +++++++++--
 src/main/initialisers/FuelTables.c                        |  37 ++++++++++++-
 src/main/initialisers/IATTransferTable.c                  |   2 +
 src/main/initialisers/TimingTables.c                      |  18 +++++++
 src/main/initialisers/TunableConfig.c                     |  18 ++++++-
 src/main/realtimeISRs.c                                   |   2 +-
 src/main/tableLookup.c                                    |  13 ++---
 40 files changed, 1334 insertions(+), 477 deletions(-)
 create mode 100644 src/main/data/tables/axis/Deuces3100-Load.h
 create mode 100644 src/main/data/tables/axis/Deuces3100-RPM.h
 create mode 100644 src/main/data/tables/axis/ScavengersMiata-Load.h
 create mode 100644 src/main/data/tables/axis/ScavengersMiata-RPM.h
 create mode 100644 src/main/data/tables/ign/DeucesS10Timing.h
 create mode 100644 src/main/data/tables/ign/ScavengerTiming24RPMx19Load.h
 create mode 100644 src/main/data/tables/lambda/DeucesS10Lambda.h
 create mode 100644 src/main/data/tables/lambda/ScavengerLambda24RPMx19Load.h
 create mode 100644 src/main/data/tables/ve/DeucesS10VE.h
 create mode 100644 src/main/data/tables/ve/ScavengerVE24RPMx19Load.h
 create mode 100644 src/main/decoders/EvenTeeth-Cam-4and1.c
 create mode 100644 src/main/decoders/MitsiAndMazda-CAS-4and2.c
 create mode 100644 src/main/decoders/inc/MitsiAndMazda-CAS-4and2.h

Just finished my c book and with a new understanding of structs I'm going to start to review the codebase again.

inc/freems.h wrote:
** @file
*
* @ingroup allHeaders
* @ingroup globalHeaders
*
* @brief The main project header file
*
* The central header for all source files to include. This pulls in the
* device header, all other shared headers, all global defines, all global
* constant declarations, all type definitions and all global variables. Other
* variables that are actually in global space but only shared between a few
* select files should be placed in the header for the main file that uses them.
*/


/inc/xgateglobal.h wrote:

/** @file
*
* @ingroup xgateFiles
*
* @brief C header for assembly xgate functions
*
* @author Sean Keys
*
* Because we need to call the assembly flash burning function from C code an
* extern function declaration is required to allow successful compilation.
*/

So funny the first thing I looked here. I next checked out the makefile. I'm also very interested in the EXTERN syntax.

_________________
Code:
{url: andrewgauger.com, skype: andrgaug, email: andg@andrewgauger.com, car: 25, fb: facebook.com/DonatoArrighi, github: andg.github.io, assets:https://s3.amazonaws.com/3400}


Fri May 17, 2013 3:14 am
Profile WWW
SOT-223 - Salvaje

Joined: Thu Apr 18, 2013 3:21 am
Posts: 144
Location: Portland OREGON
inc/EvenTeeth-Cam-6and1.c wrote:
/** @file
*
* @ingroup interruptHandlers
* @ingroup enginePositionRPMDecoders
*
* @brief For evenly spaced teeth on the camshaft with a single second input.
*
* This is suitable for engines such as the GM DIS Wasted Spark Ignition engines
* with 3x TACH output which would equal 3 teeth on the crank and equal for
* something with 6 on the cam. Sync is provided by the second input from the
* CAM 1x sensor allowing a sequential and/or COP/CNP setup to be used.
*
* @see EvenTeeth-Xand1.c
*/

This is the decoder that my Grand Am produces with the DIS that has the 7 signals in one rotation of the cam/crank? where there are 6 even signals and one off by 10 degrees. I'm offloading the processing of that signal into the 3x TACH.
decoders/inc/EvenTeeth-Xand1.h wrote:
/** @file
*
* @ingroup interruptHandlers
* @ingroup enginePositionRPMDecoders
*
* @brief For evenly spaced teeth on the cam or crank with a single second input.
*
* Fill out a data reverse header and include this file. Sync is provided by the
* second input allowing a sequential and/or COP/CNP setup to be used.
*
* VR edition with only one edge used!
*/

I will want a simple but close to the wasted spark implementation in the hardware. Match path through to processor. next to injection signals, as simple as possible.

_________________
Code:
{url: andrewgauger.com, skype: andrgaug, email: andg@andrewgauger.com, car: 25, fb: facebook.com/DonatoArrighi, github: andg.github.io, assets:https://s3.amazonaws.com/3400}


Fri May 17, 2013 3:40 am
Profile WWW
SOT-223 - Salvaje

Joined: Thu Apr 18, 2013 3:21 am
Posts: 144
Location: Portland OREGON
decoders/inc/EvenTeeth-Xand1.h wrote:
/** @file
*
* @ingroup interruptHandlers
* @ingroup enginePositionRPMDecoders
*
* @brief For evenly spaced teeth on the cam or crank with a single second input.
*
* Fill out a data reverse header and include this file. Sync is provided by the
* second input allowing a sequential and/or COP/CNP setup to be used.
*
* VR edition with only one edge used!
*/

#include "../../inc/decoderInterface.h"[/quote]hmm... it just looks awkward.
Code:
/** @file
 *
 * @ingroup allHeaders
 * @ingroup enginePositionRPMDecoders
 *
 * @brief Objects through which a decoder communicates.
 *
 * This file contains the declarations of objects used as a common interface
 * between all of the different wheel decoders and the main loop scheduler.
 */

I don't know what to say this is a pretty well laid out codebase. I can find stuff pretty easily. I think I just need to figure out how to implement a really simple hardware.

Looking at the Jaguar as a dev/bench board. Reviewing KiCAD drawing, trying to wrap my mind around the basics.

_________________
Code:
{url: andrewgauger.com, skype: andrgaug, email: andg@andrewgauger.com, car: 25, fb: facebook.com/DonatoArrighi, github: andg.github.io, assets:https://s3.amazonaws.com/3400}


Last edited by andg on Fri May 17, 2013 9:00 pm, edited 1 time in total.



Fri May 17, 2013 4:03 am
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15181
Location: Home sweet home!
andg wrote:
I'm also very interested in the EXTERN syntax.

http://issues.freeems.org/view.php?id=821

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Fri May 17, 2013 12:03 pm
Profile WWW
SOT-223 - Salvaje

Joined: Thu Apr 18, 2013 3:21 am
Posts: 144
Location: Portland OREGON
heh, thanks.

Additionally, at the advice of Sean, I started to learn Verilog. I've got the syntax editor in Sublime Text 2 and downloading Xilinx compiler to start to get a feel for the language.

_________________
Code:
{url: andrewgauger.com, skype: andrgaug, email: andg@andrewgauger.com, car: 25, fb: facebook.com/DonatoArrighi, github: andg.github.io, assets:https://s3.amazonaws.com/3400}


Fri May 17, 2013 6:40 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 16 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.