The Godfather talking
This is god damn my place! Capisci?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 07:38:19 07:38


Login with username, password and session length


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

Posts: 110

Thank You
-Given: 18
-Receive: 6


« on: August 27, 2008, 08:15:40 08: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: 279

Thank You
-Given: 130
-Receive: 305



« Reply #1 on: August 27, 2008, 09:53:55 09: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
***
 Muted
Offline Offline

Posts: 181

Thank You
-Given: 27
-Receive: 21


« Reply #2 on: August 27, 2008, 10:45:46 10: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: 40

Thank You
-Given: 43
-Receive: 18


« Reply #3 on: August 27, 2008, 11:16:05 11: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: 110

Thank You
-Given: 18
-Receive: 6


« Reply #4 on: September 01, 2008, 04:19:09 16: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, 06:29:29 18: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, 08:08:36 20:08 by lillbear » Logged
j0k3r
Junior Member
**
Offline Offline

Posts: 40

Thank You
-Given: 43
-Receive: 18


« Reply #6 on: September 01, 2008, 08:34:29 20: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, 08:40:26 20:40 by j0k3r » Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4639

Thank You
-Given: 823
-Receive: 4194


There is no evidence that I muted SoNsIvRi


« Reply #7 on: September 01, 2008, 09:12:41 21:12 »

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

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
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