Mailing List flyrotary@lancaironline.net Message #64883
From: Stephen Izett stephen.izett@gmail.com <flyrotary@lancaironline.net>
Subject: Re: [FlyRotary] Re: EC3 software
Date: Tue, 11 Jun 2019 12:26:39 +0800
To: Rotary motors in aircraft <flyrotary@lancaironline.net>
I use a PICkit 3 programmer which I imagine are about $50USD.
This plugs into the 6 way (from memory) headers along side of each of the pic processors.

So if you needed to change parameters, you would for example edit the various parameters in the .asm file -
Engine type - ENG EQU which for my Renesis engine is 0xA8
Coil Dwell - LS2COIL EQU which I’m using D585 coils
Injector size - LGSEC EQU
Wide or narrow band O2 - WIDEBAND EQU
Turbo - TURBO EQU

You then need to get the config right for the processors. For the EC2 it was:

Osc                             EC OSC2 as RA6
Osc Sw                       Disabled
Pwr Up timer              Enabled
Brown out                   Enabled
Brown out V.               2.7V
WDT                            Enabled
WDT Postscale          1:256
CCP2 MUX                 RC1
MCLR Enable            MCLR Disabled  RG5 Enable
Stack Ovf                    Enabled
LV Program                Disabled
All other protects  Except Config Write Protect       Disabled


Then you would run your assembler and linker creating your executable.

Then program chips.

Best if you can to get someone familiar with the environment to help you through.

Cheers

Steve Izett


> On 11 Jun 2019, at 11:28 am, Sam Hoskins sam.hoskins@gmail.com <flyrotary@lancaironline.net> wrote:
>
> Yes, that is what I'm looking for, but have limited skills but am willing to give a shot. Please keep us informed. My EC3 is set up for Continental engines.
>
> What hardware is used to connect to the chips?
>
> I will be out of the country until early July but will try and see as things progress here.
>
> On Mon, Jun 10, 2019, 8:58 PM Stephen Izett stephen.izett@gmail.com <flyrotary@lancaironline.net> wrote:
> Thanks Charlie for Finn’s address.
>
> Previously Ive used mplabs and a PICkit 3 to write updated code to an EC2.
> By updated code, I mean changing configuration settings in the code such as:
>
>
> RX8COIL         EQU     0x00            ;1= 2.6MS DWELL TIME  (RX-8 COIL)
> RX7COIL         EQU     0x00            ;1= 3.5MS DWELL TIME USED   (also used for A7 2007 option)
> LS1COIL         EQU     0x00            ;1= 4.3 MS DWELL USED
> HONDACOIL       EQU     0x00            ;1= 1.7 MS DWELL                        (A REALLY TINY COIL)
> LS2COIL         EQU     0x01            ;1= 4.0 MS DWELL
> TURBO           EQU     0x00            ;0 = NA, 1 = TURBO VERSION      (BIT 0 SET IN ECINFO IF TRUE)
> BFACTOR EQU     D'25'           ;BOOST RETARD FOR IGNITION TIMING  lower value = more boost retard (25 IS USED FOR MOST ROTARY 20 on 03-05-09,
> LGSEC           EQU     0x01            ;0 = PRI & SEC INJECTORS SAME SIZE  1 = LARGER SECONDARY INJECTORS (RENESIS 4 port)
> WIDEBAND        EQU     0x01            ;0 = NARROWBAND O2 SENSOR IN USE, 1 = WIDEBAND SENSOR IN USE.
> TEMPSENSO EQU           0x00                    ;0 = THERMISTOR, 1 = LM34
> MAPSENSOR       EQU     0x00            ;0 = MPX4250 SENSOR, 1 = MPX4115 (EARLIER VERSION OF EC2 ONLY)
> BUSENSOR        EQU     0x01            ;0 = NO BACKUP SENSOR, 1 = BACKUP INSTALLED (0xA9,AB,AD,B1,B2,B4 0-200 ENGINE ONLY)
>
> I’m now using an EC3 and was chasing the latest version of the code.
> I might put a turbo on it in the future so will want to update the TURBO EQU
>
> Cheers
>
> Steve Izett
> Perth Western Australia
>
>
>
> > On 11 Jun 2019, at 9:18 am, Finn Lassen finn.lassen@verizon.net <flyrotary@lancaironline.net> wrote:
> >
> > Hi Sam,
> >
> > I actually haven't figured that out yet.
> >
> > It's been decades since I did assembler programming. So I need to get a development system together for it.
> >
> > The source code can be read using any text editor.
> >
> > I think there is a free development studio downloadable from Microchip Technology for the 18F452 chip.
> > Maybe something like this:
> > https://sourceforge.net/projects/picsim/
> >
> > I also need to get a (flash) programmer interface (hardware) for it.
> >
> > I'll keep the list updated as I find out more. Others, please do the same.
> >
> > Finn
> >
> > On 6/10/2019 11:05 AM, Sam Hoskins sam.hoskins@gmail.com wrote:
> >> What do you need for an interface for reading and writing???
> >>
> >> On Fri, Jun 7, 2019, 11:47 AM Finn Lassen finn.lassen@verizon.net <flyrotary@lancaironline.net> wrote:
> >> If no reply from Tracy, I do have a copy.
> >>
> >> However, be warned that you'll probably have to read and understand all
> >> of the code before making any changes.
> >>
> >> He's currently playing with the SpeedUnio software and board and is very
> >> impressed with it, especially working together with TunerStudio. The
> >> software is open source and TunerStudio Pro has auto tuning enabled.
> >>
> >> Finn
> >>
> >> On 6/7/2019 10:37 AM, Stephen Izett stephen.izett@gmail.com wrote:
> >> > Hi there Tracy
> >> >
> >> > I seem to have lost your PM.
> >> >
> >> > Have you released the EC3 code. Could I have a copy please as I may need to reprogram for turbo.
> >> >
> >> > Thanks
> >> >
> >> > Steve Izett
> >> >
> >> >
> >> > --
> >> > Homepage:?? http://www.flyrotary.com/
> >> > Archive and UnSub:?? ??http://mail.lancaironline.net:81/lists/flyrotary/List.html
> >> >
> >>
> >>
> >> --
> >> Homepage:?? http://www.flyrotary.com/
> >> Archive and UnSub:?? ??http://mail.lancaironline.net:81/lists/flyrotary/List.html
> >
> >
>
>
> --
> Homepage:  http://www.flyrotary.com/
> Archive and UnSub:   http://mail.lancaironline.net:81/lists/flyrotary/List.html

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster