Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 5th June 2008, 11:39 AM   (permalink)
Default What is this warning ICD0161 about?(on programming PIC)

Problems as below:
Code:
Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to MPLAB ICD 2
Target Device PIC12F629 found, revision = Rev 0x10
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready
Erasing Target Device...
...Erase Succeeded
MPLAB ICD 2 Ready
Programming Target...
...Validating configuration fields
...Erasing Part
...Programming Program Memory (0x0 - 0xB2)
Verifying...
...Program Memory
ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0x1283, Val Read = 0x3FFF)
ICD0275:  Programming failed.
MPLAB ICD 2 Ready
Code:
ICDWarn0044:  Target has an invalid calibration memory value (0x3FFF).  Continue?
I found this warning and unable to program my PIC using MPLAB ICD2 ,

ICD0161: Verify failed (MemType = Program, Address = 0x0, Expected Val = 0x1283, Val Read = 0x3FFF)
ICDWarn0044: Target has an invalid calibration memory value (0x3FFF). Continue? ( i already programmed 1 of my same pic (succeeded), this is the 2nd 1, what's wrong with it?)
What is it about?

Thanks...

Last edited by nicholastyc; 5th June 2008 at 11:51 AM.
nicholastyc is offline  
Reply With Quote
Old 5th June 2008, 07:38 PM   (permalink)
Default

That is the calibration for the internal RC oscillator. Unless you are using that oscillator and you need its full accuracy, you can ignore that warning.
Diver300 is offline  
Reply With Quote
Old 6th June 2008, 07:07 AM   (permalink)
Default

sadly yes... i m using the internal OSC, i think i already configured the setting correctly.
why am i encounter this problem everytime i try to connect the ICD2?
its works fine for 1 time...and 1 chip was successfully configured.
nicholastyc is offline  
Reply With Quote
Old 6th June 2008, 12:28 PM   (permalink)
Default

Post the CONFIG lines of your program.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Old 6th June 2008, 03:29 PM   (permalink)
Default

Hi, config line as below,
Code:
 __CONFIG   	_CP_OFF & _MCLRE_OFF & _WDT_OFF & _INTRC_OSC_NOCLKOUT & _BODEN_OFF & _CPD_OFF &_PWRTE_OFF
Thanks!
nicholastyc is offline  
Reply With Quote
Old 6th June 2008, 04:44 PM   (permalink)
Default

Use MLCRE_ON and see what happens
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
15 second warning bug Papabravo Feedback/Comments 5 29th May 2008 02:05 AM
C30 pointer warning - should be legal, but why the warning? futz Micro Controllers 20 14th March 2008 07:27 PM
Car Reversing Warning wetterfugal Electronic Projects Design/Ideas/Reviews 5 28th October 2007 04:50 PM
low battery warning philba General Electronics Chat 17 2nd August 2006 01:59 AM
warning zachtheterrible Feedback/Comments 2 11th February 2005 02:52 PM



All times are GMT. The time now is 11:17 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.