Searching \ for '[PIC] debugging w/ 16F628A' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=16F
Search entire site for: 'debugging w/ 16F628A'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] debugging w/ 16F628A'
2005\04\20@065019 by Cliff Brake

picon face
Is it possible to run the ICD-2 debugger on a 16F628A?  When I
connect, I get the following message:

ICDWarn0020: Invalid target device id (expected=0x89, read=0x83)

0x83 is the correct ID for a 16F628A -- I'm not sure where the 0x89 is
coming from?

I'm also have problems programming the device if using target power
(3.3V).  Hmm, wonder if I need to shorten my cables?  Programming
using ICD-2 power (5V) seems to work just fine.

Cliff

--
=======================
Cliff Brake
http://bec-systems.com

2005\04\20@071320 by Jan-Erik Soderholm

face picon face
Cliff Brake wrote :

> Is it possible to run the ICD-2 debugger on a 16F628A?

What does the documentation say about that ?

> I'm also have problems programming the device if
> using target power (3.3V).

Note that min 4.5V is needed to make a "block erase",
which most programers start with...

Why do you think that you should be able to program at
3.3 V ?

Jan-Erik.



2005\04\20@072202 by Jason Harper

picon face
Cliff wrote:
> Is it possible to run the ICD-2 debugger on a 16F628A?

No; that chip has no debugger support.  You'd have to use the debugging
header that contains a special 16F628-ICD chip that has this support
(and extra pins for the ICD connection, so you don't lose any of the
normal pins).
       Jason Harper

2005\04\20@075841 by Wouter van Ooijen

face picon face
> Is it possible to run the ICD-2 debugger on a 16F628A?

IIRC the 16F628A lacks the on-chip debugger hardware, so the ICD-2 would
be restricted to rpogramming only. But I am sure this is explained in de
docs.

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu


2005\04\20@110634 by Cliff Brake

picon face
On 4/20/05, Wouter van Ooijen <spam_OUTwouterTakeThisOuTspamvoti.nl> wrote:
> > Is it possible to run the ICD-2 debugger on a 16F628A?
>
> IIRC the 16F628A lacks the on-chip debugger hardware, so the ICD-2 would
> be restricted to rpogramming only. But I am sure this is explained in de
> docs.

Thanks all for the information.  Yes the information is in the
datasheet, it is just taking me awhile to sort everything out.  One
point of confusion is MPLAB tells me the 16F628A supports limited
debugging, but I guess they assume you have the header board.

How do people use the debugger w/ 3.3V systems?  I suppose one could
program using the ICD-2 power, and then switch to target power for
debugging?

Also, do other parts such as the 18F1220 support using the debugger
with standard 18 pin parts as opposed to using a debugging header,
etc.  I'm wondering if it may just be easier to switch to another part
for development or I might just stick w/ blinky LEDs and print
statements.

There still seems to be some conflicting information.  On the web site:

===========================================
PIC16F648A, PIC16F628A*, PIC16F627A*
                   
* Note: MPLAB ICD 2 can program these devices, but
they do not have in-circuit debug capabilities.
It is recommended to use the PIC16F648A with
programs not exceeding their respective
memory sizes for developing programs for
these parts.

===========================================

But in the IC2 Header docs:

===========================================
The ICD device has an integrated ICD peripheral. The ICD
peripheral is not available in regular (non-ICD) devices; therefore
these regular PICmicro devices cannot be used directly with the
MPLAB ICD 2. The ICD device uses the ICD pin to enable the
background debug mode. (See "Schematics" on page 5.)
===========================================

So what is an ICD device?  It is a special PIC that comes w/ the
header board, or is it just a 16F648A?

Thanks,
Cliff

--
=======================
Cliff Brake
http://bec-systems.com

2005\04\20@202440 by Dwayne Reid
flavicon
face
At 09:06 AM 4/20/2005, Cliff Brake wrote:

{Quote hidden}

Microchip supplies a special ICD header board with a 16f648-ICD chip
on-board.  The header also has the RJ-12 connector to go off to the
ICD2.  The 16f648-ICD is in a larger (longer) package and had dedicated
lines for Vpp and the programming clk & data lines.

You would use this header board to develop projects for the '648, '628 and
'627 parts.

dwayne

--
Dwayne Reid   <.....dwaynerKILLspamspam@spam@planet.eon.net>
Trinity Electronics Systems Ltd    Edmonton, AB, CANADA
(780) 489-3199 voice          (780) 487-6397 fax

Celebrating 21 years of Engineering Innovation (1984 - 2005)
 .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-
    `-'   `-'   `-'   `-'   `-'   `-'   `-'   `-'   `-'
Do NOT send unsolicited commercial email to this email address.
This message neither grants consent to receive unsolicited
commercial email nor is intended to solicit commercial email.

More... (looser matching)
- Last day of these posts
- In 2005 , 2006 only
- Today
- New search...