PDA

View Full Version : Usb Mass Storage With 18f4550



wagner
- 24th July 2008, 20:51
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

skimask
- 24th July 2008, 21:38
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?

wagner
- 25th July 2008, 14:36
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

skimask
- 25th July 2008, 14:50
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

wagner
- 28th July 2008, 15:05
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

wagner
- 28th July 2008, 15:10
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

skimask
- 28th July 2008, 16:11
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

wagner
- 29th July 2008, 14:10
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

tonyfelloni
- 17th August 2008, 17:46
Lol, you guys are gas!