Forums

USB use with PIC18F and 16C...

Started by Vincent February 25, 2005
Message
Hi all,
 
I'd like to start a post on USB PIC18F (16C also) familly...
 
I intend to use it in a project but I don't clearly understand how to implement this technology?
 
1/ once the chip will be connected to the PC through the USB, will it be discovered automatically by the pc ?
2/ do I have to write a driver or something ?
3/ on the 18F side, how is the usb handled. do I have to write the USB code or is it downoadable like some sort of bootloader on the chip ?
4/ is the code for the PIC usb stack avalaible has an asm macro or something like that ?
5/ does the ubs code stay in the ROM of the chip or does it take some space in the RAM ?
6/ Can the USB be used to program the PIC (like a bootlaoder). HAve you heard of an USB bootloader for those PIC?
 
Any helping hand or info to start understanding the things is most welcome...
 
Hope this thred will be followed so that is becomes a reference for future questions on USB !!
 
Thanks a lot for your help,
Vincent
 
 


In a message dated 2/25/2005 4:28:06 A.M. Eastern Standard Time, v...@idtect.com writes:
I'd like to start a post on USB PIC18F (16C also) familly...
... good idea Vincent ... I am working on getting a usb based box underway also ... I have downloaded the usb information from the Microchip site and have the usb demo board running ... I think you will find answers to most of your questions in documentation listed on the 'Connectivity-USB' page which is linked from the Microchip.com home page ... in my case, I have a bit of a time crunch and don't know 'C', so I will probably end up using a usb bridge chip and a regular pic in my current application ... Jim


The first place I'd start is with the book "USB Complete" by Jan
Axelson (http://www.lvr.com/usb.htm)

It describes how the whole USB interface works and gives many practical
examples and samples of implementing USB interfaces with
microcontrollers. It's well worth the money and will give you a good
working idea of the practical aspects of implementing USB solutions.

Matt Pobursky
Maximum Performance Systems

On Fri, 25 Feb 2005 10:29:26 +0100, Vincent wrote:
>Hi all,
>
>I'd like to start a post on USB PIC18F (16C also)familly...
>
>I intend to use it in a project but I don't clearly understand how
>to implement this technology?
>
>1/ once the chip will be connected to the PC through the USB, will
>it be discovered automatically by the pc ?
>2/ do I have to write a driver or something ?
>3/ on the 18F side, how is the usb handled. do I have to write the
>USB code or is it downoadable like some sort of bootloader on the
>chip ?
>4/ is the code for the PIC usb stack avalaible has an asm macro or
>something like that ?
>5/ does the ubs code stay in the ROM of the chip or does it take
>some space in the RAM ?
>6/ Can the USB be used to program the PIC (like a bootlaoder). HAve
>you heard of an USB bootloader for those PIC?
>
>Any helping hand or info to start understanding the things is most welcome...





Re: USB use with PIC18F and 16C...


Or read the stuff that Microchip puts out - they list ALL of the
options (from the simple HID to a custom device) and provide a
developer kit for each. There is a development board that is dirt
cheap and comes with some of the new 6 pin PICs (10Fxxx). I bought
the board but haven't used it yet. Not enough time...

--- In , Matt Pobursky <ccsuser@m...> wrote:
> The first place I'd start is with the book "USB Complete" by Jan
> Axelson (http://www.lvr.com/usb.htm)
>
> It describes how the whole USB interface works and gives many
practical
> examples and samples of implementing USB interfaces with
> microcontrollers. It's well worth the money and will give you a
good
> working idea of the practical aspects of implementing USB
solutions.
>
> Matt Pobursky
> Maximum Performance Systems
>
> On Fri, 25 Feb 2005 10:29:26 +0100, Vincent wrote:
> >Hi all,
> >
> >I'd like to start a post on USB PIC18F (16C also)familly...
> >
> >I intend to use it in a project but I don't clearly understand
how
> >to implement this technology?
> >
> >1/ once the chip will be connected to the PC through the USB,
will
> >it be discovered automatically by the pc ?
> >2/ do I have to write a driver or something ?
> >3/ on the 18F side, how is the usb handled. do I have to write
the
> >USB code or is it downoadable like some sort of bootloader on
the
> >chip ?
> >4/ is the code for the PIC usb stack avalaible has an asm macro
or
> >something like that ?
> >5/ does the ubs code stay in the ROM of the chip or does it take
> >some space in the RAM ?
> >6/ Can the USB be used to program the PIC (like a bootlaoder).
HAve
> >you heard of an USB bootloader for those PIC?
> >
> >Any helping hand or info to start understanding the things is
most welcome...