Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me with connection problem between PIC and LCD

Status
Not open for further replies.

kievari

Member level 2
Joined
Mar 14, 2010
Messages
51
Helped
0
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,740
Hi,
I'm one step further on the way to put my LCD to be driven by my PIC18F4550, still struggling with one error I can't understand:

Code:
----------------------------------------------------------------------
Release build of project `C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd4550.mcp' started.
Mon Sep 20 23:10:33 2010
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.o".
Clean: Deleted file "C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd4550.mcs".
Clean: Done.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F4550 /i"C:\mcc18\h" "lcd-4550.c" -fo="LCD-4550.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:134:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:135:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:137:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:138:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:139:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:140:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:141:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:142:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:143:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:144:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:145:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:146:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:147:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:148:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:149:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:150:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:151:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:152:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:153:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:154:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:155:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:156:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:157:Warning [2054] suspicious pointer conversion
C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd-4550.c:456:Warning [2058] call of function without prototype
Executing: "C:\mcc18\bin\mplink.exe" /l"C:\mcc18\lib" /k"C:\mcc18\lkr" "..\..\..\..\..\mcc18\lkr\18f4450.lkr" "lcd-4550.o" /z__MPLAB_BUILD=1 /o"lcd4550.cof" /M"lcd4550.map" /W
MPLINK 4.1, Linker
Copyright (c) 2006 Microchip Technology Inc.
Error - processor types do not agree across all input files.
Errors    : 1

Link step failed.
----------------------------------------------------------------------
Release build of project `C:\Documents and Settings\WHW\Desktop\prj\new_lcd\lcd4550.mcp' failed.
Mon Sep 20 23:10:35 2010
----------------------------------------------------------------------
BUILD FAILED

could anybody please give some idea getting out of this?
 

Re: MPLAB IDE, C18 error

Can you please upload the files for the project?
 

Re: MPLAB IDE, C18 error

Can you please upload the files for the project?

Sure John, I attached the project, but I finally got this "BUILD SUCCEEDED" and my question on this "PIC-LCD-HELLO-WORLD" project, has been changed a little.

Please help with connection problem between PIC and LCD:

After BUILD SUCCEEDED I programmed my PIC18F4550 with the HEX (which succeed too).

Next I connected my LCD to the PIC in the way you see on the image and turned the circuit on, and nothing happened :(

LCD is brand new, I have two of it, and I tested both. Connections seem to be in good state.

The LCD turns on, but as if it receives nothing from PIC, but only +5 and GND from my breadboard. Could you please give idea how to test it, having a look at my connections?

2rm5de0.png

2ahxfgy.jpg

29cqow7.jpg

231990.jpg
 

Attachments

  • lcd4550.zip
    122.9 KB · Views: 107
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top