Hi,
I am trying to write to a USB Mass Storage device from the PIC24FJ32GB002 device, i am using "Flowcode V4 PIC24 and dsPIC" to program the PIC and the PIC will then work as a standalone unit. I am unsure of which of the peripheral options I should use; i.e. USB serial, USB slave or USB HID.
If anyone could enlighten me or point me in the right direction it would be greatly appreciated.
Many Thanks
Hugo Chester
writing to a USB MSD from a PIC24FJ in flowcode V4
-
- Posts: 2
- Joined: Thu Mar 24, 2011 4:07 pm
- Has thanked: 1 time
- Contact:
- Steve
- Matrix Staff
- Posts: 3421
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: writing to a USB MSD from a PIC24FJ in flowcode V4
The ability to write to a USB mass storage device is not natively available in FlowCode. You will need to write your own C code routines to accomplish this.
-
- Posts: 2
- Joined: Thu Mar 24, 2011 4:07 pm
- Has thanked: 1 time
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: writing to a USB MSD from a PIC24FJ in flowcode V4
The USB components in Flowcode for dsPIC and PIC24 are based on the Microchip USB components. Should be fairly straight forward to modify a Microchip example and get it working in Flowcode.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel