|
|
View previous topic :: View next topic |
Author |
Message |
ivanperino
Joined: 08 Jun 2006 Posts: 14
|
losing pics. ICD-U40 problem. |
Posted: Fri Mar 16, 2007 4:40 pm |
|
|
PIC16F88 - ICD v2.73 - ICD-U40 firmware v2.14 rev#100 - PCHW v4.017
Hi. We think we have serious problems with an ICD-U Programmer. We have used it for a long time until a stack happened. The NOMCLR fuse and a piece of code make the PIC useless, since it becomes undetectable from the ICD! the message "Couldn't detect target chip" appears after programming. We have tested with 2 PIC 16F88 and 2 PIC16F819 and both seem damaged.
I can show you the code if it is necessary. It is a very large one
Please, any orientation or help will be crucial at this stage. Thanks for your support.
Ivan Perino, Sergio Calderon
San Luis University - Argentina
Code: | #include <16F88.h>
#device ADC=10
#fuses WDT,INTRC_IO, PUT, NOBROWNOUT, NOLVP, NOWRT, NOPROTECT, NOMCLR
#use delay(clock=8000000)
#use rs232(baud=38400,xmit=PIN_A2,rcv=PIN_B0)
#define salida_pos pin_a7 //positivo para medir
#define salida_R1 pin_a0 //activa la resistencia R1.
#define salida_R2 pin_a1 //activo la resistencia R2.
#ifndef EEPROM_SDA
#define EEPROM_SDA PIN_A3
#define EEPROM_SCL PIN_A6
#endif
#use i2c(master, sda=EEPROM_SDA, scl=EEPROM_SCL, FAST=400000)
#define PIN_COM_PC PIN_A5
...
... |
|
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|