how to save some data from MCU to usb flash memory

General discussion on mikroC PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
blueboy24h
Posts: 4
Joined: 20 Feb 2016 05:00
Location: Iran

how to save some data from MCU to usb flash memory

#1 Post by blueboy24h » 18 Dec 2016 12:40

Hello every one. I want to interface a usb flash memory to a micro-controller(pic24fj32gb002) to save micro controllers' ports data into usb flash memory (thumb drive).
Isn't there any library to do that yet?
could anyone help me by the hardware required to this interface?
what is the protocol of connection between usb flash memory and other devices?

blueboy24h
Posts: 4
Joined: 20 Feb 2016 05:00
Location: Iran

Re: how to save some data from MCU to usb flash memory

#2 Post by blueboy24h » 19 Dec 2016 12:50

If anyone knows???

User avatar
uros.cvetinovic
mikroElektronika team
Posts: 803
Joined: 14 Dec 2015 09:24

Re: how to save some data from MCU to usb flash memory

#3 Post by uros.cvetinovic » 19 Dec 2016 13:18

Hi,

You can check USB Host library:
http://libstock.mikroe.com/projects/vie ... st-library

This library is used for interfacing with USB flash memory.
When you install it, you will find "Host MSC" example project that demonstrates usage of this library with the USB flash memory.

Best regards,

Uros

Post Reply

Return to “mikroC PRO for dsPIC30/33 and PIC24 General”