In message <37FB7AA6F5F9814FB634A7BF4C35A6F5640AF1@ESEALNT442.al.sw.ericsson.se> "Jan-Erik Soderholm XA (TN/PAC)" wrote: > RB4/D6 is also connected to the Wisp, right ? Yes. > Are you sure that the LCD isn't trying to "drive" it's > "D6" pin ? It can be both input and output, doesn't it ? See below. > Isn't there also a R/W pin at the LCD ? How is that > connected ? Grounded. IOW, the LCD can only be written to. I've just programmed the chip again and Wisp can't read its device ID. This time the error is: XWisp 1.08, command line mode hardware: Wisp628 1.09 (fast) target can not be verified (ID reads 3F00 or FFFF), 16f628 assumed Traceback (most recent call last): File "/usr/local/bin/xwisp.py", line 3563, in ? XWisp_Main() File "/usr/local/bin/xwisp.py", line 3560, in XWisp_Main Wisp_Line().Interpret() File "/usr/local/bin/xwisp.py", line 3180, in Interpret self.Execute( Command ) File "/usr/local/bin/xwisp.py", line 3162, in Execute exec( 'self.CMD_' + Command.upper() + '()' ) File "", line 1, in ? File "/usr/local/bin/xwisp.py", line 2592, in CMD_GO self.Bus_Target.Erase() File "/usr/local/bin/xwisp.py", line 2277, in Erase self.Write( self.Type.Preserved.Image, Warn = 0 ) File "/usr/local/bin/xwisp.py", line 2159, in Write for Address in Image.Addresses(): AttributeError: 'NoneType' object has no attribute 'Addresses' If I swap the PIC, the Wisp can program it fine, but when I go to reprogram it, the output above appears. Command lines: gpasm -a inhx8m lcd1.asm xwisp.py target 16f628 go lcd1.hex Cfgword: __CONFIG _INTRC_OSC_NOCLKOUT & _BODEN_OFF & _CP_OFF & _DATA_CP_OFF & _PWRTE_OFF & _WDT_OFF & _LVP_OFF & _MCLRE_ON Some days, it seems, you just can't win. LVP is disabled, MCLR is enabled, CP and CPD are disabled, yet the Wisp can't seem to program the chip more than once. Later. -- Phil. | Acorn Risc PC600 Mk3, SA202, 64MB, 6GB, philpem@dsl.pipex.com | ViewFinder, Ethernet (Acorn AEH62), http://www.philpem.dsl.pipex.com/ | 8xCD, framegrabber, Teletext Line noise generously provided by British Telecom -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics