Tired numerous cards, all worked fine with the Microchip example. JAL code never worked, always failed partway through when enumerating the device. The Microchip example does not need a card present to start with, it enumerates the device, assigns a drive letter, then mounts the SD volume if/when a card is inserted (as is normal with Windows 7 and "card-reader" devices).
Thanks. On Monday, June 6, 2016 at 12:40:44 AM UTC-4, Matthew Schinkel wrote: > > Ok, i should be able to fix it for you. I'm the only one supporting USB at > Jallib. > > One other thing.. Did you try another sd card? > > Sent from my iPhone > > On Jun 5, 2016, at 11:10 AM, Guido Jones <[email protected] > <javascript:>> wrote: > > FYI, This project was my original inspiration: > http://sky.geocities.jp/home_iwamoto/page/P26J50/P26_B02.htm (Use Google > translate!) > > > I went and re-installed Microchip C18 (eval. version required), compiled > the project on that page and low & behold it works a treat! :) The > "Microchip Mass Storage Drive" mounts immediately and the SD card appears > as a drive letter, all the files are there, and I can copy back & forth. > > The minor issue is that I absolutely hate C, and the entire Microchip > MPLAB suite is a disastrously confusing mess, made by geeks, exclusively > for geeks. JAL is the epitome of simplicity in comparison! ;) > > > Sooo, it has absolutely nothing to do with my hardware design, something > is up with the JAL code, but the million-dollar question is what/where? ;) > > I could send you one of my populated test boards and the code, and see > what you can make of it. Let me know if you're interested. > > > > On Saturday, June 4, 2016 at 9:41:39 PM UTC-4, Matthew Schinkel wrote: >> >> I got it working on my other PC, problem was I had turned debugging on. >> This debug feature uses serial, which is too slow. >> >> Make sure you have both of these set to FALSE >> const bit USB_DEBUG = FALSE >> const bit USB_DEBUG_HIGH = FALSE >> >> Wireshark does show me 2 incorrect packets during startup, but the >> windows machine does a packet re-request, and it works. I'll look into >> these errors further. >> >> Do you have debug on? >> >> Matt >> > -- > You received this message because you are subscribed to the Google Groups > "jallib" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected] <javascript:> > . > Visit this group at https://groups.google.com/group/jallib. > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/jallib. For more options, visit https://groups.google.com/d/optout.
