Re: [PIC] Target device does not match - ICD3 MPLAB
fastmail <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.pic |
|---|---|
| Message-ID | <202411300605.4AU655LN023023-4AU655LP023023@fortimail-01.vox.co.za> |
Thank you Nicola for the information. Me and google missed that notes 😀I will rather do the debugging on the PICF88 for now and then just 'convert' to the 16F628A later. If I get stuck I will order the header...RegardsFrancois -------- Original message --------From: Nicola Perotto <[email protected]> Date: 2024/11/30 00:06 (GMT+02:00) To: "Microcontroller discussion list - Public." <[email protected]> Subject: Re: [PIC] Target device does not match - ICD3 MPLAB Hi Francois,You heed a "debug header" for some small resource/pin count chip.In this case that is required:https://developerhelp.microchip.com/xwiki/bin/view/software-tools/programmers-and-debuggers/archive/pep-start/required-debug-header-list/ac162053-54/Best regarda      NicolaOn 29/11/2024 22:12, Francois Robbertze wrote:> Hi>>  >> I want to debug a program on a PIC16F628A using the ICD3.>>  >> I have a simple program blinking a led to test the setup.>> With a PIC16F88 it works 100% but if I use a PIC16F628A it gives the> following error when I connect the debugger:>>  >> MPLAB ICD 3 detected>> Connecting to MPLAB ICD 3...>> Firmware Suite Version...... 01.28.90>> Firmware type......................Midrange>> CAUTION: Check that the device selected in MPLAB IDE (PIC16F628A)>> is the same one that is physically attached to the debug>> tool. Selecting a 5V device when a 3.3V device is connected>> can result in damage to the device when the debugger checks>> the device ID.>> MPLAB ICD 3 Connected.>> ICD3Err0086: Target Device ID (00001060) does not match>> expected Device ID (00001120). If you experience persistent>> problems communicating, the ICD 3 test interface can be>> used to help diagnose the problem.>> Programming...>> Programming/Verify complete>> Running...>> ICD3Err0040: The target device is not ready for debugging.>> Please check your configuration bit settings and program>> the device before proceeding.>>  >> If I use the ICD3 as programmer it programs and verify the 16F628A perfectly> and the led blinking program run normal.>>  >> Is this an ICD3 and PIC16F628 incompatibility problem or am I missing> something? Any help will be appreciated.>>  >> Here is my config and I have also set CMCON =7 to disable comparators and> set port as digital IO>>     __config _XT_OSC & _WDT_OFF & _MCLRE_ON & _LVP_OFF & _CP_OFF>>  >>  >> Regards>> Francois Robbertze>-- Nicola Perotto - NP EngineeringSistemi Informatici ed Elettroniciskype: nicolapmob IT: +39 335 7162 582mob HU: +36 30 417 3780tel: +39 06 916 502 732fax: +39 0439 633 1191-- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archiveView/change your membership options athttps://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at https://mailman.mit.edu/mailman/listinfo/piclist