May I use MPLAB ICD2 in MikroC

General discussion on mikroElektronika development boards.
Post Reply
Author
Message
Goodwin
Posts: 7
Joined: 22 Jul 2010 14:08

May I use MPLAB ICD2 in MikroC

#1 Post by Goodwin » 23 Jul 2010 08:12

Dear all

As title.


Best Regards

MHI
Posts: 56
Joined: 13 Mar 2010 20:52

Re: May I use MPLAB ICD2 in MikroC

#2 Post by MHI » 25 Jul 2010 14:12

yes you can.
write your project and compile it using MikroC, then use MPLAB IC2 to upload it.
Regards

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: May I use MPLAB ICD2 in MikroC

#3 Post by tihomir.losic » 30 Jul 2010 15:00

Hello,

To successfully use MPLAB® ICD 2 Debugger with generated .cof file, follow the steps below :

1. First of all, start mikroC PRO for PIC and open the desired project.
2. Open Tools › Options › Output settings, and check the "Generate COFF file" option, and click the OK button.
3. Next, enable Background Debug bit in the Edit Project menu.
4. After that, compile the project by pressing Ctrl + F9.
5. Connect USB cable and turn on power supply on EasyPIC6.
6. Program the MCU by pressing F11.
7. Connect external power supply, USB cable from PC and modular interface cable to the MPLAB® ICD 2 Debugger's appropriate sockets.
For more information, please, follow this link:
http://www.mikroe.com/esupport/index.ph ... ticleid=40

Best regards,

Losic Tihomir
mikroElektronika [Support team]

Post Reply

Return to “Development Boards”