Re: IC2 problem with PIC16F877#
From: Phil (please_at_sendmejunkmail.com)
Date: 06/30/04
- Next message: HG: "Assembling with GNU and ADS"
- Previous message: Paul Hackney: "Re: H8/3867 Synchronous Uart False Clocks..."
- In reply to: John Smith: "IC2 problem with PIC16F877#"
- Next in thread: Tsvetan Usunov: "Re: IC2 problem with PIC16F877#"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jun 2004 10:54:09 +0000 (UTC)
Try unticking the "use FIFO buffers" for the serial port.
I seem to remember that the ICD2 won't work
correctly if FIFO (First In First Out) is enabled.
Phil
"John Smith" <rocketford@yahoo.ca> wrote in message
news:9GlEc.76360$Ax1.592371@news20.bellglobal.com...
> Hi,
> Our laboratory recently purchased a MPLAB ICD2 programmer. Everytime
> I try to program my PIC etheir by using the "Debugger" or the
> "Programmer" mode I receive this error:
>
> ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val =
> 0x283A, Val Read = 0x0)
>
> I looked the forum and people seem to think that it is related to
> the vdd voltage or maybe that the ICD 2 has a problem. Here are some
> information that might help you:
>
> -Target Vdd: 3.89V
> -Target Vpp: 12.78V
> -ICD2 Vpp: 12.70V
> -Self Test: Pass everywhere
> -Connected to USB
> -I set the configuration bit in software like this:
> __CONFIG _HS_OSC & _WDT_OFF & _LVP_OFF & _BODEN_OFF & _PWRTE_ON
> & _CP_OFF & _WRT_ENABLE_OFF & _CPD_OFF & _DEBUG_ON
> -Windows 2000 version 5.00.2195 (service pack 4)
> -MPLAB IDE 6.50
> -ICD2 can retrieve the ID from the target device
>
> I found today the ICDDebug.txt file in the MPLAB IDE\ICD2
> directory. Inside this file I saw that the data transmitted during
> programmation was ok and I also tested it with an oscilloscope. On the
> other hand, the data receive during a read operation was only zeros. So
> I think the ICD2 can't write on my PIC. I looked and looked again my
> target hardware and everything seem to respect the requirement for the
> ICD2 programmer.
>
> Have you ever had this problem? Is it my hardware or the debugger?
>
> Thank you very much
> JS
>
- Next message: HG: "Assembling with GNU and ADS"
- Previous message: Paul Hackney: "Re: H8/3867 Synchronous Uart False Clocks..."
- In reply to: John Smith: "IC2 problem with PIC16F877#"
- Next in thread: Tsvetan Usunov: "Re: IC2 problem with PIC16F877#"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]