The funniest part is that now I've replaced that PIC with PIC18F252 and it works nicely with the same board, when powered from external power supply (not through ICD). To my mind, it is so that in my ICD2 implementation, I have a voltage measurement circuit, that is connected to !MCLR pin of the target, which is a simple voltage devider (6.8K and 2.2K = 9KOhm in total, going to GND, obviously), however, my taget board has 10K pull-up at MCLR pin, which means, that instead of getting 5V, !MCLR is getting roughly 2.5V, which doesn't let it run (keeps RESETting?). So, this might be the reason for it not to let me to go to debugging mode. Thinking about it currently ...
PS!
Apparently, I've changed the code as well ...![Big Grin :D :D](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
PS!
Apparently, I've changed the code as well ...
Last edited: