Questions tagged [mplab]

mplab is the IDE used to compile, program and debug PIC chips.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
222 views

PIC10F222 Failed to program device

Every time I try to program my hex file I get an error: The following memory area(s) will be programmed: program memory: start address = 0x0, end address = 0x3b configuration memory program memory ...
1
vote
1answer
933 views

Simple number counter - PIC16F877A microcontroller problem

I am trying to make a simple counter using pic16f877a. I want to count each time a push button is pressed, that is taking one press as one count, regardless of how long the button is pressed. The ...
1
vote
0answers
340 views

Serial Flash always returning 0x00 while reading after writing

Could someone look into the code and tell me the mistake in the code I am trying to Interface PIC16F877a and AT25SF041 serial flash. I have pulled up CS pin to 5V using 1K resistor The flash is ...
1
vote
0answers
164 views

PIC M-Stack “add . to include” confusion

I am experimenting with the open source USB stack called M-Stack for the first time. I decided to start by building the HID mouse sample application, but I had to create my own project configuration ...
0
votes
0answers
26 views

How to create an scl file for MPLABX?

I am using MPLABX simulator to simulate some code. I want to create some signal for an external pin of the MCU using the stimulus. To do this I need to attach an ...
0
votes
0answers
56 views

Proteus program address is not within code memory

I am trying to simulate the following circuit with Proteus. Both the crystal and PIC18F4550 frequency is 20MHz. When I start the simulation, I get more than 100 messages: [PIC18 LOAD] Program ...
0
votes
1answer
63 views

Does MPLAB IDE v8.92 show Page Breaks anywhere in programmer

In the MPLAB assembly code window is their anyway to show or indicate where page breaks are I am using 50 PClath Calls. If I add or remove code it changes the position of page breaks. I would like to ...
0
votes
1answer
705 views

PIC18F2550 and DS1307 i2c RTC MPLAB assembly code. Have to loop for seconds,mins,hrs

PIC18F2550 and DS1307 i2c RTC MPLAB assembly code. I am using a PIC18f2550 to get time,date,etc from DS1307. I am able to get the seconds,minutes, hours, etc by repeatly CALLing GET_TIME with a ...
0
votes
1answer
687 views

PIC16F628A 16x4 LCD problem while using MPLABX

I'm trying to connect a 16x4 LCD with a PIC16F628A, but I cannot get any response on the display, the display is blank. I put on a LED for indicating whether the time was right, and apparently ...