X-Junk-Score: 0 [] X-Cloudmark-Score: 0 [] X-Cloudmark-Analysis: v=2.3 cv=PNVxBsiC c=1 sm=1 tr=0 a=IXpGHX60YBnh6qP2bfOz8A==:117 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=dq6fvYVFJ5YA:10 a=hrdC1p5twJAA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=pGLkceISAAAA:8 a=o1OHuDzbAAAA:8 a=Ia-xEzejAAAA:8 a=XYAwZIGsAAAA:8 a=pjdaNNIBAAAA:8 a=7g1VtSJxAAAA:8 a=UCpfWAG9dXA5I1M2UwYA:9 a=QEXdDO2ut3YA:10 a=Qa1je4BO31QA:10 a=gvSQh4r-fQ0A:10 a=4PR2P7QzAAAA:8 a=AhVyLCIHz1d1tbpJ7nMA:9 a=TerGJmVNI01oQtzw:21 a=_W_S_7VecoQA:10 a=5YQ6H4ZxyGn-KoBYtt8s:22 a=Urk15JJjZg1Xo0ryW_k8:22 a=E8ToXWR_bxluHZ7gmE-Z:22 a=grOzbf7U_OpcSX4AJOnl:22 a=4dqwQCo7Po2mVW515mGf:22 From: "Finn Lassen finn.lassen@verizon.net" Received: from sonic311-15.consmr.mail.bf2.yahoo.com ([74.6.131.125] verified) by logan.com (CommuniGate Pro SMTP 6.2.13) with ESMTPS id 12725228 for flyrotary@lancaironline.net; Sun, 30 Jun 2019 21:40:27 -0400 Received-SPF: pass receiver=logan.com; client-ip=74.6.131.125; envelope-from=finn.lassen@verizon.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verizon.net; s=a2048; t=1561945211; bh=6d+C3hoWsAsGrhHmZaHtR5eVFLiPcEoyPs3IVDjLE/g=; h=Subject:To:References:From:Date:In-Reply-To:From:Subject; b=OElmFrgqizy0KFH67NRPeEdeamVbOx6czXfy4HzDAexA0ttt+mz0sSGhGvgOVwXc/tJtdZ65ONFp2u5EK+B/8STtZ8ppykD5tN2OwT0vZWJLguLgc+XIAktQaPkTcDldJASUQTlTgmTrgsxpckFTEs8WLuE2VCPZ0hMRUeLjHkPDuozrrVlq/T4dzEF9T/SPO/d8XL1e8n1UZdg4wXHlvq1YOuMF8I8MVTq/O4DqAgn+iiltvx+fC48WnoE188Q0mD2FuQSWyM6hNA8w2GAb5C4I71PgtT8O9f04iGnZVETS68ai0yEa2jmtes9M8NFtzOZ3DBXoOuGa45RxFChOsA== X-YMail-OSG: _1S.6NIVM1kvCrd6VLiEbsXQD4FGV_Rej6lM9lltIf3YXr7DI4YYDYi.qcBAhbI 2LAkOa.E3TfBrX6_qCfPUM0frOBe7fkFU6fmDJd7J3IBUPOAqPM8qyrmAV3RbssbsfBQ2FXxfORC bk6PiCdqOBwn6.CyT_trRGSq_Nl7YJRb.gCThGFNtyQSzo9e1KcmGh1jF2FN6_gEAnKj5fKQvQYw dkxqs2co364BBYMFTMaOo.6ePRrwDwgYKjG_RbDl8iMu7n83PFjFwl7E.A3aValovDsgq3JVBUFw colkgt32gwDj1XAcRRrvMBKDkz295Az97vesW1mF_aYhwUjf8KE084AfZHuazHIgK_LEvnINQidu S60KgCkU_LImMliWvSN.FEBCRw2Rnofk2lCtWZxJmLa2o_gDsE4fJQGnWiLOqUQ8EWLj0KVOqpl6 OU659h6e4VmG6pzMEGQdjYERWbF.tXP9zXzMlhPbBoKpdKBUo0yO85YE30dgdzS1q.Xfx07FzZkm eIyTqeASeXcgFrJjxgzOuM4SIPWYvGWYPIM2SCt20Swpw_EARlMKq7F4Ar7Xvf6MDhlixcOKvIoa _TRPW.nPIKCRBJ8FepF9gORpZTdC.cC1sHHPHM2.hJjuHcztRwZqvvjTJtWPKpuUzeR8GQ9a4Pxt FxYiIFjRDHe42jdKghpFP8MkuAzcB3c8u8P8GtulEEQrQ18oMLfFabY3LPEF0eiZnh25VD8x5hb8 OQYqHLbtgzdfhnhacaHVCtYArqFL1VLRUjHErLgoPLDxnDkd03d6.3RyMLqEN01WD5SGk40WKFpx .XW7.nsRVwLr3GKRff0Q1y.1zShHknb8QsJlus1OrQdk9gZ4A_jYtqR1J.M3XY0OjPxxg7jDRjes N0YT5JMo0MR0PCDM.jb9cVA5RD_lHTUEmZf.ZGcqBIMVBpQRI7pIHCdYYBkW1c187vLcXvH5bhy9 MUzkE5MLfKqk3i9ngvB3fPY485KaOrAS4gvu6vHOPL57SBVw8xnux8iz7nTai4_VKrzcKcVJaAXl gQg__gjKk3Zij70AyEBM1t9GZsTY01z0DK88KQzjnrQBuTtOmMQtx.e1Qi5.Xcnyuv5ZgBbviwbF ffSRuWjuWH0qXmgk5.sDHuUIKSeLB2.h3Nly0tlJWblXQ2L7S60XvE.V5ezICzpmn7BWlOqTIXFA IACTXWz8V95ecUFBNX70_z01cC6R446SWQMw6SucpoeduCgkPMeb4MQboENSq5UHJtlD_Jm1bqw- - Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.bf2.yahoo.com with HTTP; Mon, 1 Jul 2019 01:40:11 +0000 Received: by smtp413.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID abe1082977d0e2c098f43b19cce898f6; Mon, 01 Jul 2019 01:40:04 +0000 (UTC) Subject: Re: [FlyRotary] Re: EC3 software To: Rotary motors in aircraft References: Message-ID: <19a7ce96-e589-cb91-43be-f0fc86e4dac1@verizon.net> Date: Sun, 30 Jun 2019 21:40:02 -0400 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------3373C7EB8932A3A9E46459CC" Content-Language: en-US This is a multi-part message in MIME format. --------------3373C7EB8932A3A9E46459CC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi Steve, If you still have that MPLABS installed, please let me know the version. All I know is that Tracy said /he/ could not get it to work with more recent version of MPLABS. I guess it was easier for him to revert to MPLABS 8.15 rather than figure out how to get it to work with newer version of MPLABS. I think he's using the "hockey puck" MicroChip programmer/ICE (ICD 2 or 3?) No clue why Tracy upgraded to the 18F452. Faster? More memory? Finn On 6/30/2019 7:13 PM, Stephen Izett stephen.izett@gmail.com wrote: > Hi Finn > > I used the PICkit 3 for the EC2 code no problem (can???t remember the version of MPLABS) and thought the EC3 was more recent! > Why did Tracy change chips? > > Steve > > >> On 1 Jul 2019, at 5:45 am, Finn Lassen finn.lassen@verizon.net wrote: >> >> Well, I had purchased the PICKit 3 and finally downloaded MPLAB 8.15. >> Unfortunately the PICKit 3 is not a programmer option in MPLABS 8.15. >> >> Did you you run into this and solve it? >> >> I could: >> 1) Keep downloading and install more and more recent versions of MPLAB until PICKit3 appears as a programmer option (and hope that the version still works with Tracy's code) >> or >> 2) Purchase a PICKit2 >> >> Finn >> >> On 6/23/2019 10:07 AM, Stephen Izett stephen.izett@gmail.com wrote: >>> Thanks very much Finn. >>> I just received this message. Not sure why it was delayed. >>> >>> Cheers >>> >>> Steve Izett >>> >>>> On 21 Jun 2019, at 3:04 am, Finn Lassen finn.lassen@verizon.net wrote: >>>> >>>> I can now confirm that Tracy uses (used) MPLABS version 8.15 >>>> >>>> Attached are the chip configuration settings. In MPLABS, pick the settings listed on the right. Most are MPLABS defaults for the 18F452 chip, but a few need to be changed. >>>> >>>> As for Sam's, Tracy did extensive modifications for Sam'scontroller that he now regrets having done. Sam would really, really be better off with a pair (for redundancy) of SpeedUino boards. Program them for a 4 cylinder Subaru and go from there. (What might be happening with the EC3 is that it has a startup timing setting and a running timing setting. That big bore Continental may have one cylinder firing that swings the prop around at a speed that fools the controller into thinking that the engine is running and switch to running (advanced) ignition; but the engine didn't start and now the next spark comes too early. Why Sam didn't experience that until recently I don't know. Maybe he used to start on mags?) >>>> >>>> Finn >>>> >>>> On 6/16/2019 7:16 PM, Stephen Izett stephen.izett@gmail.com wrote: >>>>> Hi Fin. >>>>> >>>>> No your right in relation to removing the chips and creating a programming socket. To easy really. >>>>> And yes, the config of the chips many options which I don???t think are in the code itself unless Ive missed something. >>>>> >>>>> Steve >>>>> >>>>> >>>>> >>>>> >>>>>> On 16 Jun 2019, at 11:24 pm, Finn Lassen finn.lassen@verizon.net wrote: >>>>>> >>>>>> Are these not the EQU statements in the code that you uncomment by removing the ";" in front of the one you want? >>>>>> >>>>>> Oh, config for the particular chip used? >>>>>> >>>>>> Again, I'm not (yet) familiar with the development and compiler to know what's required. >>>>>> >>>>>> I don't understand what's so difficult about removing the chips from the board and programming them in a $7 socket connected to the 4 or so programming wires from the PICKit3. >>>>>> >>>>>> Finn >>>>>> >>>>>> On 6/16/2019 3:50 AM, Stephen Izett stephen.izett@gmail.com wrote: >>>>>>> Thanks Finn. >>>>>>> Thats disappointing to hear. >>>>>>> I still may need to reprogram mine for (turbo or change in coils) so I???ll be interested in what others find. >>>>>>> I may need to go back to my EC2 which I can reprogram. >>>>>>> >>>>>>> I don???t understand the config settings coming out of compiling the code. >>>>>>> Tracy previously provided the following config for the EC2 >>>>>>> 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 >>>>>>> >>>>>>> Not sure how you would create the executable without these config data for the compiler. >>>>>>> >>>>>>> Cheers >>>>>>> >>>>>>> Steve >>>>>>> >>>>>>> >>>>>>> >>>>>>>> On 16 Jun 2019, at 2:03 pm, Sam Hoskins sam.hoskins@gmail.com wrote: >>>>>>>> >>>>>>>> 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 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 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 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 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 wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> See pdf of an EC2 circuit board showing in-circuit programming headers. The EC3 will be similar. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On 11 Jun 2019, at 9:10 pm, Finn Lassen finn.lassen@verizon.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 >>>>>>> -- >>>>>>> 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 > --------------3373C7EB8932A3A9E46459CC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
Hi Steve,

