Welcome to PhotoForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to access the data register of CF card byt by byte(8-b..

 
   Digital Photography Tip (Home) -> Digital Zoom RSS
Next:  FZ20 and free case + battery offer  
Author Message
Ravi kumar.N

External


Since: Jan 27, 2005
Posts: 3



(Msg. 1) Posted: Thu Jan 27, 2005 8:47 am
Post subject: How to access the data register of CF card byt by byte(8-bit
Archived from groups: rec>photo>digital>zlr (more info?)

Respected Experts,
Iam Ravi Kumar .N, working on CF
card. I have a query regarding accessing of data register when CF
card data width is configured for 8-bit access. i.e CE2# = HIGH
and CE1# = LOW.



My queries are as follows

1) How to read the 16-bit data register of CF card when CF card is
configured for 8-bit wide access i.e . By making CE2# HIGH and CE1#
LOW.


2) I tried to read the 16-bit data register byte by byte, but i
didn't get the intended result.


3) Here is how I have inplemented to read the 16- bit data register
byte by byte.

1)Number of sector to read in sector count register
2) Starting sector number in sector number rigister
3) Placed zero's to cylinder low and high register
4) Issue the read the command.
5) if the status register is valid i.e 0x58, then the
following code will be executed.

unsigned char buffer[512];
unsigned char *cf_base_address = 0x2000;
for(i = 0; i <= 511; ++i)
{

buffer[i] = *(cf_base_address)
}


Iam able to read the CIS, status register, erase the
sector etc. But Iam not able to read the data register byte by byte.

Please send me the code(or logic) for how to access the
16-bit data register byte by byte when CF card is configured for
8-bit data width.


With Regards
Ravi Kumar.N

 >> Stay informed about: How to access the data register of CF card byt by byte(8-b.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Nikon 5700 and image quality - I'm new to digital photography, having jumped right in and bought this 5700 last spring. I was into photography when I was a teenager way back in the 70's, but it was too expensive a hobby and I did nothing but vacation snaps with inexpensive film..

Question about CoolPix 8800 - Hope I am in the right group this time. I would like to know if you have tried the Coolpix 8800. I know it is a new camera, but would like to have some first hand opinions. If you have a Coolpix 8700, that would be close enough. Thanks

S1 components - Wondering if anyone would have information about replacement parts or non-working Canon S1. I am looking for the lens cap, strap, lens adaptor...etc. Thanks in advance, Sam

WTF is a "zlr" camera ? - I first heard this term a week ago and then this news group shows up on my server. What does "zlr" stand for ? -- a d y k e s @ p a n i x . c o m ----

Narrowing the Search - I have eliminated the Coolpix 8800 from my list and am now left with the Minolta Dimage A2 and the Panasonic FZ20. The differences that I find are as follows: A2 has 8 megapixels, up to 800 ISO, a 28 - 200 zoom with macro on both ends, goes to F11;...
   Digital Photography Tip (Home) -> Digital Zoom All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]