I just downloaded MPLAB. I am just trying to take Nigel's fist tutotial, the one where all the LEDS flash so fast you can't see the flashes, and program it to my PIC to see if my setup is working.
I took Nigel's tut1_1 and pasted it into MPLAB, what do I do now...somehow get it to the IC-PROG software so it can program my PIC?
Sorry, I have never worked with PIC before, I am trying to start
mplab is an ide. I don't know nigel tutorials but you need to:
a) create a project
b) add files (.asm, .inc, ...) to the project
c) build, fix errors, build until no more errors
d) program gnerated .hex into target system
If the IDE make you pull your hair out:
Edit any file with notepad save as xxx.asm
Finding and running MPASMWIN.EXE (in program files etc) give you the compiler
Launch IC-Prog and load the xxx.hex to program
I just downloaded MPLAB. I am just trying to take Nigel's fist tutotial, the one where all the LEDS flash so fast you can't see the flashes, and program it to my PIC to see if my setup is working.
I took Nigel's tut1_1 and pasted it into MPLAB, what do I do now...somehow get it to the IC-PROG software so it can program my PIC?
.
u have to create a new project to start with , Project->new and add create a new .asm file and add it to the proj , paste ur code . select the device (eg: pic16h628a) in the configuration and compile. i would recommend u first learn debugging and simulation before programming the ic , u have to enable debugging by selecting a simulator , and set the clock speed in the debugger configuration . step through the code , watching the different SFR/GPRs
try sourceboost http://www.sourceboost.com/
it is an IDE and campatible with MPLAB it is too easy to work and make projects , this IDE work with C C++ and pascal language
it is nice and powerful
after you install this IDE you can use its tutorial and more exp. about pic
for program your pic you can use another software like: http://pp06.sourceforge.net/
and use PIC simulator IDE for simulate your project it is simple ...