XIP write flash support

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

XIP write flash support

1,646 Views
zaricchou
Contributor I

I am using RT1052 with a en25q16a which is a nor flash as a boot flash(connected to flexspi).Trying to place the bootloader and app in a en25q16a.But rom api earse operation could make the core in halt,while the initialization was successful.  

Is there any suggestion to solve this problem?

Labels (1)
Tags (1)
0 Kudos
7 Replies

1,625 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) Is there any suggestion to solve this problem?
-- I'd like to suggest you use the FlexSPI drivers from the SDK library instead of the ROM API, further, it needs to relocate the driver into the RAM prior to calling them.
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

1,614 Views
zaricchou
Contributor I

I have changed to Flexspi drives , and relocating it to ram.

Now somethings new.

Init -------works

page program  ----works

erase operation -------not halt the core ,but not works.

 

0 Kudos

1,607 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
Do you mean the values in the flash area change nothing after erasing operation?
And I was wondering if you can upload the modified FlexSPI driver.
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

1,592 Views
zaricchou
Contributor I

yes , that was what I mean,

I would like to send you a whole project by email,can you post your email please?

0 Kudos

1,582 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,

Thanks for your reply.
I think you'd better upload the demo to the community, or share the download address if you upload it to some cloud drive platform.
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

1,577 Views
zaricchou
Contributor I
 
0 Kudos

1,540 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
Please try to use the below command sequence instead of the previous one.

jeremyzhou_0-1631674942428.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