Sign in

username:

password:



Not a member?

Search Comp.Arch.Embedded



Search tips

embedded by Keywords

68HC11 | 68HC12 | 8051 | 8052 | ARM | ARM7 | Asic | AT91 | AT91RM9200 | Atmel | AVR | AVRStudio | Bootloader | CFP | CompactFlash | Cygnal | Cypress | Dataflash | DSP | eCos | EEPROM | Embedded Linux | Emulator | Endian | Ethernet | Firewire | FPGA | Freescale | GCC | GNUARM | GSM | H8 | HDLC | I2C | Infineon | Interrupts | Java | JTAG | LCD | LED | LPC2000 | MCU | Microchip | MMC | MPLAB | MSP430 | PC104 | PCB | PCI | PCMCIA | PowerPC | Rabbit | RS232 | RS485 | RTOS | SBC | SDRAM | Sensor | SPI | STK500 | UART | UML | USART | USB | Verilog | VHDL | VxWorks | Xilinx

Ads

Discussion Groups

Discussion Groups | Comp.Arch.Embedded | Byte wandering in CompactFlash

There are 3 messages in this thread.

You are currently looking at messages 0 to 3.

Byte wandering in CompactFlash - Sean W - 23:14 23-04-04

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





Re: Byte wandering in CompactFlash - hamilton - 10:58 24-04-04

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


Re: Byte wandering in CompactFlash - Sean W - 18:58 24-04-04

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