Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

16F88 and MPLAB Help needed

Status
Not open for further replies.
mramos1
Think I made progress. Thinking it might have been my computer, I went
to my older computer and used MPLAB 7.11(thats just what was installed
on it). Seemed like the f88 template.asm file was causeing the error(this goes
along with what you stated in the previous post), used only the 16F88.inc
file and the build suceeded. Took a small piece of code that blinks an led on
portB and it worked. LED blinks and MPLAB doesn't complain about _WDT or anything else.

Is it ok to just use the 16f88.inc and not use the f88 template.asm file?
What happens when its not used?


Thanks for the help mramos
 
Just an update.
Went and repeated the same procedure on my XP machine(did not use f88
template.asm file). Now the project builds. This confirms my templat.asm is
incorrect like mentioned before.

Thanks to all that helped on this
 
It sounds like you hava an older version of MPLAB installed. Try uninstalling all older versions.

Mike.
 
Hey Pommie
For some reason when I try to install a newer version of MPLAB I get errors.
Something along the lines of "Cannot find MSI" or something similar. As it
stands right now I'm able to do some programming(and some learning) so
all and all its OK for the moment using 7.11 (and not the template.asm file).

Thank you for your help Pommie
 
When you installed 7.5 you get errors? Do like Pommie said, uninstall the old one(s) from the control panel, then re-install the new one.. See if you get the error.
 
I'll give it a try. To tell the truth, if the new version fails to install I might
be out of luck all together.

Thanks for the suggestion and help.
 
Never use this __Config combo if you want to reprgram your PIC
& _MCLR_OFF & _INTRC_IO

This is why you can't erase your 16F88, MPLAB should have warned you this combo can make a PIC unreprogrammable with many ICPs

Stick with & _MCLR_ON always with the Inchworm (and many other ICPs) And don't forget to add the pullup resistor & diode (diode is optional but recommended)

Also turn your FIFO buffer off, another MPLAB warning...
 
Hi Bill
Yes thats what I attempted. Hoped it would work as well as it does for the
16F628s. Oh well, lesson learned the hard way, bet I wont do that again
anytime soon. Luckly have a spare on hand.

Thanks for the Tip Bill
 
GRC.

I did it my first time with the Inchworm as well.

With the pick figure you are one less pin and a 4.7K resistor, but the internal OSC is cool at low or high speed. Otherwise 3 more parts :)
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top