Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 11, 2016, 01:16:06 01:16


Login with username, password and session length


Pages: [1]
Print
Author Topic: Interface of PIC18F4550 to computer via USB  (Read 12576 times)
0 Members and 1 Guest are viewing this topic.
arash_tah
Active Member
***
Offline Offline

Posts: 113

Thank You
-Given: 18
-Receive: 6


« on: August 27, 2008, 09:15:40 09:15 »

Hi everybody
As we know PIC18F4550 is one of the products of microchip whith the facility of usb interface
Who has worked with this chip and who has the experiance of using this chip?
Does CCS or Mikroc have the modules for using it and programming its usb module?
Logged
mbandala
Senior Member
****
Offline Offline

Posts: 271

Thank You
-Given: 123
-Receive: 304



« Reply #1 on: August 27, 2008, 10:53:55 10:53 »

It is easier that you think. Just check this Elektor article. Everything you need to get you started is there.
Logged

Feel free to press "thank you" if you think you have found something useful! -^
samir
Active Member
***
Offline Offline

Posts: 180

Thank You
-Given: 26
-Receive: 21


« Reply #2 on: August 27, 2008, 11:45:46 11:45 »

I don't know about CCS.But microchip ICD2(& clone) support it.But i have personally have some bad experience regarding this chip.I have problem that in BUS powered state internal flash get corrupted whine inserting device.Same problem people have disscused on EDA board.Better you try new product of microchip(OTG devices)
Logged
j0k3r
Junior Member
**
Offline Offline

Posts: 38

Thank You
-Given: 32
-Receive: 17


« Reply #3 on: August 27, 2008, 12:16:05 12:16 »

I´m using the pic18f4550 and the pi18f2550 on several projects, and all then applied on field ,without any troubles.
Using the CCS it´s very simple to build a project regarding the USB on CDC,HID or USB bulk device, with the possibilite of make a USB bootloader, and like is says "(and if you are developing a USB application, this will hold it's own USB code)."

Until now i don´t have any problems regarding this chip(s).

Quote
I have problem that in BUS powered state internal flash get corrupted whine inserting device
About this problem like Samir says, if we use the BROWNOUT fuse, it could resolve the problem.

cumps....
Logged
arash_tah
Active Member
***
Offline Offline

Posts: 113

Thank You
-Given: 18
-Receive: 6


« Reply #4 on: September 01, 2008, 05:19:09 17:19 »

Hi Jok3r
I am biginear in this area "CDC,HID or USB bulk device" what ere these could u please explain more I have no experiance of using usb
tanx
Logged
lillbear
Senior Member
****
Offline Offline

Posts: 276

Thank You
-Given: 223
-Receive: 182



« Reply #5 on: September 01, 2008, 07:29:29 19:29 »

Try...UBW links here http://greta.dhs.org/UBW/

oh and check this collected here somewhere... SIXCA - USB Data acquisition with PIC18F4550 http://mihd.net/a4qhcg6

yours

« Last Edit: September 01, 2008, 09:08:36 21:08 by lillbear » Logged
j0k3r
Junior Member
**
Offline Offline

Posts: 38

Thank You
-Given: 32
-Receive: 17


« Reply #6 on: September 01, 2008, 09:34:29 21:34 »

Hi,

To start, i will post the link´s that´s is more relevant with examples, projects, and self explanation articles, on that you are looking for.
One link with many collections is on the forum of microchip:
www.microchip.com
They have links to all aspects covering USB with pic´s.

To learn more deeper USB:
www.lvr.com
with special attention on: USB Complete: Everything You Need to Develop Custom USB Peripherals
You have this ebook in the house:
http://www.sonsivri.com/forum/index.php?topic=12069.0

If you have any doubts ......

Note: HID, CDC, BULK are "protocols", but on the links above you have a detail explanation on this, better that i can explain.
Cumps
j0k3r

EDITED: If you have the CCS, look in the example folder, they have the CDC example, HID and a BULK example.
« Last Edit: September 01, 2008, 09:40:26 21:40 by j0k3r » Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 3817

Thank You
-Given: 567
-Receive: 2049


There is no evidence that I muted SoNsIvRi


« Reply #7 on: September 01, 2008, 10:12:41 22:12 »

this may help someone.
http://www.atomicfireballs.com/static/electronics/PIC2USB/chapter1.php
Logged

Note: If you have no posts other than, I want or reporting a dead link Then you can't complain If I remove your post So Stop Leeching
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC