Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to switch pic16f648 to debug mode?

Status
Not open for further replies.
pic16f648

Hi,

You cant. 648 cant support ICD2 debug. Use other chip like 16F88 to write the program and devug, then load the program to the 16F648 and test it.
Good luck.
 

Hi,

If you are using MPLAB and Hi-T*ch compiler then add in the __CONFIG () this register: DEBUGEN.
if not, then add this line to the general register:
/* In-Circuit Debugger Mode */
#define DEBUGEN 0x37FF
#define DEBUGDIS 0x3FFF

When you will program the device to free run, remember to remove this line.
Good luck.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top