SPI Flash AT25DF011 Programming

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
gperroni
Offline
Last seen:1 year 6 months ago
加入:2017-09-29 08:46
SPI Flash AT25DF011 Programming

Hi,

I'm able to program successfully the SPI flash on demo board (W25X20CL). I built a custom board with another SPI flash on board (AT25DF011) which is declared as supported.
I keept the same pin connections as in demo board (please, see attached pdf file) and same pin configuration in SmartSnippets:

CLK = P0_0
CS = P0_3
MISO = P0_5
MOSI = P0_6

SPI_WORD_MODE = 8-bit
SPI_SMN_MODE = Master Mode
SPI_POL_MODE = SPI clock initially low
SPI_PHA_MODE =数据有效较低的边缘
SPI_MINT_EN = Disabled
SPI_CLK_DIV = 2

From the logical poin of view all looks fine in my opinion, but I'm not able to read/erase/burn the flash.
I tried to exchange MISO and MOSI lines too: it looks I can read the device, but again it is not pobbile to erase/burn.
Are there any hardware/software possible workaround I've forgotten?

Thank you for the reply.

Regards,

Giancarlo

Device:
MT_dialog
Offline
Last seen:2 months 2 days ago
Staff
加入:2015-06-08 11:34
Hi gperroni,

Hi gperroni,

I suppose that you mean that you are using the Smart Snippets Toolbox in order to program the device and the flash programmer tool, is that correct ? I dont see anything wrong with the connections on the schematic. And the flash that you are using is supported from the the flash programmer that the Toolbox supports. Have you checked this with an analyzer to check what might go wrong on the bus ? Also have you tried if you can properly write when executing fw ? Being able to read properly but not write or burn sounds like an issue with the WP signal or perhaps something wrong with the WRITE_ENABLE command, can you make sure that it is send before attempting an erase or a write, since the flash programmer invokes that command before executing any of the above transactions.

Thanks MT_dialog