X-Junk-Score: 0 [] X-Cloudmark-Score: 0 [] X-Cloudmark-Analysis: v=2.3 cv=PNVxBsiC c=1 sm=1 tr=0 a=LooQsbCaLIKE2avGtE29Sg==:117 a=gOGt4PCi/lwEK6J26MT3qQ==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=CKeqCrOqW6IA:10 a=dq6fvYVFJ5YA:10 a=o1OHuDzbAAAA:8 a=Ia-xEzejAAAA:8 a=pGLkceISAAAA:8 a=XYAwZIGsAAAA:8 a=pjdaNNIBAAAA:8 a=7g1VtSJxAAAA:8 a=ehZdP6cHM8P5HNOMShkA:9 a=QEXdDO2ut3YA:10 a=Qa1je4BO31QA:10 a=gvSQh4r-fQ0A:10 a=5YQ6H4ZxyGn-KoBYtt8s:22 a=Urk15JJjZg1Xo0ryW_k8:22 a=E8ToXWR_bxluHZ7gmE-Z:22 a=grOzbf7U_OpcSX4AJOnl:22 From: "Stephen Izett stephen.izett@gmail.com" Received: from mail-pg1-f180.google.com ([209.85.215.180] verified) by logan.com (CommuniGate Pro SMTP 6.2.13) with ESMTPS id 12725085 for flyrotary@lancaironline.net; Sun, 30 Jun 2019 19:14:11 -0400 Received-SPF: pass receiver=logan.com; client-ip=209.85.215.180; envelope-from=stephen.izett@gmail.com Received: by mail-pg1-f180.google.com with SMTP id i8so1854609pgm.13 for ; Sun, 30 Jun 2019 16:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=u0e1EiLfcoOW9Ue+WHHgR3g+PmJpLNk67Mc4TU1MULk=; b=TdRiEZQj9FJ47eCTvvGfeVblC7M7gpNwADWoaoX5Ocpj7siHakYqLKlHtMyAvyHA4c 9BU22u7XqRmObjTH7oW9GlrJBnm+pW1WEPLBrcVM0YU9pSXBoriCRCxLz7SFEDFgfb/p Vtgi/RwIwDiRb3tIK5ksORhn4CGS9kot6e/zP1GcfOILjlycv8jgObYV+kBphJR/LF4r SzexFv1Zu/92qmiS9/Ox28B1+efS9ZB/E75TmQSynQP+D0FAqBMzkGrHQ67hGCSxbtnw be0R6bCPacMnzzDj6tczi4cHrdFtdBimL3nYb5d8OBZ4VrcBXOSWMDJOk+HgkZEPyOyY 2cPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=u0e1EiLfcoOW9Ue+WHHgR3g+PmJpLNk67Mc4TU1MULk=; b=F84CQ7xeaR8QT6Kd07D+n+6LOOjg9qHnWpEthqAiyX/PuHJrm1Ed3+BUdTAbSkk0HP UGO6uXZ1Sq2TdnTVskErhTKB4icZePrnsSQ/UZ/l2wf76k+PGZWAqpKFSWeyeTwvh8Jr tnincIQM1q157GzSAx0BwWPTXWkVCuDBBjnmEfWoJuTKfZAE1wXCTC24v7oXy32k5QoC LYSvDQQ4gWYGcdh/Ve8gN7E8E6AE+N1R62JnhhFoNYktVXXxxkFP0ryIW36rgrholDKY bIcv1mBPkebiCt8ruyHV0Wjfpn2xf0MIft+u2Gt9jrg66N+kHFW7ixy9iS87UBNyufWP BNFg== X-Gm-Message-State: APjAAAVGVscIngI0EIffyzQbtJnI4zxwrPdTei0kYK+DJRgTgr/Q4BPT 80Wu2EDSPvm9N9bHjVy2SUPVdAP9 X-Google-Smtp-Source: APXvYqzGNwXB5JY3o0KqRf+CZW6+bFUGu0Xs0uyBxS3ezh7UzpJMIroUbpQjfAPbkcNMAeIo+dt9IA== X-Received: by 2002:a65:6406:: with SMTP id a6mr9012108pgv.393.1561936434337; Sun, 30 Jun 2019 16:13:54 -0700 (PDT) Return-Path: Received: from [172.20.10.2] ([120.16.90.213]) by smtp.gmail.com with ESMTPSA id v10sm8723557pfe.163.2019.06.30.16.13.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Jun 2019 16:13:53 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: [FlyRotary] Re: EC3 software Date: Mon, 1 Jul 2019 07:13:49 +0800 References: To: Rotary motors in aircraft In-Reply-To: Message-Id: <2DD670CF-F901-4952-9F4D-5AD850FA8C49@gmail.com> X-Mailer: Apple Mail (2.3445.102.3) Hi Finn I used the PICkit 3 for the EC2 code no problem (can=E2=80=99t 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: >=20 > 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. >=20 > Did you you run into this and solve it? >=20 > 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 >=20 > Finn >=20 > 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. >>=20 >> Cheers >>=20 >> Steve Izett >>=20 >>> On 21 Jun 2019, at 3:04 am, Finn Lassen finn.lassen@verizon.net = wrote: >>>=20 >>> I can now confirm that Tracy uses (used) MPLABS version 8.15 >>>=20 >>> 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. >>>=20 >>> 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?) >>>=20 >>> Finn >>>=20 >>> On 6/16/2019 7:16 PM, Stephen Izett stephen.izett@gmail.com wrote: >>>> Hi Fin. >>>>=20 >>>> 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. >>>>=20 >>>> Steve >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>> On 16 Jun 2019, at 11:24 pm, Finn Lassen finn.lassen@verizon.net = wrote: >>>>>=20 >>>>> Are these not the EQU statements in the code that you uncomment by = removing the ";" in front of the one you want? >>>>>=20 >>>>> Oh, config for the particular chip used? >>>>>=20 >>>>> Again, I'm not (yet) familiar with the development and compiler to = know what's required. >>>>>=20 >>>>> 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. >>>>>=20 >>>>> Finn >>>>>=20 >>>>> 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. >>>>>>=20 >>>>>> 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 >>>>>>=20 >>>>>> Not sure how you would create the executable without these config = data for the compiler. >>>>>>=20 >>>>>> Cheers >>>>>>=20 >>>>>> Steve >>>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>>> On 16 Jun 2019, at 2:03 pm, Sam Hoskins sam.hoskins@gmail.com = wrote: >>>>>>>=20 >>>>>>> Thank you Finn. >>>>>>>=20 >>>>>>> A lot of pieces still missing, but maybe there is still hope for = my system. >>>>>>>=20 >>>>>>>=20 >>>>>>> On Sun, Jun 16, 2019, 5:51 AM Finn Lassen = finn.lassen@verizon.net wrote: >>>>>>> Talked with Tracy today. >>>>>>>=20 >>>>>>> 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-archiv= e). >>>>>>> Need to confirm that the version that worked for him is indeed = 8.15 >>>>>>>=20 >>>>>>> The config file should be automatically generated first time you = compile >>>>>>> the code, unless he's forgotten something. >>>>>>>=20 >>>>>>> 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. >>>>>>>=20 >>>>>>> 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. >>>>>>>=20 >>>>>>> Regarding reading and understanding the code, remember that it = is >>>>>>> interrupt-driven and not just one long series of sequential = code. >>>>>>>=20 >>>>>>> I hope I've properly understood and relayed his comments here. >>>>>>>=20 >>>>>>> Finn >>>>>>>=20 >>>>>>> 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 >>>>>>>>=20 >>>>>>>>> On 15 Jun 2019, at 9:50 pm, Stephen Izett = stephen.izett@gmail.com wrote: >>>>>>>>>=20 >>>>>>>>> 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. >>>>>>>>>=20 >>>>>>>>> Steve >>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>>=20 >>>>>>>>>> On 15 Jun 2019, at 9:35 pm, Finn Lassen = finn.lassen@verizon.net wrote: >>>>>>>>>>=20 >>>>>>>>>> I thought I'd posted a picture of the EC3 on 12 June. >>>>>>>>>>=20 >>>>>>>>>> Trying again. >>>>>>>>>>=20 >>>>>>>>>> There are no header pins. >>>>>>>>>>=20 >>>>>>>>>> Finn >>>>>>>>>>=20 >>>>>>>>>> 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. >>>>>>>>>>>=20 >>>>>>>>>>> Have you looked inside your EC3? Are there 6 pin ICSP = headers for in circuit programming like he EC2? >>>>>>>>>>>=20 >>>>>>>>>>> Would like to hear from Tracy or someone else that has = experience programmed the EC3. >>>>>>>>>>> We also need the config data for the compiler. >>>>>>>>>>>=20 >>>>>>>>>>> Steve >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>>> On 15 Jun 2019, at 9:03 pm, Finn Lassen = finn.lassen@verizon.net wrote: >>>>>>>>>>>>=20 >>>>>>>>>>>> I hope that's not true. What makes you think that? >>>>>>>>>>>>=20 >>>>>>>>>>>> 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. >>>>>>>>>>>>=20 >>>>>>>>>>>> I still need to download MPLABS andget familiar with that, = but that's several weeks in the future. >>>>>>>>>>>>=20 >>>>>>>>>>>> Finn >>>>>>>>>>>> (Currently fighting with the RV-4 cowl and trying to = determine which radiator(s) and oil cooler to use.) >>>>>>>>>>>>=20 >>>>>>>>>>>>=20 >>>>>>>>>>>> On 6/15/2019 6:05 AM, Stephen Izett stephen.izett@gmail.com = wrote: >>>>>>>>>>>>> Hi Fin >>>>>>>>>>>>>=20 >>>>>>>>>>>>> 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. >>>>>>>>>>>>>=20 >>>>>>>>>>>>> Does anyone else have the details re programming the EC3 = etc. >>>>>>>>>>>>>=20 >>>>>>>>>>>>> Steve Izett >>>>>>>>>>>>>> On 11 Jun 2019, at 10:07 pm, Stephen Izett = stephen.izett@gmail.com wrote: >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> See pdf of an EC2 circuit board showing in-circuit = programming headers. The EC3 will be similar. >>>>>>>>>>>>>> >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>>> On 11 Jun 2019, at 9:10 pm, Finn Lassen = finn.lassen@verizon.net wrote: >>>>>>>>>>>>>>>=20 >>>>>>>>>>>>>>> Something like this? >>>>>>>>>>>>>>> = https://www.ebay.com/itm/PICKit3-Microchip-Programmer-w-USB-cable-wires-Pi= c-Kit-3-and-ICSP-Socket/391965539252?hash=3Ditem5b42f77bb4:g:je8AAOSw86JaY= 6CJ:sc:USPSFirstClass!32619!US!-1 >>>>>>>>>>>>>>>=20 >>>>>>>>>>>>>>> and this? >>>>>>>>>>>>>>> = https://www.ebay.com/itm/Plcc44-to-dip40-usb-universal-programmer-ic-adapt= er-tester-socket-LB/273846534119?_trkparms=3Daid%3D555018%26algo%3DPL.SIM%= 26ao%3D1%26asc%3D57921%26meid%3Db074d810b54f4576947055bf696657dc%26pid%3D1= 00005%26rk%3D4%26rkt%3D12%26sd%3D273856754141%26itm%3D273846534119&_trksid= =3Dp2047675.c100005.m1851 >>>>>>>>>>>>>>>=20 >>>>>>>>>>>>>>> What is a 6-way header? >>>>>>>>>>>>>>>=20 >>>>>>>>>>>>>>> I wonder if the above programmer will work with MPLabs = (a 744 MB download!) >>>>>>>>>>>>>>> = https://www.microchip.com/mplab/mplab-x-ide?gclid=3DCj0KCQjwov3nBRDFARIsAN= gsdoGRjNrAf5W07wtNtIBqL4MdFvN4apzRq5hhCoPP7bXzELwMPrM-RbQaAtixEALw_wcB >>>>>>>>>>>>>>>=20 >>>>>>>>>>>>>>> Finn >>>>>>>>>>>>>>>=20 >>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>=20 >>>>>>>>>>>> -- >>>>>>>>>>>> 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 >>>>>>>>>>>=20 >>>>>>>>>> -- >>>>>>>>>> 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 >>>>>>>>=20 >>>>>>> -- >>>>>>> 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 >>>>>>=20 >>>>> -- >>>>> 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 >>>>=20 >>> -- >>> Homepage: http://www.flyrotary.com/ >>> Archive and UnSub: = http://mail.lancaironline.net:81/lists/flyrotary/List.html >>=20 >> -- >> Homepage: http://www.flyrotary.com/ >> Archive and UnSub: = http://mail.lancaironline.net:81/lists/flyrotary/List.html >>=20 >=20 >=20 > -- > Homepage: http://www.flyrotary.com/ > Archive and UnSub: = http://mail.lancaironline.net:81/lists/flyrotary/List.html