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
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
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
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
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.
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.
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------
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
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.
------------------------------------------------------------------------------
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?
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.
-----------------------------------------------------------------------------
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
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.
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.
-------------------------------------------------------------------------------
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
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
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.
-------------------------------------------------------------------------------