[Alauda] How to obtain usuable block number in the card?
Brought to you by:
dsd_
|
From: Harsh V. <hj...@gm...> - 2008-07-02 01:43:41
|
Hi, I am working with 1 GB xD-Picture card and trying to figure out its specs. I am reading logs from usbsnoop and have find out that it also has 512 as page size and 32 pages per block. I am wondering how could you obtain the usable block size and also number of zones in the card. I used libusb. usb_bulk_write ( 0x40, 0xb4, pba_hi, pba_zone, 0, pba_lo + page_offset, pages, 0, 0) -- I can use this command to write (at least it look like) for any value of pba_hi, pba_lo and pba_zone. How could I figure out which pages are safe to write? TIA Harsh Kanpur, India |