There are 3 messages in this thread.
You are currently looking at messages 0 to 3.
I have an 8051 uC using a CompactFlash. Using LBA I know how to open in read or write mode in a specific sector. I'm needing to find out if its possible to access a specific byte without re-writing data. If so, how? Thanks, Sean
Hi,
I do not understand:
Sean W wrote:
> I have an 8051 uC using a CompactFlash. Using LBA I know how to open in
> read or write mode in a specific sector. I'm needing to find out if its
> possible to access a specific byte without re-writing data. If so, how?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
means.
Are you trying to write one byte in a sector ??
There are no byte commands in the IDE command set.
If you want to modify a byte anywhere, you need to:
1) read the sector into memory
2) modify the byte in momory
3) write the sector to the CF.
hamilton
>
> Thanks,
>
> Sean
>
>
I was afraid someone would say that. That pretty much goes with my suspicions. I was hoping, though, there might be a better way. Thanks for the reply. Sean "hamilton" <h...@deminsional.com> wrote in message news:408a8094$1...@omega.dimensional.com... > Hi, > > I do not understand: > > Sean W wrote: > > I have an 8051 uC using a CompactFlash. Using LBA I know how to open in > > read or write mode in a specific sector. I'm needing to find out if its > > possible to access a specific byte without re-writing data. If so, how? > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > means. > > Are you trying to write one byte in a sector ?? > > There are no byte commands in the IDE command set. > If you want to modify a byte anywhere, you need to: > > 1) read the sector into memory > > 2) modify the byte in momory > > 3) write the sector to the CF. > > hamilton > > > > > Thanks, > > > > Sean > > > > >