Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:59 10 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : PIC32MZ and USB mass storage function

Author Message
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 09:47pm 14 Nov 2017
Copy link to clipboard 
Print this post

Hi to everybody
I have a little prototype board with pic32mz64pin at 252mhz.
Really impressive. At this point I wonder if it is possible to equip the micro with USB functionality to read & write the uSD for example. What do you think?
Thanks
Antonio
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2171
Posted: 11:15am 15 Nov 2017
Copy link to clipboard 
Print this post

Hi Antoni.

there is a thread discussing the same here:

http://www.thebackshed.com/forum/forum_posts.asp?TID=10001&PN=1

it is a complex subject an doesn't look like it will get attention anytime soon
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 11:21am 15 Nov 2017
Copy link to clipboard 
Print this post

There is another way and that is to add some additional hardware.
There are chips (USB HUB/uSD interfaces) that offer a USB and uSD connection, where the USB mass storage function is integrated.
I think Microchip has a few, and also Maxim.

You would need to add some way of switching the uSD connection between that chip and the uMite. It would allow a PC to directly access the uSD and when finished switch the connection back to the uMite to let it have access to the uSD.

Microblocks. Build with logic.
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2171
Posted: 11:48am 15 Nov 2017
Copy link to clipboard 
Print this post

... like this:

http://www.hobbytronics.co.uk/usb-host-flash-drive
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 02:55pm 15 Nov 2017
Copy link to clipboard 
Print this post

Hi
I mean, having the uSD in read and write toghether uMite + MMBasic so you can read and write files via commands at the same time as for uPython.
Thanks
Antonio
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4126
Posted: 04:35pm 15 Nov 2017
Copy link to clipboard 
Print this post

When available with uPython isn't it because the OS provides it?

Here there is no OS to do that.

Or do you mean there is a uPython on the PIC32MZ that does what you say?

John
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10565
Posted: 06:51pm 15 Nov 2017
Copy link to clipboard 
Print this post

Like John I don't understand what you are asking for. To me a USB drive gives no particular advantage over a directly driven uSD but if you want MMBasic with full flexibility have a play with the Pi-cromite
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 10:25pm 16 Nov 2017
Copy link to clipboard 
Print this post

Hi to everybody
Thank you for your suggestions. My idea was to take advantage of PIC32MZ's potential. It would be nice to be able to transfer the files between usb directly to uSD using composite device MSD. Then you can use the MMbasic commands to read / write the files , ".bas" or other files.
Obviously if this is possible, it's an idea.
Thanks
Antonio

 

 
Frank N. Furter
Guru

Joined: 28/05/2012
Location: Germany
Posts: 979
Posted: 09:24am 22 Nov 2017
Copy link to clipboard 
Print this post

Hi Antonio,

did you mean a USB-Card support like the ICEEMITE ???

It was a MAXIMITE from Kon with a separate USB driver. With this driver it was possible to use the SD card on the ICEEMITE as mass-storage device! It was a very, very nice function!!!

Frank
 
kiiid

Guru

Joined: 11/05/2013
Location: United Kingdom
Posts: 671
Posted: 12:56pm 22 Nov 2017
Copy link to clipboard 
Print this post

This functionality along with other goodies has been available in MMZ since the beginning. Although it was earlier and better MZ version, it never received any recognition, which was the main factor for me to lose interest in its further development, and in MM altogether, and not add any more functionality.

2017-11-22_225433_mmz.zip


http://rittle.org

--------------
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 09:33pm 22 Nov 2017
Copy link to clipboard 
Print this post

Hi Frank N. Furter
I don't know ICEEMITE. Then I can not evaluate the features of this product.

Concerning 2017-11-22_225433_mmz.zip , thanks kiiid, I followed the group's guidelines to build a version of PIC32MZ pin to pin compatible with MMX64 with 24MHz crystal oscillator.
Kiiid is "2017-11-22_225433_mmz.zip" compatible with MMX64@24mhz?

Thanks
Antonio
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025