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:52:03 -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 0AFMiNY9007744; Sun, 15 Nov 2020 17:44:34 -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 0AFMiMfF007740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 15 Nov 2020 17:44:23 -0500 Received: from w92exedge4.exchange.mit.edu (W92EXEDGE4.EXCHANGE.MIT.EDU [18.7.73.16]) by outgoing-exchange-5.mit.edu (8.14.7/8.12.4) with ESMTP id 0AFMiMw4031903 for ; Sun, 15 Nov 2020 17:44:22 -0500 Received: from w92expo26.exchange.mit.edu (18.7.74.32) by w92exedge4.exchange.mit.edu (18.7.73.16) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Sun, 15 Nov 2020 17:44:13 -0500 Received: from oc11exhyb4.exchange.mit.edu (18.9.1.100) by w92expo26.exchange.mit.edu (18.7.74.32) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Sun, 15 Nov 2020 17:44:22 -0500 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.103) by oc11exhyb4.exchange.mit.edu (18.9.1.100) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Sun, 15 Nov 2020 17:44:21 -0500 Received: from DM6PR13CA0041.namprd13.prod.outlook.com (2603:10b6:5:134::18) by DM5PR01MB2603.prod.exchangelabs.com (2603:10b6:3:f4::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.28; Sun, 15 Nov 2020 22:44:20 +0000 Received: from DM6NAM11FT008.eop-nam11.prod.protection.outlook.com (2603:10b6:5:134:cafe::38) by DM6PR13CA0041.outlook.office365.com (2603:10b6:5:134::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.15 via Frontend Transport; Sun, 15 Nov 2020 22:44:20 +0000 Received: from mail-vs1-f53.google.com (209.85.217.53) by DM6NAM11FT008.mail.protection.outlook.com (10.13.172.85) 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:44:19 +0000 Received: by mail-vs1-f53.google.com with SMTP id u7so8179526vsq.11 for ; Sun, 15 Nov 2020 14:44:19 -0800 (PST) From: Chris Roper To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Sun, 15 Nov 2020 14:43:36 -0800 Subject: Re: [PIC] An In-Circuit Serial Programmer application Thread-Topic: [PIC] An In-Circuit Serial Programmer application Thread-Index: Ada7oe/E2OHkpHwkTx2u+TFROPVL+Q== 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.217.53 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.217.53; helo=mail-vs1-f53.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=ElxhwDpflirDheYJtzPGKfa4LRfIAyRb0t4nTZUgPu4=; b=DBcjV4XOKWxsXDANm0xFps0nObhuzOOsA5XrrT5oQZoPdXU5XtMmwdjMLCTlTgYxJZ wsaa6CQYsnAMFf7eF8EycDbFUM9Mw2zx1TK20KWC39VyDaRiynYaEOdSoChvW/Wyv9no aa+SQ6aZFV8OEiiZfwbwU5Vl/eMYtjHtljwrYvezQz/lwQvZ6R+h3NyyNoRpFvwW/+WV C/yv/EUnD6bxsmf3Thh5eJ/xxYgCYNdOb2yRgJ5yrssFOs+V0MpVlTlTWgR/arJmGW+a j2N/9YWpElHG5EOk0i9eXNBbqUwhXl5awKUQCZzKecbXBpqFdcNGEbcPhfKmvgHP1U9b 0o7w== authentication-results: spf=pass (sender IP is 209.85.217.53) 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:a67:ee0a:: with SMTP id f10mr3033187vsp.37.1605480258739; Sun, 15 Nov 2020 14:44:18 -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 P.S. - It also works well with a Bootloader. use the ICSP interface to install the TinyBootloader or an equivalent with the ICSP Dat and Clk lines set at the Rx and Tx lines and you have a nice development device with Programming, Debugging and Communications all achieved via a USB/Serial adapter - Great to hand out to students or use for casual experimenting as well as in target applications. Cheers Chris On Mon, 16 Nov 2020 at 00:25, Chris Roper wrote: > 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 USAR= T > 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 yo= u > 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 ligh= t; >> 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 .