|
Forum Index : Microcontroller and PC projects : PIC32MZ and USB mass storage function
| Author | Message | ||||
sagt3k![]() Guru Joined: 01/02/2015 Location: ItalyPosts: 313 |
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 KingdomPosts: 2171 |
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: ThailandPosts: 2209 |
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 KingdomPosts: 2171 |
... like this: http://www.hobbytronics.co.uk/usb-host-flash-drive |
||||
sagt3k![]() Guru Joined: 01/02/2015 Location: ItalyPosts: 313 |
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 KingdomPosts: 4126 |
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 KingdomPosts: 10565 |
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: ItalyPosts: 313 |
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: GermanyPosts: 979 |
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 KingdomPosts: 671 |
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: ItalyPosts: 313 |
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 |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |