Hello,
I bought the Programmer & Experimentation Board. I’ve first installed the software from the delivered disk. After that i Loaded the two examples by using the PIC Programmer on the board. both are working successful. I reassembled the examples by using MASM and it works fine.
I don’t want to develop my program in assembler but in “C”. I’ve installed from microchip MPLAB IDE v8.76.
My first has been compiled without errors and I’ve got a HEX-file.
No my questions:
Can I use a programmer from the MPLAB IDE? If I can which one be the right one? Or must I use
assembler code in MASM tool to get the HEX-file.
What about the configuration? (Reset,Watchdogtimer etc.) Can I use the configure settings in
the MPLAB IDE or must this be done in the code?
Do you know a simple example in “C” which switches a led on by pressing a switch?
Can I use a programmer from the MPLAB IDE? If I can which one be the right one? Or must I use
assembler code in MASM tool to get the HEX-file.
Only our PICKIT2 programmer board (Microchip) is directly supported in MPLAB, our KIT programmers 8048/8076 not.
You must compile & link your program to INHX8/16 HEX format file before you can programmed with our software PICprog2009.
What about the configuration? (Reset,Watchdogtimer etc.) Can I use the configure settings in
the MPLAB IDE or must this be done in the code?
In the code.
Do you know a simple example in “C” which switches a led on by pressing a switch?
Hi
If you download the student version of Microchip C Compiler (free!) you can use it to develop your code. In the “Getting Started with Microchip C Compiler” guide (also available on Microchip web site) is a simple C program for turning on an LED.