LPC4337 spifif add support mx25l25635f

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC4337 spifif add support mx25l25635f

678 Views
leohong
Contributor I

I use the MX25L25635F for LPC4337, but the lpcspifi library does not support this flash,

I try to add some configuration to rebuild library,

but it alwary return device is locked error.

Could you kindly support me to make a new library for mx25l25635f?

 

SPIFI Lib Version 0111
SPIFI clock rate 995121
FAMILY: Common SPIFI Command Set
Device family = MX25FL25635F
Capabilities = 0x1009d
Device size = 33554432
Max Clock Rate = 80000000
Erase blocks = 512
Erase block size = 65536
Erase sub-blocks = 8192
Erase sub-blocksize = 4096
Write page size = 256
Max single readsize = 16128
Current dev status = 0x0
Current options = 0
SPIFI final Rate = 68000000

Unlocking device...
Erasing device...

EraseBlocks() Error:5 Device is locked

Original Attachment has been moved to: spifilib_fam_standard_cmd.c.zip

Labels (3)
0 Kudos
3 Replies

404 Views
soledad
NXP Employee
NXP Employee

Hi Leo,

Please check the below comment:

pastedImage_2.png


Have a great day,
Soledad

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

404 Views
leohong
Contributor I

Hi soledad,

Thank you for your reply.

I know the flash can support boot from spifi.

My problem is that I want to download FW to flash MX25l25635F by KEIL,

So I need an algorithm to programming the flash,

According to Keil document "ULINKpro User's Guide: Creating Flash Programming Algorithms

Creating Flash Programming Algorithms"

The Algorithms project use the SPIFI library to read/write flash,

I download the source code of spifi library,

It does not include mx25l25635f parameters inside,

So I rebuild the library project, but it can not work after Erasing device...

The error message as below:

EraseBlocks() Error:5 Device is locked

Please help me to creating an new flash programming algorithm for mx25l25635f.

Thank you.

pastedImage_1.png

0 Kudos

404 Views
leohong
Contributor I

Hi, I need help~

Please share some information to me.

Thank you. 

0 Kudos