Sorry, to be clear, I meant 8 sectors per cluster.

I also thought of something else, there is a problem with sd card lib
& jalv2.4o beta but I guess you know that already. See these lines in
sd_card lib:
--for jalv2 2.40
;var volatile byte sd_sector_buffer_low[256] -- 256 low bytes
;var volatile byte sd_sector_buffer_high[256] -- 256 high bytes
--
--for jalv2 2.4n
var byte sd_sector_buffer_low[256] -- 256 low bytes
var byte sd_sector_buffer_high[256] -- 256 high bytes

I'm happy to see your interest. Have you tried the other fat32 lib/
sample as well?

If you are planning to make a board you may also want to put a 23k256
for the large fat32 lib. Otherwise you are limited to a few hundred
files per directory depending on ram space available. 23k256 costs
just over $1

I'll test and update my files with your changes. Thanks for your work
on these much needed recent changes!

Matt.

On Apr 20, 6:42 am, mattschinkel <[email protected]> wrote:
> It could possibly be the cluster size. Please try a cluster size of 8
> and let me know. I'll have to update the lib.
>
> If it still doesn't work, you can get me a file with the raw data of
> your sd card, I can take a look. I probobly only need the first 100mb
>
> Matt.
>
> On Apr 20, 4:49 am, Sebastien Lelong <[email protected]>
> wrote:
>
> > Hi Matt,
>
> > I'm tyring to use fat32_small.jal library,
> > taking 18f4550_fat32_small_sd_card.jal as a starting sample, mixed with my
> > previous working sd card sample. I can't make it work, I tried to track
> > execution, and finally arrived at a comment line saying:
>
> >    "If the program gets stuck here, there may be an issue with your
> > partition."
>
> > (~line 136, in procedure fat32_small_read_boot_sector())
>
> > So, I guess I indeed have a problem with my partition :) From what I could
> > track, it seems "partition_lba_begin" is equal to 677737569
>
> > I formatted my SD card using Windows, FAT32, full (not slow). I created a
> > file named "oula.txt" with some garbage chars in it. I'm not sure it was
> > necessary, but without it, it doesn't work either, and it made more sense to
> > me that an existing file was here.
>
> > Anyway, do you have an idea of what I did wrong ?
>
> > TIA
> > Cheers,
> > Seb
>
>

-- 
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.

Reply via email to