MIMXRT1170-EVK FlexSPI Serial NAND Boot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MIMXRT1170-EVK FlexSPI Serial NAND Boot

4,645件の閲覧回数
m_oi
Contributor I

Hi,

I'm trying to boot from FlexSPI Serial NAND device on MIMXRT1170-EVK. (Replaced MX25UM51345GXDI00 Octal Flash with W25N02JW Serial SLC NAND Flash)

But it has not worked yet.

 

Q1) Is FCB (Firmware Configuration Block) need ?

Q2) Is FCB placed at offset 0 ?

Q3) How to generate FCB ? Should I use MCU Boot Utility or MfgTools or etc ?

Q4) Is there a sample project or clear explanation ?

 

Thanks,

Minoru Oi

タグ(1)
0 件の賞賛
返信
20 返答(返信)

4,456件の閲覧回数
jay_heng
NXP Employee
NXP Employee
0 件の賞賛
返信

4,627件の閲覧回数
m_oi
Contributor I

Hi jeremyzhou,

 

How to generate boot image only ? (without connect to board)

Or, How to fix the following error when connecting to board.

> Executing: C:\Users\oi.minoru\Downloads\NXP-MCUBootUtility-master\tools\blhost2_3\win\blhost -t 50000 -u 0x15A2,0x0073 -j -- configure-memory 257 538976256
> toolStatus: 0
> commandOutput: {
> "command" : "configure-memory",
> "response" : [],
> "status" : {
> "description" : "4 (0x4) kStatus_InvalidArgument",
> "value" : 4
> }
> }

 

Thanks,

Minoru Oi

0 件の賞賛
返信

4,616件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi @m_oi ,
Thanks for your reply.
1) How to generate boot image only? (without connect to board)
-- As I said before, it needs to connect the board when generating the whole bootable image.
2) About the error, I'd like to suggest you check the hardware connection firstly, further, can you illustrate the connection of the W25N02JW to the board?
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.
------------------------------------------------------------------------------o

0 件の賞賛
返信

4,612件の閲覧回数
m_oi
Contributor I

Hi jeremyzhou,

 

> 2) About the error, I'd like to suggest you check the hardware connection firstly, further, can you illustrate the connection of the W25N02JW to the board?

 

I can write data to NAND through FlexSPI by application launched from SD card. So I think no problem in connection of the W25N02JW. I'll inquire to hardware member about connection.

Does the MCU Boot Utility as default support FlexSPI Serial NAND ? I don't create the bd file for NAND ?

 

Thanks,

Minoru Oi

0 件の賞賛
返信

4,600件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) Does the MCU Boot Utility as default support Flexispy Serial NAND ? I don't create the bd file for NAND ?
-- Yes.

jeremyzhou_0-1660788409000.png


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 件の賞賛
返信

4,591件の閲覧回数
m_oi
Contributor I

Hi jeremyzhou,

 

QE (Quad SPI enable) mode is enable from power on, is it OK for MCU Boot Utility ?

 

Thanks,

Minoru Oi

0 件の賞賛
返信

4,579件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) QE (Quad SPI enable) mode is enable from power on, is it OK for MCU Boot Utility ?
-- Yes.
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 件の賞賛
返信

4,575件の閲覧回数
m_oi
Contributor I

Hi jeremyzhou,

 

I checked NAND device signal connection below and found no problem.

RT1176   W25N02JW

Flash_RST <=> /RESET

FlexSPI_A_CLK <=> CLK

FlexSPI_A_SS0 <=> /CS

FlexSPI_A_D2 <=> IO2

FlexSPI_A_D1 <=> IO1

FlexSPI_A_D0 <=> IO0

FlexSPI_A_D3 <=> IO3

(/WP and /HOLD are disabled in Quad SPI mode)

 

I tried again to connect to EVK from MCU Boot Utility, but error occurred again.

I attached log when connectiong to EVK. What's the problem ?

 

Thanks,

Minoru Oi

0 件の賞賛
返信

4,534件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
I think you misunderstand my reply, in the RT1170, there's not only one pin that can work as the FlexSPI_A_CLOAK, and Flexispy _A_Dx pins are the same with it.
So I still don't know which exact pins are used to connect the Nand Flash, I think you'd better share the schematic.
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 件の賞賛
返信

4,531件の閲覧回数
m_oi
Contributor I

Hi jeremyzhou,

 

We replaced onborard 1V8 Octal Flash to W25N02JW Serial NAND Flash.

I attached schematic. Do you have any opinions ?

 

Thanks,

Minoru Oi

0 件の賞賛
返信

4,520件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi @m_oi ,
Thanks for your reply.
In addition of replace the onboard Octal Flash, did you ever handle the below resistors to enable the Serial Nand Flash as the boot-up device?

jeremyzhou_0-1661237485778.png

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 件の賞賛
返信

4,518件の閲覧回数
m_oi
Contributor I

Hi jeremyzhou,

 

Yes, and I checked electrically conductive.

Do you know anything about error from the logs I have previously attached?

Or is there any way to generate a boot file without connecting to the EVK board?

 

Thanks,

Minoru Oi

0 件の賞賛
返信

4,509件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) Do you know anything about error from the logs I have previously attached?
--According to the error message, the issue is related to the arguments, and you can learn the meaning of the arguments by referring to the bd file, so you can give different settings a try.

jeremyzhou_0-1661321788863.png

2) Is there any way to generate a boot file without connecting to the EVK board?
-- As I said before, the answer is no.
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 件の賞賛
返信

4,504件の閲覧回数
m_oi
Contributor I

Hi jeremyzhou,

 

This is my bd settings. Is threre something wrong for W25N02JW ?

Or how do I setting bd file you attached ?

bdsetting.png

Thanks,

Minoru Oi

0 件の賞賛
返信

4,539件の閲覧回数
m_oi
Contributor I

Hi jeremyzhou,

 

The error command seems OCRAM M4 address. Is it right ? And Is the address right ?

I don't use M4 core.

 

Thanks,

Minoru Oi

0 件の賞賛
返信

4,598件の閲覧回数
m_oi
Contributor I

Hi jeremyzhou,

 

Sure, I know.

But error occurred when connect target board. Do I have to anything special to connect target board boot device is FlexSPI NAND ?

For example, modify script or modify setting files.

 

Thanks,

Minou Oi

0 件の賞賛
返信

4,632件の閲覧回数
m_oi
Contributor I

Hi jeremyzhou,

 

Can I generate FCB without connect to board ?

I tried to generate FCB without connect to board, but error occurred.

 

Thanks,

Minoru Oi

0 件の賞賛
返信

4,633件の閲覧回数
m_oi
Contributor I

Hi jeremyzhou,

 

I see that Serial NAND configuration block is included in FCB.

Serial NAND configuration block is also generated by MCU Boot Utility, right ?

 

Thanks,

Minoru Oi

0 件の賞賛
返信

4,631件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1)Serial NAND configuration block is also generated by MCU Boot Utility, right ?
-- Yes.
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.
-------------------------------------------------------------------------------aa

0 件の賞賛
返信

4,637件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi @m_oi ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Q1) Is FCB (Firmware Configuration Block) need ?

-- Yes.

Q2) Is FCB placed at offset 0 ?

-- The FCB is on the first page in the first good block.

Q3) How to generate FCB ? Should I use MCU Boot Utility or MfgTools or etc ?
-- Yes, please use the MCU Boot Utility tool.

Q4) Is there a sample project or clear explanation ?
-- Unfortunately, no.
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 件の賞賛
返信