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
Reply by hamilton●April 24, 20042004-04-24
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
>
>
Reply by Sean W●April 24, 20042004-04-24
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" <hamilton@deminsional.com> wrote in message
news:408a8094$1_4@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
> >
> >
>
Signal Processing Engineer Seeking a DSP Engineer to tackle complex technical challenges. Requires expertise in DSP algorithms, EW, anti-jam, and datalink vulnerability. Qualifications: Bachelor's degree, Secret Clearance, and proficiency in waveform modulation, LPD waveforms, signal detection, MATLAB, algorithm development, RF, data links, and EW systems. The position is on-site in Huntsville, AL and can support candidates at 3+ or 10+ years of experience.