Received: from PCH.mit.edu (18.7.21.50) by mail.efplus.com (192.168.0.8) with Microsoft SMTP Server (TLS) id 8.3.485.1; Sun, 15 Nov 2020 14:34:12 -0800 Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 0AFMQVSm005677; Sun, 15 Nov 2020 17:26:54 -0500 Received: from outgoing-exchange-5.mit.edu (OUTGOING-EXCHANGE-5.MIT.EDU [18.9.28.59]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 0AFMQTwM005657 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 15 Nov 2020 17:26:29 -0500 Received: from w92exedge3.exchange.mit.edu (W92EXEDGE3.EXCHANGE.MIT.EDU [18.7.73.15]) by outgoing-exchange-5.mit.edu (8.14.7/8.12.4) with ESMTP id 0AFMQ7nP030677 for ; Sun, 15 Nov 2020 17:26:29 -0500 Received: from oc11expo15.exchange.mit.edu (18.9.4.20) by w92exedge3.exchange.mit.edu (18.7.73.15) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Sun, 15 Nov 2020 17:26:18 -0500 Received: from oc11exhyb5.exchange.mit.edu (18.9.1.110) by oc11expo15.exchange.mit.edu (18.9.4.20) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Sun, 15 Nov 2020 17:26:26 -0500 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.55) by oc11exhyb5.exchange.mit.edu (18.9.1.110) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Sun, 15 Nov 2020 17:26:26 -0500 Received: from DM5PR21CA0044.namprd21.prod.outlook.com (2603:10b6:3:ed::30) by MN2PR01MB5920.prod.exchangelabs.com (2603:10b6:208:195::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.25; Sun, 15 Nov 2020 22:26:23 +0000 Received: from DM6NAM11FT028.eop-nam11.prod.protection.outlook.com (2603:10b6:3:ed:cafe::22) by DM5PR21CA0044.outlook.office365.com (2603:10b6:3:ed::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.4 via Frontend Transport; Sun, 15 Nov 2020 22:26:23 +0000 Received: from mail-vk1-f180.google.com (209.85.221.180) by DM6NAM11FT028.mail.protection.outlook.com (10.13.173.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.28 via Frontend Transport; Sun, 15 Nov 2020 22:26:23 +0000 Received: by mail-vk1-f180.google.com with SMTP id b190so3343924vka.0 for ; Sun, 15 Nov 2020 14:26:22 -0800 (PST) From: Chris Roper To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Sun, 15 Nov 2020 14:25:39 -0800 Subject: Re: [PIC] An In-Circuit Serial Programmer application Thread-Topic: [PIC] An In-Circuit Serial Programmer application Thread-Index: Ada7n3Er6SNUqgSJTX6cPAvZxEyxQw== Message-ID: References: List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: Reply-To: Microcontroller discussion list - Public. Accept-Language: en-US X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: TS500.efplus4.local X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-SenderIdResult: Pass X-MS-Exchange-Organization-PRD: mit.edu X-MS-TNEF-Correlator: received-spf: Pass (protection.outlook.com: domain of gmail.com designates 209.85.221.180 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.221.180; helo=mail-vk1-f180.google.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Wf4EA9lGEJCYolnxDELo3xfNSCzm+0Lj7oYMWhO4nfQ=; b=Tg8DR0r0/0Sk98qS6XryhV874yX9Becc3pI888Y2Z/gzzVcepR4uL4cNKnmosQkUCT 9x2jktoVWYElJ3OePA1Rz3siogvF8ilktcxage0GU7OSi8ztjm8mcc4t6BzSJ03MDOQH mAHK4EszfqxJDrZ/oUxTogG1Y2Cb26b27QEIN4/jWPNNczgEHBF1Ez0Y3/KRkmLjat+z tX+UD3pp0AF1e2axA6sJcenf2xjmiHgpr9pisJJRfcGnf6riBu8/i3kVhisFxlM+7rn6 lRDkEyjmrl7WmeItz4DcBx8+Rf8L3tdU7kxZ2lmyc5fw+3HkYWdBvih9YcNmAXB3Li0e W5Tg== authentication-results: spf=pass (sender IP is 209.85.221.180) smtp.mailfrom=gmail.com; mit.edu; dkim=pass (signature was verified) header.d=gmail.com; mit.edu; dmarc=pass action=none header.from=gmail.com; errors-to: piclist-bounces@mit.edu list-id: "Microcontroller discussion list - Public." list-post: x-beenthere: piclist@mit.edu x-mailman-version: 2.1.6 x-received: by 2002:a1f:6a43:: with SMTP id f64mr1385214vkc.15.1605479181914; Sun, 15 Nov 2020 14:26:21 -0800 (PST) x-topics: [PIC] x-content-filtered-by: Mailman/MimeDel 2.1.6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Nice, but why not just use two Jumpers or a DPDT switch rather than add additional silicon? My preference with the more recent PIC's is to use PPS to assign the USART to those pins. I then use the PICKit as a terminal for debugging as well as a Programmer. The serial interface may even have a use in the target application. Have the serial interface use the same pin assignments as the ICSP and you have a nice 'Plug and Play' programming/debugging/communications port. On Sun, 15 Nov 2020 at 23:03, Don Kuenz wrote: > > This project shows how to implement an In-Circuit Serial > Programmer application. It utilizes the ICSP's 5 VDC > (Vdd) pin to toggle the PIC microcontroller between > application mode and programming mode. > > https://crcomp.net/icsp/index.php > > (Thank you In Advance to readers who alert me to typos and whatnot.) > > Danke, > > -- > Don, KB7RPU, https://www.qsl.net/kb7rpu > There was a young lady named Bright Whose speed was far faster than light= ; > She set out one day In a relative way And returned on the previous night. > > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .