[MOVED] Fresher to the PIC18F4520!!!

Status
Not open for further replies.

V.RAGHUVEER

Newbie level 5
Joined
Jun 14, 2012
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,361
Sir,
i am fresher to coding the programs in PIC CONTROLLERS.... But i stated working with this controllers...I am getting errors while i am programming with PICKIT-3 d PICDEM-2 plus..Can U show me a way how to compile in effective manner.....Can you guide me how i can program effectively...Such that i should be a master in programming!!@@@.... How should i start exactly???@@.....
 

check following...
Try another microcontroller (some uC's could have manufacturing defects)
check your connections, port configuration, cable length, etc.
Check if your program is written correctly and can be run in your pic.
 

"Pic Microcontroller and Embedded System" by Muhammad Ali Mazidi is a good book to start
 

Are you coding in Assembly or C language?

If C language, what IDE/Compiler are you currently using?

I would be more than happy to lend assistance, however additional information will be needed.

BigDog
 

Are you coding in Assembly or C language?

If C language, what IDE/Compiler are you currently using?

I would be more than happy to lend assistance, however additional information will be needed.

BigDog

I am coding in C language..
In 'C' i am currently using PICKIT-3 as compiler and software MPLAB IDE v8.83...
I will be extremely happy if you can help me in correcting my errors....
Thanks a lot sir,
Raghu
 

Actually the PICkit3 is a programmer/debugger, you are most likely using the Microchip C18 Compiler with MPLAB IDE.

Have you worked your way through the following guide/tutorial:

MPLAB C18 Compiler Getting Started Guide

A few other tutorials for the PIC18F family using the Microchip C18 Compiler:

**broken link removed**



The PIC Microcontroller: Introduction

The above tutorials should keep you busy for a while, if you have any questions while working through the tutorials just post them here.

BigDog
 

Re: [MOVED] PIC18F4520 LED display!!@@

Dear Sir,
While these are the errors... Can you kindly rectify them.....

C:\Users\Downloads\PIC-LED-Example1\main.c:17:Error [1205] unknown member 'PCFB0' in '__tag_80'
C:\Users\Downloads\PIC-LED-Example1\main.c:17:Error [1131] type mismatch in assignment
C:\Users\Downloads\PIC-LED-Example1\main.c:22:Error [1105] symbol 'PORTB0' has not been defined
C:\Users\Downloads\PIC-LED-Example1\main.c:22:Error [1101] lvalue required
C:\Users\Downloads\PIC-LED-Example1\main.c:25:Error [1105] symbol 'TRISB0' has not been defined
C:\Users\Downloads\PIC-LED-Example1\main.c:25:Error [1101] lvalue required

Please recitify those errors sir....
 

Re: [MOVED]Rectification of errors in PIC18F4520!

Upload or Post your code, using CODE Tags, so that it can be examined.

View attachment main.txt

Sir,
Can you please rectify these errors for me


Presently i am using LP-PICDEM 2 PLUS
If these errors are rectified LED will blink with this code....
Raghu
 

Re: [MOVED]Rectification of errors in PIC18F4520

Post your code.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…