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.

PIC18F4550 interface with PC through USB

Status
Not open for further replies.

martinchen_99

Newbie level 3
Newbie level 3
Joined
Jun 8, 2008
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,317
pic usb interface

Hi all,

I am new in MCU PIC18F4550, I am trying to program the MCU to communicate with PC through USB.
I bought the ccs compiler PCWH and microchip's demo board.
The terrible thing is that their resources are belong to different coding,
I am frustrated in it. Is anyone tried to use the driver provided by microchip and program the MCU with ccs compiler?
Can anyone suggest me how to get start on it?
Thanks.....
 

pic18f4550

Hmm ...

Try mikroC. It has excellent library for USBHid interface and more over it works ! I had tested it.
 

pic18f4550 usb c program

hi sir/madam
This is ashok from AMIS Technologies,Hyderabad.We have downloaded the evaluation version
compiler from website and installed.The problem here is that when we added c file and .lkr file and compiled the error comes here is


----------------------------------------------------------------------


Debug build of project `C:\Documents and Settings\Administrator\Desktop\myproject\project.mcp' started.
Language tool versions: mpasmwin.exe v5.30.01, mplink.exe v4.30.01, mcc18.exe v3.30
Preprocessor symbol `__DEBUG' is defined.
Thu Jul 02 11:34:25 2009
----------------------------------------------------------------------

Clean: Deleting intermediary and output files.
Clean: Done.

Executing: "C:\MCC18\bin\mcc18.exe" -p=18F452 "main.c" -fo="main.o" -D__DEBUG -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
MPLAB C18 v3.30 (evaluation)
Copyright 2000-2009 Microchip Technology Inc.
Days remaining until evaluation becomes feature limited: 57
C:\Documents and Settings\Administrator\Desktop\myproject\main.c:9:
Warning [2066] type qualifier mismatch in assignment

Executing: "C:\MCC18\bin\mplink.exe" "18f452.lkr" "main.o" /u_CRUNTIME /u_DEBUG /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /o"project.cof" /M"project.map" /W
MPLINK 4.30.01, Linker
Copyright (c) 2009 Microchip Technology Inc.
Error - could not find file 'c018i.o'.
Errors : 1

Link step failed.
----------------------------------------------------------------------

Debug build of project `C:\Documents and Settings\Administrator\Desktop\myproject\project.mcp' failed.
Language tool versions: mpasmwin.exe v5.30.01, mplink.exe v4.30.01, mcc18.exe v3.30
Preprocessor symbol `__DEBUG' is defined.
Thu Jul 02 11:34:26 2009
----------------------------------------------------------------------


BUILD FAILED


can u please give the necessary suggestion

with regards
S.Ashok
AMIS Technologies,Hyderabad
Mobile:+919849371143
 

usb 18f4550 ccs

you can use C18 compiler from microchip with MPLAB IDE, also microchip offers a ready made USB firmwares for many platforms including PIC18F4550, check this link:
**broken link removed**

good luck :D
 

pic18f4550 usb

martinchen_99 said:
Hi all,

I am new in MCU PIC18F4550, I am trying to program the MCU to communicate with PC through USB.
I bought the ccs compiler PCWH and microchip's demo board.
The terrible thing is that their resources are belong to different coding,
I am frustrated in it. Is anyone tried to use the driver provided by microchip and program the MCU with ccs compiler?
Can anyone suggest me how to get start on it?
Thanks.....

See the attached file.
This is complete project in ccs c.
Also C# interface.
 

pic 18f4550 usb pc interface

I'm learning programming with CCS C and have wondered how i will ever use most of their rich source. It's great opportunity to get hands on USB interface. Hope to get help subsequently. I also programme in mikroC. I'm just comfortable with C syntax for PIC but want to take it to another level like good use of libraries and more.
 
hi there I made the .hex file and loaded to the PIC18f4550..but i don't know how do i communicate it from PC..can anyone help me out of it..plzzzzzz
 

Hi!

I've tried the project what hina33 suggested. I don't know why, but I can't install the PC driver for it.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top