If you still have that MPLABS installed, please let me know the version. All I know is that Tracy said he could not get it to work with more recent version of MPLABS. I guess it was easier for him to revert to MPLABS 8.15 rather than figure out how to get it to work with newer version of MPLABS. I think he's using the "hockey puck" MicroChip programmer/ICE (ICD 2 or 3?)

No clue why Tracy upgraded to the 18F452. Faster? More memory?

Finn



On 6/30/2019 7:13 PM, Stephen Izett stephen.izett@gmail.com wrote:
Hi Finn

I used the PICkit 3 for the EC2 code no problem (can???t remember the version of MPLABS) and thought the EC3 was more recent!
Why did Tracy change chips?

Steve


On 1 Jul 2019, at 5:45 am, Finn Lassen finn.lassen@verizon.net <flyrotary@lancaironline.net> wrote:

Well, I had purchased the PICKit 3 and finally downloaded MPLAB 8.15.
Unfortunately the PICKit 3 is not a programmer option in MPLABS 8.15.

Did you you run into this and solve it?

I could:
1) Keep downloading and install more and more recent versions of MPLAB until PICKit3 appears as a programmer option (and hope that the version still works with Tracy's code)
or
2) Purchase a PICKit2

Finn

On 6/23/2019 10:07 AM, Stephen Izett stephen.izett@gmail.com wrote:
Thanks very much Finn.
I just received this message. Not sure why it was delayed.

