Hair pulling time!!

Thread Starter

MaxHeadRoom

Joined Jul 18, 2013
30,557
Recently went to program a couple of different 18F devices, first using both Pickit2 & 3, MBLAB and then MBLABX, Got Device not found.
In MBLABX using the programmer, it runs through erasing device etc then errors with a msg: Address: 0 expected value of 1a, received 0. ?
MPLAB 8.93 says does not recognize device!
One is a home built programmer board, the other is a Picmicro development board with on board programming ports.
Anyone experience a simple mistake that is often made?
First time for me.
BTW, is there a pic device setting in MPLABX as in MPLAB, or does it detect the pic automatically?
Also it does a read fine, without error .(blank Pic memory)
 
Last edited:

nsaspook

Joined Aug 27, 2009
16,250
So what does ICD3 give you over Pickit3 for e.g.?
I see Digikey claims it is now obsolete?
Anything take its place?
External power for larger boards and faster programming for chips like the pic32 that have much larger flash to program. The current replacement is the ICD5. I still use my ICD4 with the latest Ide.
 

MrAl

Joined Jun 17, 2014
13,667
Recently went to program a couple of different 18F devices, first using both Pickit2 & 3, MBLAB and then MBLABX, Got Device not found.
In MBLABX using the programmer, it runs through erasing device etc then errors with a msg: Address: 0 expected value of 1a, received 0. ?
MPLAB 8.93 says does not recognize device!
One is a home built programmer board, the other is a Picmicro development board with on board programming ports.
Anyone experience a simple mistake that is often made?
First time for me.
BTW, is there a pic device setting in MPLABX as in MPLAB, or does it detect the pic automatically?
Also it does a read fine, without error .(blank Pic memory)
Hi,

The only hairy problem I ran into was one of the definition files for the particular chip had a missing crlf (carriage return, line feed) character missing in the file, Once I fixed that, it worked. Just that one missing character stopped it from being able to read the file.
 
Top