Author Topic: SPI Flash - AT25FS010  (Read 9064 times)

Offline bvmagaldi

  • Newbie
  • *
  • Posts: 4
    • View Profile
SPI Flash - AT25FS010
« on: January 20, 2009, 06:18:20 PM »
Hi Mark,
I’m using the MCF52235 and I have read the http://www.utasker.com/docs/uTasker/uTaskerFileSystemSPI_FLASH_003.PDF and want to use the AT25FS010, not the AT45DBXXX. Besides the flash page size, the number of blocks and the #defines in app_hw_xxx.h and config.h changes what else I will have to fix?

Is the AT25FS010, in your point of view, compatible with uTasker?

I’m begun to doubt if I must use the AT25FS010 or AT45DBXXX and would know what is your expert opinion about it.

Regards,

BVMagaldi

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: SPI Flash - AT25FS010
« Reply #1 on: January 20, 2009, 09:06:06 PM »
Hi

When I check in the data sheet to the AT25FS010 it is clear that it is not compatible with the AT45 types - the commands are different and the is no double RAM page buffer. It reminded me of the ST Micro ST25 devices and when I check the ST25 code it does look as though this may work with it. (I suppose that is also where the AT25 comes from - the 25 is shows that it has compatibility with other 25 types).

I would suggest that there is a good chance that it will work by configuring for the ST Micro FLASH (SPI_FLASH_ST) - see spi_flash_m5223x_stmicro.h which you should have (if not it is in the latest SP).

What will certainly have to be changed is the check of the chip's ID and capacity, when the READ_MANUFACTURER_ID (0x9f) is sent.
ST returns a manufacturer ID of 0x20 and ATMEL 0x1f. The 1Meg memory capacity is 0x14 for ST and 0x01 for ATMEL. These are quiet small changes though.

Why do you prefer to use an ATMEL AT25 to an ST ST25 (assuming they are otherwise identical)?

Regards

Mark

Offline bvmagaldi

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: SPI Flash - AT25FS010
« Reply #2 on: January 22, 2009, 01:11:20 PM »
Hi Mark,

Thank you for your fast reply.

It is NOT my preference indeed my client choice.

But thank for your suggestions, we are talking here about the change to the ST25.

Best regards from Brazil!

B