LPC1857 SPIFI SUPPORT S25FL256

cancel
Showing results for 
Search instead for 
Did you mean: 

LPC1857 SPIFI SUPPORT S25FL256

679 Views
wushenyue
Contributor I

你好,我现在使用的是S25FL256做LPC1857的spifi ,但是我添加进DFP包后,编译的时候都不行,

0 Kudos
14 Replies

454 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi 贇 万,

非常感谢使用NXP产品,很高兴为你提供技术支持!
首先,LPC1857可用使用S25FL256的,
针对你的问题,我建议你详细的描述一下,当前的问题信息量太少了。

Have a great day,
TIC

 

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

454 Views
wushenyue
Contributor I

你好,我现在使用LPC4357的芯片时flash不够,现在用SPIFI来扩展flash,使用的是S25FL256S,现在我将这个芯片添加进工程后,

我在编译工程时KEIL显示内存不足,我目前还未正式使用过SPIFI,不知道该如何设置(包含KEIL),我这边也没有SPIFI相应的DEMO程序能参考

目前需要的帮助是,1、能否提供SPIFI S25FL256S的程序供参考;2、对于spifi映射到ROM,KEIL设置里面需要设置哪些,如果方便,能否电话联系:18852992550

下面是我添加的一个S25FL064的DFP

wanyuna@sina.com

0 Kudos

454 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi 贇 万,

感谢你的回复。
两个意见:
1) 另一个需要设置的地方是:Options>Target>Memory Area,你需要添上QSPI的空间;
2) 关于SPIFI 的应用,你可以参考:

https://www.nxp.com/support/developer-resources/software-development-tools/lpc-developer-resources-/...

Have a great day,
TIC

 

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

454 Views
wushenyue
Contributor I

你好,

1、能否提供一下S25FL256的DFP文件,我这边只有S25FL064的文件

2、请问 Chip_SCU_SetPinMuxing 这个函数是在哪里定义的,能否给一个历程呢?

下图是历程中的,但是没找到函数的定义

wanyuna@sina.com

0 Kudos

454 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi 贇 万,

感谢你的回复。

1) 能否提供一下S25FL256的DFP文件,我这边只有S25FL064的文件?

-- 你需要手工更改现有的FLM或者在ARM技术论坛发帖请求,NXP不提供的。

2. 搜索一下Chip_SCU_SetPinMuxing,这个函数应该来自LPCOpen

Have a great day,
TIC

 

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

454 Views
wushenyue
Contributor I

你好,

初始化SPIFI的时候,只需要将管脚进行初始化?

下面的图是我在官网上看到的程序,

wanyuna@sina.com

0 Kudos

454 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi 贇 万,

感谢你的回复。
不单单初始化引脚,当然还有寄存器设置了,过程像Board_SetupExtMemory()中初始化SDRAM。

Have a great day,
TIC

 

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

454 Views
wushenyue
Contributor I

你好,问题还是不是很明白,我的SDRAM 已经初始化了,现在是添加SPIFI flash ,针对我现在用的SPIFI flash 也是要跟SDRAM的初始化一样?

我看到DEMO里面有一个 spifiinit()(如下图),是否是使用这个就OK?

wanyuna@sina.com

0 Kudos

454 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi 贇 万,

感谢你的回复。

1)我看到DEMO里面有一个 spifiinit()(如下图),是否是使用这个就OK?

-- 可以,但是代码只是为了测试QSPI,如果你想把QSPI当成内部flash一样,代码就有部分存储在其内部的话,在main()之前就需要初始化它。
Have a great day,
TIC

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

454 Views
wushenyue
Contributor I

不好意思,截图截错了,具体是如下:

wanyuna@sina.com

0 Kudos

454 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi 贇 万,

感谢你的回复。

请参考附件。

CatchA49C.jpg

Have a great day,
TIC

 

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

454 Views
wushenyue
Contributor I

你好,请问是如下的设置么,startup 在IROM1?

其中ROM1是SPIFI的起始地址0x14000000(LPC1857FET)。

wanyuna@sina.com

0 Kudos

454 Views
wushenyue
Contributor I

你好,

我是做的如下更改,不知是不是有问题

wanyuna@sina.com

0 Kudos

454 Views
wushenyue
Contributor I

你好,我现在使用LPC4357的芯片时flash不够,现在用SPIFI来扩展flash,使用的是S25FL256S,现在我将这个芯片添加进工程后,

我在编译工程时KEIL显示内存不足,我目前还未正式使用过SPIFI,不知道该如何设置(包含KEIL),我这边也没有SPIFI相应的DEMO程序能参考

目前需要的帮助是,1、能否提供SPIFI  S25FL256S的程序供参考;2、对于spifi映射到ROM,KEIL设置里面需要设置哪些,如果方便,能否电话联系:18852992550

0 Kudos