Re: Serial Flash Protected Area



Vladimir Vassilevsky wrote:

Is there any reason why the SPI flash chips always have the protected area in the upper addresses at the end of the available memory?

All of the CPUs that I know start booting from the SPI flash by reading some information which begins at the address 0. So if the beginning of the flash gets corrupt, then the CPU is dead and we can't reprogram the flash by software. Therefore it seems logical to protect the beginning of the flash, not the end.

But why the protection is always done in the opposite way? Is there any logical reason for that?

I think it carries over from Serial EEPROMs, and pre-dates booting from
Serial memory. In Serial EE's it allowed some small protected area, above the normal data-storage area, and given the widely varying sizes
of Serial EE (but all with common 0000 address point) to protect the
top area, away from the data space.

I'm waiting for 'run from serial memory', as the next step, for
code that does not need to be fast :)

-jg

.



Relevant Pages

  • Re: SonyEricssson w900i 3G Walkman
    ... >> Not sure what CF and MD mean, but I'm assuming 'Flash' memory and ... I meant Compact Flash and Micro Drive. ... To me HDD means a 'proper' disk. ... for protection, as one of several measures to protect the hard drive. ...
    (uk.telecom.mobile)
  • Re: XU1541 and more USB stuff
    ... memory. ... coming along nicely this week (FAT12/16/32/LFN support working for read ... for significantly more buffering reducing the overhead of the USB ... lots of flash and ram. ...
    (comp.sys.cbm)
  • Re: making a removable SSD drive nonremovable
    ... Using a FLASH based memory card in the way you suggest is a very bad idea. ... Putting in a FLASH based memory will make Windows take a very significant performance hit. ... Are you certain that it's not battery backed RAM? ...
    (microsoft.public.windowsxp.hardware)
  • Re: Lifetime of flash memory
    ... FILE ON USB MEMORY" have come out of this. ... and overuse may wear out your memory stick pretty quickly. ... Do _not_ use journalling filesystems on flash memory sticks.) ...
    (Linux-Kernel)
  • Re: making a removable SSD drive nonremovable
    ... Using a FLASH based memory card in the way you suggest is a ... Putting in a FLASH based memory will make ... Are you certain that it's not battery backed RAM? ...
    (microsoft.public.windowsxp.hardware)