3
votes
1answer
60 views

PICkit 3 & PIC16F684-ICD & AC16205 random success with programming

Like it is already mentioned in the title I have question regarding this dev stack: MPLAB X IDE v1.80 PICkit 3 PIC16F684-ICD (datasheet) AC16205 There is image of how things are connected (I don't ...
0
votes
1answer
84 views

How to use the PIC16F628A's PORTA,4-7 as inputs?

I'm working on a countdown timer and I want to use the MSN of PortA for my switches. I'm using MPLAB. I can't use C to program the PIC because the collage taught us to program in decimal, and they ...
5
votes
1answer
397 views

Interrupt Service Routine in C - function at specific address

I need to add an Interrupt Service Routine (ISR) to existing code in C for a PIC18F4620 and a PIC18F46K22. As you can see in section 9 (of both datasheets), these devices have multiple interrupt ...
0
votes
0answers
71 views

Data loss between parsing and displaying on an 8 by 2 LCD

I'm trying to display strings that are larger than eight characters on the top row of am 8 by 2 LCD by making them scroll across the screen. I'm using a PIC16f1936 microcontroller and MPlab x IDE. ...
4
votes
2answers
1k views

Interfacing pic18f4550 with i2c EEPROM (24AA1025)

I am working on a university project in which i need to interface pic18f4550 with i2c EEPROM. I read many codes and saw many projects on this topic. and I wrote a sample code from MPLAB C18 ( and i ...
-2
votes
1answer
235 views

How to communicate with parallel eeprom with pic18f?

How to read eeprom M27C64A with pic18f4520, should i enable and disable the chip enable as well as output enable inside the loop while increasing the address? Can someone suggest me some code or ...
2
votes
1answer
872 views

Extended Instruction Set mode for PIC18F with Hi-Tech Compiler

I'm writing some firmware for a PIC18F6622 microcontroller. I use MPLAB IDE 8.73 + HI-TECH C Compiler for PIC18 MCUs (PRO) 9.66. When I set the XINST (Extended Instruction Set enable bit), the IDE ...
4
votes
3answers
1k views

how to make the eclipse IDE to be compatible for PIC devices?

I am looking for a PIC development environment that is better than MPLab. Is it possible to to install and configure Eclipse to work with PIC microcontrollers?
1
vote
2answers
608 views

PicKit 1 and mplab

When I try to use the PicKit 1 in MPlab for the PIC 16F913, it doesn't allow me to program the chip using my programmer, even though it has ICSP, I currently have to just pick some other programmer, ...