Ok, but the next problem I have is... My original read_sector2 procedure only reqired a sector location. No need for start read or stop read. Now, I understand that the extra code in the procedure makes it slower, but there is a reason for it. I'll give you the story.
At one point I was looking into USB MSD (mass storage device) so that I could make my own USB sd card reader (or hard disk). This would mean I would have to comply with SCSI standards. So, one thing I read is that the PC will only ask for sector data at a specific location. The PIC must process the sector and send it via USB. So, there are two ways of sending the data. 1. start read, get one sector, stop read. then repeat. 2. start read, get one sector..... get another sector, stop read I think #2 is better/faster although I haven't done speed tests. You can say that my old read_sector is option #1, and my newer read_sector2 is option #2. Fat32 would not need to be on the PIC for MSD. I did not get my USB thing working due to lack of knowledge and lack of assistance. I was only able to get the PC to recignize it as a mass storage device when I plug it in. Any comment on what we should do to keep it available for USB MSD? Should there be two read sector procedures? Matt. On Oct 8, 1:23 pm, Oliver Seitz <[email protected]> wrote: > > I do prefer pseudo > > array over function. > > I made it a function because I started using JAL two months ago and I'm not > so familiar with the special features yet ;-) > > > The good thing about this method is > > that FAT32 > > may use the dual arrays, and the user can choose to either > > use dual > > arrays (for speed), or use the function since it is user > > friendly. > > > Sound good? > > Of course! I neither want to confuse users nor want to make life hard for > anybody. > > Greets, > Kiste -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
