MSD

General discussion on mikroBasic PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
antonadc
Posts: 277
Joined: 14 Dec 2012 10:15
Location: Pretoria South Africa

MSD

#1 Post by antonadc » 30 May 2016 10:15

Hi everyone.

I have a short cable, at the one end is a micro usb male and the other side is a usb A female. Nice to put a USB thumb drive on it. What software can I use to read the data off the stick onto a pic24 MM Board and display it on the TFT Glcd display. Is there any demo software please.

Thanks

Anton

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: MSD

#2 Post by lana.arsic » 31 May 2016 16:10

Hi Anton,

You can use bootloader application, you can find it at the link bellow in section Bootloader:

http://www.mikroe.com/mikromedia/pic24/

Please take a look at user manual in order to see how to use the application (page 12):

http://download.mikroe.com/documents/sm ... -v110c.pdf

Also, for creating projects, you may find interesting our Visual TFT tool:

http://www.mikroe.com/visualtft/

Best regards,
Lana

antonadc
Posts: 277
Joined: 14 Dec 2012 10:15
Location: Pretoria South Africa

Re: MSD

#3 Post by antonadc » 31 May 2016 17:36

Hi Lana
I am a bit confused how do I read a USB Memory stick using a bootloader. Please explain
I want to plug a Memory stick into the USB port of the PIC24 MMB and read the contents of the memory stick.

Anton

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: MSD

#4 Post by lana.arsic » 01 Jun 2016 08:15

Hi Anton,

I'm sorry, I obviesly misunderstood you.
You need to use USB Host Library and FAT32:

http://libstock.mikroe.com/projects/vie ... st-library

http://libstock.mikroe.com/projects/vie ... 32-library

You can install them using Package Manager:

http://www.mikroe.com/package-manager/

When you install them, look in example Host_MSC.

Best regards,
Lana

antonadc
Posts: 277
Joined: 14 Dec 2012 10:15
Location: Pretoria South Africa

Re: MSD

#5 Post by antonadc » 01 Jun 2016 09:03

Thanks for reply.

Once that is installed how do you talk to the stick.

AD

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: MSD

#6 Post by lana.arsic » 01 Jun 2016 11:40

Hi,

You're welcome.

I'm sorry, but unfortunately, you cannot read USB content with mikromedia since it cannot be USB Host.

You can use, for example EasyPIC Fusion, there is USB HOST connector on it:

http://download.mikroe.com/documents/fu ... -v101b.pdf

Best regards,
Lana

antonadc
Posts: 277
Joined: 14 Dec 2012 10:15
Location: Pretoria South Africa

Re: MSD

#7 Post by antonadc » 01 Jun 2016 12:43

Thank you Lana. Much appreciated.

Post Reply

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