FlexSPI2 + Internal bootROM

cancel
Showing results for 
Search instead for 
Did you mean: 

FlexSPI2 + Internal bootROM

309 Views
anupbhutada4
Contributor I

Hello, In my project I want to use a bootloader. I am facing following problems : 1. Can I use boot ROM (128KB) for custom bootloader code for firmware update ? and How (any starting address) ? 2. I want to write some data in internal flash. I think, the starting address for internal flash is 0x70000000. Will I need FlexSpi2 to access internal flash ? If yes then how to configure FlexSpi2 ? (please refer attachment)

Labels (1)
0 Kudos
5 Replies

149 Views
fangfang
NXP TechSupport
NXP TechSupport

Hello,

Your question has been handled with your case. Please check in your email in time. Please contact to us again if you have any quesion.
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

149 Views
anupbhutada4
Contributor I

Capture1.JPG

In attached image, I am not getting Flexspi2 driver. I am using SDK_2.x_EVK-MIMXRT1064(Ver 2.4.1). So please tell me if  I am missing anything. Thanks In Advance.

0 Kudos

149 Views
fangfang
NXP TechSupport
NXP TechSupport

Hello

FLEXSPI2 is used to connect the internal qspi flash, so you can't find the according pins.and so there is not the driver for it.


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

149 Views
anupbhutada4
Contributor I

Hello,

Thanks for your quick response.

We need to partition the internal flash in two sections (2MB each). One

section will have the running application image. This image will have code

to write different image (firmware update) to other section. Is there any

API to store the data at any address of internal flash. In ProcessorExpert

(MK22FN1M0), the component “IntFLASH” is available for accessing internal

flash using methods such

as __EraseFlash(),_SetByteFlash(), _SetWordFlash(),

SetLongFlash(), IntFlashLdd1EraseBlock(),

IntFlashLdd1_Write(),IntFlashLdd1_Erase().

Is there any similar kind of APIs available for accessing internal flash of

I.MXRT1064?

0 Kudos

149 Views
fangfang
NXP TechSupport
NXP TechSupport

Hello,

You are welcome. Please find the FLASH API example as the reference manual (P268).Hope it help you.

pastedImage_1.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 Kudos