Hi, I'm a programmer, and new to electronics. A company gave me a PICDEM 2 Plus demo board to go home for 2 weeks and sorta play with it, however, I have been unsuccessful getting all the hardware to talk to each other.
i was wondering if I could get help or a really good tutorial that went through step-by-step through installation, so I can start working with this demo board, and program something really cool.
Right now I'm using the following.
1.) CCS C Compiler
2.) MPLAB v7.60 IDE CCS C compiler is currently the compiler
3.) PICDEM 2 Plus demo board self powered
4.) MPLAB ICD 2 debugger currently being powered through the PICDEM 2 demo board
5.) lapotp connected through USB
I have a sample code that has been successfully built correctly and compiled, however I get a couple of errors trying to talk to the ICD
[sourcecode]
Connecting to MPLAB ICD 2
ICD0019: Communications: Failed to open port: (Windows::GetLastError() = 0x2, 'The system cannot find the file specified.
')
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
ICD0019: Communications: Failed to open port: (Windows::GetLastError() = 0x2, 'The system cannot find the file specified.
')
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Downloading Operating System
ICD0255: Download OS failed.
...Download Operating System Failed
ICD0092: Internal: Communications: Attempt to operate on unopened comm channel
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready
[/sourcecode]
fails to connect each time.
It even said reading 0x21 expecting 0x84 wrong OS, and I said download the correct OS, but that failed as well.
Please help. I rather code and debug my code than installing hardware. i'm a programmer, and I'm not very good at installing hardware.
thanks,
C
i was wondering if I could get help or a really good tutorial that went through step-by-step through installation, so I can start working with this demo board, and program something really cool.
Right now I'm using the following.
1.) CCS C Compiler
2.) MPLAB v7.60 IDE CCS C compiler is currently the compiler
3.) PICDEM 2 Plus demo board self powered
4.) MPLAB ICD 2 debugger currently being powered through the PICDEM 2 demo board
5.) lapotp connected through USB
I have a sample code that has been successfully built correctly and compiled, however I get a couple of errors trying to talk to the ICD
[sourcecode]
Connecting to MPLAB ICD 2
ICD0019: Communications: Failed to open port: (Windows::GetLastError() = 0x2, 'The system cannot find the file specified.
')
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
ICD0019: Communications: Failed to open port: (Windows::GetLastError() = 0x2, 'The system cannot find the file specified.
')
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Downloading Operating System
ICD0255: Download OS failed.
...Download Operating System Failed
ICD0092: Internal: Communications: Attempt to operate on unopened comm channel
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
ICD0082: Failed MPLAB ICD 2 operation
MPLAB ICD 2 Ready
[/sourcecode]
fails to connect each time.
It even said reading 0x21 expecting 0x84 wrong OS, and I said download the correct OS, but that failed as well.
Please help. I rather code and debug my code than installing hardware. i'm a programmer, and I'm not very good at installing hardware.
thanks,
C
Picdem2PlusDemo.c Example code for PICDEM 2 PLUS board and ICD2 for BoostC compiler (by Dan McFarland). ///// // PicDem2 Plus Demo, designed for BoostC // // Author: Dan McFarland, 3/30/2005 // // // Designed and developed using the BoostC compiler integrated into Microchip's // MPLAB IDE and the ICD2 programmer/debugger for the // PICDEM 2 PLUS board running at a clock freq of 4MHz.
About the Company
Legal Status of FirmSole Proprietorship (Individual)
IndiaMART Member SinceApr 2014
Logic Power has been the Sole Licensed Tool Manufacturer of Microchip Tools in India since 2004 & has been into Embedded Development since 1989. Logic Power Tools are manufactured with the same standards as seen in Microchip Tools, including 4 & 8 layer boards with similar performance. Logic Power has sold nearly 40,000+ Tools till date - including Programmers, Debuggers, Evaluation boards, Development boards and finished products.
Logic Power is a Certified Trainer for Microchip Architecture in India and has trained more than 5,000 Engineers, Students and Academicians. Logic Power regularly conducts the Microchip certified courses in Pune and Bangalore at Microchip RTCs. Logic Power has conducted many onsite Microchip workshops in various cities in India (Industries and Colleges/Universities). The Course Schedules are displayed on our website.
Logic Power advises customers to buy Licensed Microchip Tools manufactured by us instead of clones which are not of international manufacturing standards and which are neither compatible to Microchip’s MPLAB IDE nor have after sales technical support.
Logic Power Licensed Tools have been tested by Microchip US for performance analysis in comparison with Microchip’s own original tools and have been given the permission to manufacture and sell the Licensed Tools in India. Logic Power’s stall is always present for all Microchip’s India Masters annual conferences and is recommended by all Microchip India offices to customers as the first option to buy in terms of technical and after sales support.
For Students, Professors, Beginners, Knowledgable Engineers, etc., buying clones from electronic dealers and shopkeepers or from the grey market can be a very frustrating experience especially when the clones don’t perform or stop functioning. The manpower associated with such electronic dealers and shopkeepers are incapable of solving an engineer’s application issue due to their inadequate qualification and reluctance to help. Hence, we are tying up with many such dealers, shopkeepers and online portals to stock Logic Power Tools at very competitive rates, after explaining the advantages over clones. Such an arrangement will greatly benefit end customers. Please insist on Logic Power Licensed Tools for all your Microchip project applications the next time you visit your local dealer.
![Picdem 2 plus sample program download Picdem 2 plus sample program download](/uploads/1/2/6/3/126338262/374687463.png)
Logic Power has a structured Support Department with qualified engineers and international standard defined procedures. All Logic Power Tools come in neatly and professionally packed boxes with CD, User Brochures and Warranty cards. As a customer who has bought Logic Power Tools, you have a direct access to the Logic Power Support Team for any technical issues which might or might not be related to the Tool you have bought. We will strive to provide you all technical help within our scope.
Logic Power had also designed and developed embedded projects on a technology transfer basis for customers who wish to manufacture themselves. Logic Power has trained many Engineers from such customers on the Microchip Architecture thus enabling the company to possess a skillset to immediately implement applications