Usb Mass Storage With 18f4550


Closed Thread
Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2008
    Posts
    8

    Default Usb Mass Storage With 18f4550

    Hi Everyone,

    I am using 18F4550 in my projects and I use USB CDC and HID. Everything is ok. Now I need to make an USB mass storage with 18F4550. Is it possible? Somebody can help? Where I start? I intend to use the Crownhill Basic because everything that I developed was in Basic.
    I know that I dont need any change in my hardware, Iam using 18F4550 20 Mhz. I need to insert some especial program?driver?
    Thank you in advance

    Wagner

  2. #2
    skimask's Avatar
    skimask Guest

    Default

    No...
    The PIC's are not USB hosts (well, there are a couple of PICs on the horizon that'll do the USB OTG thing, but not quite here yet). A PIC is a peripheral, a slave.
    There are a couple of interface chips out there to put in between a PIC and a USB device.

    And what is this "Crownhill Basic" you speak of?

  3. #3
    Join Date
    Jul 2008
    Posts
    8

    Default

    Quote Originally Posted by skimask View Post
    No...
    The PIC's are not USB hosts (well, there are a couple of PICs on the horizon that'll do the USB OTG thing, but not quite here yet). A PIC is a peripheral, a slave.
    There are a couple of interface chips out there to put in between a PIC and a USB device.

    And what is this "Crownhill Basic" you speak of?
    Hi skimask,

    I know that PIC is a slave and I dont want the PIC like host, I want the pic runs like a Mass storage. I means that I want the PIC like an USB FLASH DRIVER. I have a project that I need to download the datas to the PC, but I dont want to send the data in the CDC or HID keyboard I would like to send like a USB Digital Camera or USB FLASH DRIVER. DO you understand what I means?

    When I said "Crownhill Basic" I means that I am using PIC BASIC from Crownhill Associates. I like very much this Basic. It is very good system to development.

    Thank you very much

    Wagner

  4. #4
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by wagner View Post
    I know that PIC is a slave and I dont want the PIC like host, I want the pic runs like a Mass storage. I means that I want the PIC like an USB FLASH DRIVER. I have a project that I need to download the datas to the PC, but I dont want to send the data in the CDC or HID keyboard I would like to send like a USB Digital Camera or USB FLASH DRIVER. DO you understand what I means?
    So you want to turn your PIC into a STICK?

    When I said "Crownhill Basic" I means that I am using PIC BASIC from Crownhill Associates. I like very much this Basic. It is very good system to development.
    Right...that would most likely be...which one?!
    Crownhill resells a couple of 'brands' of PIC basic...
    So again, which one is it?
    Who wrote the software that Crownhill resells?
    And how much other PIC programming have you done?

    And in case you forget your own questions and, more importantly, the answers you have been given...read THIS thread!
    http://www.picbasic.co.uk/forum/showthread.php?t=9144
    Last edited by skimask; - 25th July 2008 at 13:57.

  5. #5
    Join Date
    Jul 2008
    Posts
    8

    Smile I want to interface my pic to PC like a stick

    Quote Originally Posted by skimask View Post
    So you want to turn your PIC into a STICK?


    Right...that would most likely be...which one?!
    Crownhill resells a couple of 'brands' of PIC basic...
    So again, which one is it?
    Who wrote the software that Crownhill resells?
    And how much other PIC programming have you done?

    And in case you forget your own questions and, more importantly, the answers you have been given...read THIS thread!
    http://www.picbasic.co.uk/forum/showthread.php?t=9144
    Yes, I want to turn my PIC in a Stick.

    I am using the Development Suite Proton version 3.1 July 2005. The company that I work bought direct from Crownhill in the web site. But thi is not problem to me. This Development suite is working very good. What I need is some example to interface my pic to PC like a stick and I want this program in PIC BASIC.
    Thank you

    Wagner

  6. #6
    Join Date
    Jul 2008
    Posts
    8

    Default

    Quote Originally Posted by skimask View Post
    So you want to turn your PIC into a STICK?


    Right...that would most likely be...which one?!
    Crownhill resells a couple of 'brands' of PIC basic...
    So again, which one is it?
    Who wrote the software that Crownhill resells?
    And how much other PIC programming have you done?

    And in case you forget your own questions and, more importantly, the answers you have been given...read THIS thread!
    http://www.picbasic.co.uk/forum/showthread.php?t=9144
    Hi,
    About the thread above,(http://www.picbasic.co.uk/forum/showthread.php?t=9144) I solved myseft this problem. Thank you. I change the program and ok. Now I open a new thread about "I need to interface my PIC with the PC like Stick."
    Thank you

  7. #7
    skimask's Avatar
    skimask Guest

    Default

    Quote Originally Posted by wagner View Post
    Hi,
    About the thread above,(http://www.picbasic.co.uk/forum/showthread.php?t=9144) I solved myseft this problem. Thank you. I change the program and ok. Now I open a new thread about "I need to interface my PIC with the PC like Stick."
    Thank you
    First off, you might want to think about going to the right forums...
    Nobody (well, not a lot of people) here in these forums uses the 'Proton Development System'.

    Proton Basic <> PicBasicPro
    i.e. Proton Basic 'does not equal' PicBasicPro
    i.e. Proton Basic is different than PicBasicPro
    i.e. Proton Basic isn't the same as PicBasicPro
    i.e. The Proton Development System doesn't use the PicBasicPro compiler

    Anything clicking yet?
    http://www.picbasic.co.uk/forum/showthread.php?t=9144

  8. #8
    Join Date
    Jul 2008
    Posts
    8

    Default

    Quote Originally Posted by skimask View Post
    First off, you might want to think about going to the right forums...
    Nobody (well, not a lot of people) here in these forums uses the 'Proton Development System'.

    Proton Basic <> PicBasicPro
    i.e. Proton Basic 'does not equal' PicBasicPro
    i.e. Proton Basic is different than PicBasicPro
    i.e. Proton Basic isn't the same as PicBasicPro
    i.e. The Proton Development System doesn't use the PicBasicPro compiler

    Anything clicking yet?
    http://www.picbasic.co.uk/forum/showthread.php?t=9144
    Ok,

    Sorry. I am looking for a right forum. I am sorry.

    Wagner

  9. #9
    Join Date
    Jan 2008
    Location
    Dublin, Ireland
    Posts
    33

    Default

    Lol, you guys are gas!

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. 18f4550 usb problem.. so im getting crazy..
    By MeSaKu in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th May 2009, 22:03
  3. 18f4550 USB and pulsin or pulsin alternative
    By vacpress in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th January 2009, 13:14
  4. How can I turn off USB support in 18F4550
    By BrianT in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th September 2007, 03:56
  5. USB Programmer for 18F4550 PICs
    By Kamikaze47 in forum USB
    Replies: 8
    Last Post: - 21st August 2007, 16:29

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts