Jump to content

usb mass storage driver


SMIDIRIN

Recommended Posts

hi,

i've now got 2 functional core32's.

my problem is neither of them work properly as mass storage,

i only need to copy the hwcfg file for wilba's seq pcb!

no card reader so i thought i could just use the mass storage .hex, i guess the connections are right because the seq v4 says sd connected.

it's a 4gb microsd card with a sd to microsd adaptor.

when i restart core32 after .hex upload windows detects and installs driver but then says i have to format, which then fails? telling me to check connections. :unsure:

if i click on the drive letter it says to insert disk in drive!

hope i'm right without res. network in R30 and jumpered 3v3.

now tried both core's & 2 pc's with similar results, any ideas??

:twitch:

Link to comment
Share on other sites

...

4GB cards are often SDHC ones so this may be the problem?

thanks phil and i thinks you hit it on the head again.

i hooked up a 1gb sd card (soldered straight to pins) and bam away it went.

so now i was worried my 4gb would be useless, but you're right it's microSDHC.

4gb was cheaper than 2gb!

so i will grab that source @ svn?

my laptop with toolchain had hdd meltdown, so i only have win7 x64 here now, is it still possible to compile on x64 using the toolchain setup found on wiki here?

http://www.midibox.org/dokuwiki/doku.php?id=windows_mios32_toolchain_core

thanks!

Link to comment
Share on other sites

ok,

compiled & uploaded, recognised and formatted.

just 1 problem = my 4gb formatted to 128kb! :shocked:

read & write no prob.

anyone else using 4gb microsdhc?

:logik: are we able to format when connected via mbseq with usb-msd mode?

:sweat: is partitioning 2x2gb gonna work? (part. software gone with laptop hdd or would have tried already)

Link to comment
Share on other sites

compiled & uploaded, recognised and formatted.

That's great :)

just 1 problem = my 4gb formatted to 128kb! :shocked:

Not so great :mad:

anyone else using 4gb microsdhc?

I am not using MicroSDHC but I guess it is the same technology as SDHC and the mods that I made to the MIOS32 driver were tested on a 4GB SDHC

:logik: are we able to format when connected via mbseq with usb-msd mode?

Now this is the question.... I have never tried but I will give it a go when I get home. My MB SEQ is running the latest CVS version. I have various different types of SD/MMC card so I will give it a go. I guess that this is a bit beyond the usb-msd mode goals of providing an easy method of copying files to and from SD cards though :)

:sweat: is partitioning 2x2gb gonna work? (part. software gone with laptop hdd or would have tried already)

It 'may' work :) MBSEQ wouldn't be able to use the second partition though...

The msd module is an adaptation of the ST example code and is actually quite complex (it emulates a SCSI device!) but I don't know how thoroughly things like formatting have been tested (if at all!)

Cheers

Phil

Edited by philetaylor
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...