Mailing List flyrotary@lancaironline.net Message #65901
From: Stephen Izett stephen.izett@gmail.com <flyrotary@lancaironline.net>
Subject: Re: [FlyRotary] Re: EC3 software for Renesis RX-8/LS2 coils fixed and uploaded
Date: Sun, 21 Jun 2020 09:32:50 +0800
To: Rotary motors in aircraft <flyrotary@lancaironline.net>
Good call Finn.
Yes, if someone is able to send us their PIC chips.

I was thinking burn two new chips and sending it to the recipient and they replace their A processor and trial with B as the backup old settings.
When they are comfortable that all is good they can replace the B processor.
Does mean they need to retune.

Steve Izett

`

> On 21 Jun 2020, at 8:32 am, Finn Lassen finn.lassen@verizon.net <flyrotary@lancaironline.net> wrote:
>
> Well, maybe not.
>
> Do you have a way to read the program memory in your chip(s)? Like PICKit2, PICKit3 or meLabs U2 and 44-pin PLCC socket adapter.
>
> The only difference between the files resulting from compiling the source code (only difference being LS1 and LS2) is a couple of bytes in a 21KB big hex file:
> :100F800003D0782FF8D712003B693C691200420E5B
> :100F800003D0782FF8D712003B693C691200070E96
>
> So, if you could send me the HEX file from the chip program memory read, it would be easy to see if the LS1 version match what my compiler outputs and, if so, to reprogram just the two bytes in your chip. That would probably be the easiest because you wouldn't have to re-tune as you would with a brand new chip being programmed.
>
> But the program difference between LS1 and LS2 coils is only 0.3ms dwell time.
> LS1: 4.3ms
> LS2: 4.0ms
>
> So with your EC3, your LS2 coils are being charged about 8% longer than perhaps desired. Slightly higher current draws to the coils, but more energy to the plugs.
>
> Probably doesn't amount to a hill of beans.
>
> BTW, the above numbers are target numbers. On a scope you'll see it vary a bit.
>
> I was just being stubborn and wanted find out why it didn't work with the LS2 programming for RX-8 engine type and fix the programming source code. Just call me a nerd.
>
> Finn
>
> On 6/20/2020 1:08 PM, Bobby J. Hughes bhughes@qnsi.net wrote:
>> Finn,
>>  
>> Copying the configuration make a lot of since. My EC3 was programmed for LS1 coils but I was using LS2 coils for the last 100 + hours. That’s one variable I would like to change. No double the effort would be very time consuming.  
>>  
>> Bobby
>>  
>>  
>>  
>>  
>> From: Rotary motors in aircraft [mailto:flyrotary@lancaironline.net]
>> Sent: Thursday, June 18, 2020 12:10 PM
>> To: Rotary motors in aircraft
>> Subject: [FlyRotary] Re: EC3 software for Renesis RX-8/LS2 coils fixed and uploaded
>>  
>> Hi Bobby,
>>
>> Actually Tracy does have a few new EC3 boards. I didn't ask how many.
>>
>> The hot question really is how big is the demand (quantity)?
>>
>> I probably have enough data from him (schematics, parts lists, PCB layout) to get a production run done.
>>
>> Tracy is serious about having retired. I was really, really lucky to get his help.
>>
>> I think a big reason for his decision to retire is to have time to enjoy life. I think the majority of his time before his retirement was spent on support (phone, emails).
>>
>> He really has no economic incentive to come out of retirement.
>>
>> So while we could get a production run done, I doubt anyone would be willing to spend time on support -- certainly not for new installations. Also the variety of engines, accessories and specialized programming for some installations would make it a nightmare to program the chips. Solution for that would probably be to read the working chips for your installation and then program the new chips with that, but then some would not get the latest features (closed loop, auto program using EC3 w/o EM).
>>
>> I thought I might take it on, but having second thoughts :)
>>
>> Will probably be a few days before I'm ready to roll the fuselage out of the hangar and do engine runs.
>>
>> Finn
>>
>> On 6/18/2020 10:18 AM, Bobby J. Hughes bhughes@qnsi.net wrote:
>> Thanks Finn. I downloaded the files and notes. Once you are confident the hardware and software works properly we might consider a onetime production run of EC3’s for existing EC2/3 owners. I would like to have a tested spare available. It would likely take Tracy’s involvement to facilitate the board build or at least provided the suppler information and proper Rev number.
>>  
>> I really appreciate the work you, Steve Izett and Steve B. are doing.
>>  
>> Bobby
>>  
>> From: Rotary motors in aircraft [mailto:flyrotary@lancaironline.net]
>> Sent: Wednesday, June 17, 2020 6:11 PM
>> To: Rotary motors in aircraft
>> Subject: [FlyRotary] EC3 software for Renesis RX-8/LS2 coils fixed and uploaded
>>  
>> Here it is:
>> https://drive.google.com/drive/folders/1mVzPOxUwcGUlPizxnRF40nUyKBzfT4DC?usp=sharing
>> It's EC3closedloop.zip.
>>
>> You may want to grab it now in case Google decides to close my account :)
>>
>> You can program the 18F452 chips directly using the EC3CL8.HEX file, or open EC3ClosedLoop.mcp in MPLAB IDE, compile and program. This is for RX-8 (EC3 engine type A8), LS2 coils (D585), large secondary injectors, default is wide band O2 sensor.
>>
>> Turns out Tracy has never programmed or delivered an EC3 for Renesis with LS2 coils.
>> Software was missing code to load LS2 coils dwell time.
>>
>> I added Steve's code for configuration bits so don't have to remember what to set them to when programming.
>> I set all protection bits to zero to avoid any chip reprogramming troubles, but you could change to:
>>
>>
>> ; CONFIG6L
>>   CONFIG  WRT0 = ON             ; Write Protection bit (Block 0 (000200-001FFFh) write protected)
>> Finn
>>
>> ENG            EQU    0xA8      ;PUT ENGINE TYPE CODE HERE AND CHECK **** ALL **** FLAGS BELOW!!!!!!!!!!!!!!!!!  
>>
>> N109TC        EQU 0x00    ;N109TC USES A DIFFERENT assignment of coil drivers  CLEAR for ALL except N109TC !!!!! and KERMIT unit   20B controllers
>>
>> DIAG        EQU 0x00        ;DIAG ==1 ALLOWS DIAGNOSTIC USE OF 02H&L
>>
>> ;  *****************     CHECK ALL FLAGS BEFORE PROGRAM MING CHIPS  !!!!!   **************************************************
>>
>> ;   ***************    DWELL TIME FLAGS   *SET ONLY ONE*      ***********************************************
>>
>> 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'20'        ;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.
>> TEMPSENSOR    EQU    0x00        ;0 = THERMISTOR, 1 = LM34
>> MAPSENSOR    EQU    0x00        ;0 = MPX4250 SENSOR, 1 = MPX4115 (EARLIER VERSION OF EC2 ONLY)
>> BUSENSOR    EQU    0x00        ;0 = NO BACKUP SENSOR, 1 = BACKUP INSTALLED (0xA8,0xA9,AB,AD,B1,B2,B4 0-200 ENGINE ONLY)
>> BREW        EQU    0x00        ;0 = SET TO 1 FOR 3RD GEN 13BREW ENGINES :  COMPENSATES FOR 5 DEG EARLIER 3RD GEN TIMING OF CAS
>> ONEINJ        EQU    0x00        ;0 = NORMAL 2 INJECTOR PER ROTOR  1 = 1 INJ PER ROTOR  (NOT RECOMMENDED)
>> CONT        EQU    0x00        ;0 = NORMAL 0xA9 ENGINE, 1 = CONTINENTAL/Lyc VARIENT (also sets bu at 18 geg before primary)
>> EMT            EQU    0x00        ;0 = A9 W/ TRIG @ 6 DEG ATDC   1 = TDC @ TOOTH 11 (ELECTROMOTIVE TIMING SPEC) also sets BU at 180 deg
>> A72007        EQU    0x00        ;0 = PRE 2005 SUBE EJ25   1 = 2005 OR LATER EJ25 W/ RX-8 TYPE CAS          
>> WTF         EQU 0x00        ;0 = normal version  1 = BRAT  - AKA - WhatTheFuck project version with transmission control functions        
>>
>> TBINJ        EQU    0x00        ;1= THROTTLE BODY INJECTION FLAG
>> LS2_60_2    EQU    0x00        ;1= LS2 ENGINE EQUIPPED W/60-2 TOOTH TRIGGER WHEEL  (USE ENG CODE 0xAB)
>>  
>>
>> Disclaimer
>>
>> The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
>>
>> This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more Click Here.
>>
>>  
>>
>
>
>

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