Cheers

Steve Izett

On 21 Jun 2019, at 3:04 am, Finn Lassen finn.lassen@verizon.net <flyrotary@lancaironline.net> wrote:

I can now confirm that Tracy uses (used) MPLABS version 8.15

Attached are the chip configuration settings. In MPLABS, pick the settings listed on the right. Most are MPLABS defaults for the 18F452 chip, but a few need to be changed.

As for Sam's, Tracy did extensive modifications for Sam'scontroller that he now regrets having done. Sam would really, really be better off with a pair (for redundancy) of SpeedUino boards. Program them for a 4 cylinder Subaru and go from there. (What might be happening with the EC3 is that it has a startup timing setting and a running timing setting. That big bore Continental may have one cylinder firing that swings the prop around at a speed that fools the controller into thinking that the engine is running and switch to running (advanced) ignition; but the engine didn't start and now the next spark comes too early. Why Sam didn't experience that until recently I don't know. Maybe he used to start on mags?)

Finn

On 6/16/2019 7:16 PM, Stephen Izett stephen.izett@gmail.com wrote:
Hi Fin.

No your right in relation to removing the chips and creating a programming socket. To easy really.
And yes, the config of the chips many options which I don???t think are in the code itself unless Ive missed something.

Steve




On 16 Jun 2019, at 11:24 pm, Finn Lassen finn.lassen@verizon.net <flyrotary@lancaironline.net> wrote:

Are these not the EQU statements in the code that you uncomment by removing the ";" in front of the one you want?

Oh, config for the particular chip used?

Again, I'm not (yet) familiar with the development and compiler to know what's required.

I don't understand what's so difficult about removing the chips from the board and programming them in a $7 socket connected to the 4 or so programming wires from the PICKit3.

Finn

On 6/16/2019 3:50 AM, Stephen Izett stephen.izett@gmail.com wrote:
Thanks Finn.
Thats disappointing to hear.
I still may need to reprogram mine for (turbo or change in coils) so I???ll be interested in what others find.
I may need to go back to my EC2 which I can reprogram.

I don???t understand the config settings coming out of compiling the code.
Tracy previously provided the following config for the EC2
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

Not sure how you would create the executable without these config data for the compiler.

Cheers

Steve



On 16 Jun 2019, at 2:03 pm, Sam Hoskins sam.hoskins@gmail.com <flyrotary@lancaironline.net> wrote:

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
--
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

<Config_bits.TXT>--
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


--------------3373C7EB8932A3A9E46459CC--