Mailing List flyrotary@lancaironline.net Message #64904
From: Sam Hoskins sam.hoskins@gmail.com <flyrotary@lancaironline.net>
Subject: Re: [FlyRotary] Re: EC3 software
Date: Sun, 16 Jun 2019 08:03:16 +0200
To: Rotary motors in aircraft <flyrotary@lancaironline.net>
Thank you Finn. 

A lot of pieces still missing, but maybe there is still hope for my system. 


On Sun, Jun 16, 2019, 5:51 AM Finn Lassen finn.lassen@verizon.net <flyrotary@lancaironline.net> wrote:
Talked with Tracy today.

Yes, programming pins are carried out to the DB connectors on the EC3.
However, there has been some instances where in-circuit programming
didn't go well (he never found out why), so he recommends programming
the chips removed from?? the board (for example using the socket I
ordered). He mentioned that he could not figure how to get it to work
with more recent versions of MPLABS and recommends version 8.15 or so
(should still be available on the Internet
https://www.microchip.com/development-tools/pic-and-dspic-downloads-archive).
Need to confirm that the version that worked for him is indeed 8.15

The config file should be automatically generated first time you compile
the code, unless he's forgotten something.

Problem with Sam's version is he's forgotten the mental notes about the
differences between the rotary and the big bore aircraft engines.
Basically the EC3 is now old technology (the 18F452 chip considered
obsolete) and recommends using readily available Arduino-based engine
controller boards.

Gave the example that even though the plans still exist , no one could
build a Saturn V rocket today, because the engineers and their notebooks
(mental and otherwise) on how to actually build it are gone.

Regarding reading and understanding the code, remember that it is
interrupt-driven and not just one long series of sequential code.

I hope I've properly understood and relayed his comments here.

Finn

On 6/15/2019 10:09 AM, Stephen Izett stephen.izett@gmail.com wrote:
> Hi Fin
> I see that on the J2 DB connector pins 1 and 11 are marked FACTORY USE ONLY.
> These maybe for programming.
> Steve
>
>> On 15 Jun 2019, at 9:50 pm, Stephen Izett stephen.izett@gmail.com <flyrotary@lancaironline.net> wrote:
>>
>> Hi Fin
>> Sorry. I missed your photo, but found it just now. Yes, appears no headers!
>> So we need a circuit diagram. Pins 16 &17 (PGD and PGC) of each processor would need to be accessed for in circuit programming me thinks.
>>
>> Steve
>>
>>
>>
>>> On 15 Jun 2019, at 9:35 pm, Finn Lassen finn.lassen@verizon.net <flyrotary@lancaironline.net> wrote:
>>>
>>> I thought I'd posted a picture of the EC3 on 12 June.
>>>
>>> Trying again.
>>>
>>> There are no header pins.
>>>
>>> Finn
>>>
>>> On 6/15/2019 9:28 AM, Stephen Izett stephen.izett@gmail.com wrote:
>>>> I only spent a few moments on it but the version of MPLABS I have didn't accept the PICkit3 for programming the
>>>> 18F452 processors which appears in Tracy???s notes as the EC3 processors.
>>>>
>>>> Have you looked inside your EC3? Are there 6 pin ICSP headers for in circuit programming like he EC2?
>>>>
>>>> Would like to hear from Tracy or someone else that has experience programmed the EC3.
>>>> We also need the config data for the compiler.
>>>>
>>>> Steve
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> On 15 Jun 2019, at 9:03 pm, Finn Lassen finn.lassen@verizon.net <flyrotary@lancaironline.net> wrote:
>>>>>
>>>>> I hope that's not true. What makes you think that?
>>>>>
>>>>> I just ordered https://www.ebay.com/itm/262583587324
>>>>> and https://www.ebay.com/itm/273846534119
>>>>> I figured I can connect the 6 wires directly to the DIP40 pins, bypassing the DIP40 socket.
>>>>>
>>>>> I still need to download MPLABS andget familiar with that, but that's several weeks in the future.
>>>>>
>>>>> Finn
>>>>> (Currently fighting with the RV-4 cowl and trying to determine which radiator(s) and oil cooler to use.)
>>>>>
>>>>>
>>>>> On 6/15/2019 6:05 AM, Stephen Izett stephen.izett@gmail.com wrote:
>>>>>> Hi Fin
>>>>>>
>>>>>> Ive spent a few moments looking at the EC3 code.
>>>>>> I???ve previously updated the settings of my EC2 using the method discussed previously, using MPLABS and a PICkit3,
>>>>>> however having looked at the EC3???s processor details I???m not sure if it can be programmed with a tool like the PICkit3.
>>>>>> I???ll need to look further into this.
>>>>>> I???m hoping Tracy might be able to enlighten us re programming the EC3 processors and the config settings required.
>>>>>>
>>>>>> Does anyone else have the details re programming the EC3 etc.
>>>>>>
>>>>>> Steve Izett
>>>>>>> On 11 Jun 2019, at 10:07 pm, Stephen Izett stephen.izett@gmail.com <flyrotary@lancaironline.net> wrote:
>>>>>>>
>>>>>>> See pdf of an EC2 circuit board showing in-circuit programming headers. The EC3 will be similar.
>>>>>>> <EC2 Board.pdf>
>>>>>>>
>>>>>>>> On 11 Jun 2019, at 9:10 pm, Finn Lassen finn.lassen@verizon.net <flyrotary@lancaironline.net> wrote:
>>>>>>>>
>>>>>>>> Something like this?
>>>>>>>> https://www.ebay.com/itm/PICKit3-Microchip-Programmer-w-USB-cable-wires-Pic-Kit-3-and-ICSP-Socket/391965539252?hash=item5b42f77bb4:g:je8AAOSw86JaY6CJ:sc:USPSFirstClass!32619!US!-1
>>>>>>>>
>>>>>>>> and this?
>>>>>>>> https://www.ebay.com/itm/Plcc44-to-dip40-usb-universal-programmer-ic-adapter-tester-socket-LB/273846534119?_trkparms=aid%3D555018%26algo%3DPL.SIM%26ao%3D1%26asc%3D57921%26meid%3Db074d810b54f4576947055bf696657dc%26pid%3D100005%26rk%3D4%26rkt%3D12%26sd%3D273856754141%26itm%3D273846534119&_trksid=p2047675.c100005.m1851
>>>>>>>>
>>>>>>>> What is a 6-way header?
>>>>>>>>
>>>>>>>> I wonder if the above programmer will work with MPLabs (a 744 MB download!)
>>>>>>>> https://www.microchip.com/mplab/mplab-x-ide?gclid=Cj0KCQjwov3nBRDFARIsANgsdoGRjNrAf5W07wtNtIBqL4MdFvN4apzRq5hhCoPP7bXzELwMPrM-RbQaAtixEALw_wcB
>>>>>>>>
>>>>>>>> Finn
>>>>>>>>
>>>>>>>> On 6/11/2019 12:26 AM, Stephen Izett stephen.izett@gmail.com wrote:
>>>>>>>>> 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.
>>>>>>>> --
>>>>>>>> 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
>>>>>>
>>>>> --
>>>>> 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
>>
>> --
>> 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