Delivered-To: jake@vapourforge.com Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by mail.vapourforge.com (Postfix) with ESMTP id 0730ACFC0 for ; Fri, 23 Jul 2010 01:23:36 +1000 (EST) Received: from pch.mit.edu (pch.mit.edu [127.0.0.1]) by pch.mit.edu (8.13.6/8.12.8) with ESMTP id o6MFEKCO019929; Thu, 22 Jul 2010 11:14:25 -0400 Received: from mailhub-dmz-1.mit.edu (MAILHUB-DMZ-1.MIT.EDU [18.9.21.41]) by pch.mit.edu (8.13.6/8.12.8) with ESMTP id o6MFEIXk019919 for ; Thu, 22 Jul 2010 11:14:19 -0400 Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU [18.7.68.36]) by mailhub-dmz-1.mit.edu (8.13.8/8.9.2) with ESMTP id o6MFAIHh014729 for ; Thu, 22 Jul 2010 11:14:18 -0400 X-AuditID: 12074424-b7c35ae000000a07-bd-4c486049d12d Received: from nschwmtas01p.mx.bigpond.com (nschwmtas01p.mx.bigpond.com [61.9.189.137]) by dmz-mailsec-scanner-7.mit.edu (Symantec Brightmail Gateway) with SMTP id 50.F0.02567.A40684C4; Thu, 22 Jul 2010 11:14:19 -0400 (EDT) Received: from nschwotgx03p.mx.bigpond.com ([58.170.86.94]) by nschwmtas01p.mx.bigpond.com with ESMTP id <20100722151414.YEXV1369.nschwmtas01p.mx.bigpond.com@nschwotgx03p.mx.bigpond.com> for ; Thu, 22 Jul 2010 15:14:14 +0000 Received: from roger29qgfmb4o ([58.170.86.94]) by nschwotgx03p.mx.bigpond.com with SMTP id <20100722151413.SRWW16083.nschwotgx03p.mx.bigpond.com@roger29qgfmb4o> for ; Thu, 22 Jul 2010 15:14:13 +0000 Message-ID: <009001cb29b0$9607fd40$0100000a@roger29qgfmb4o> From: "Roger Weichert" To: "Microcontroller discussion list - Public." Subject: [EE] Faultfinding Z80 based circuits Date: Fri, 23 Jul 2010 00:44:31 +0930 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3664 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3664 X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A090203.4C486046.00C3,ss=1,fgs=0 X-SIH-MSG-ID: rx40EtT2TEKzkT0pgzCnQVUtlUy7/yU1v8pWRYIhuR8QUkfEud/WRdSqd7Mlmcv2rnsQJhiHLmAlaa3gV47VotuwILxr X-Brightmail-Tracker: AAAAAxVGevAVRuK1FUbjyA== X-Topics: [EE] X-BeenThere: piclist@mit.edu X-Mailman-Version: 2.1.6 Precedence: list Reply-To: "Microcontroller discussion list - Public." List-Id: "Microcontroller discussion list - Public." List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: piclist-bounces@MIT.EDU Errors-To: piclist-bounces@MIT.EDU Hi guys, I have a new question for today. I am working on a Z80 based system where the micro is not running properly. The device is a 25 year old RFID reader which has a Z80 CPU, PIO, SIO, CTC, eprom and ram ... a whole 2k of each :) .. plus a heap of additional basic circuitry. To get the 'why' question out of the way ... replacement units are US$3600 and I've fixed a dozen already, which helps pay the bills. Anyway, this one has a good supply, the clock signal is nice and clean, the Reset is not being held on ... and the only socketed device, the 2716 eprom is ok. The CRO shows signal on the data lines and the address lines (although not the same as a known good one), but nothing on the RD, IROQ, WR lines etc. The HALT and WAIT inputs are not being clamped. I do have a good one to compare with, and I do have a range of spare chips from my 'playing' 30 years ago, but I'm not all that keen to start replacing 40 pin chips willy nilly, especially seeing they're not in sockets. I vaguely recall a fault finding technique of programming an eprom with a nop? to make the cpu cycle around, but I dont know how useful that would be with all the other chips in circuit and not easily removeable. I can imagine a really useful diagnostic system by making up an eprom with an appropriate program in it, but I have no circuit of this thing to be able to work out just how each chip talks to each other Does anyone have any suggestions for techniques for narrowing down this sort of fault? Thanks. Regards, Roger -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist