Hi,
I am in process of designing the secondary boot for i.MXRT 1020 board. Right now I am working with evaluation kit of said board.
I have following question regarding the flashloader which comes as an example with SDK:
- At the moment flashloader runs from RAM, can we make it run from ROM?
- At the moment I am trying to follow the AN12604. As per my understanding this flashloader is very similar to the example of secondboot, am I right in saying this?
- My next question is how can I execute this flashloader as XiP?
Thanks.
Solved! Go to Solution.
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) At the moment flashloader runs from RAM, can we make it run from ROM?
-- Yes.
2) At the moment I am trying to follow the AN12604. As per my understanding this flashloader is very similar to the example of secondboot, am I right in saying this?
-- Yes.
3) My next question is how can I execute this flashloader as XiP?
-- To provide the fastest possible support, I'd highly recommend you to refer to the AN12604's source code, you can treat the code as such a 'flashloader' that run in the QSPI.
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 Jeremy,
Problem with AN12604 is that its written for IAR tool chain and I am working in MCUXpresso studio. As far as I know there is no way convert that project into MCUXpresso project. As per many other support thread people using MCUXpresso IDE have to convert that project manually. Why NXP has not been able to provide that example for MCUXPresso IDE so far. I mean It has solved so many support tickets automatically and save a lot of time engineers using this product.
Can NXP provide that AN12604SW for MCUXpresso IDE? or suggest some less time consuming way to convert that project into MCUXresso tool chain.
Thansk.
Hi,
Thanks for your reply.
1) Can NXP provide that AN12604SW for MCUXpresso IDE? or suggest some less time consuming way to convert that project into MCUXresso tool chain.
-- Just as you mentioned above, now it needs the developers to do the porting work manually if they want to use the MCUXpresso IDE, and I'll transfer your advice to the author of the AN12604 to provide the demo code based on MCUXpresso IDE.
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
There are secondary boot loaders available for the i.MX RT 1020 at https://www.utasker.com/iMX/RT1020.html allowing UART, USB, Modbus, Ethernet, SD Card, I2C loading and building with MCUXpresso.
Fully documented:
- https://www.utasker.com/docs/iMX/Loader.pdf
- https://www.utasker.com/docs/iMX/MCUXpresso.pdf
- https://www.utasker.com/docs/uTasker/uTaskerSerialLoader.pdf
With video analysis and guides:
- https://www.youtube.com/watch?v=5iT7KP691ls&list=PLWKlVb_MqDQEOCnsNOJO8gd3jDCwiyKKe&index=10
- https://www.youtube.com/watch?v=fnfLQ-nbscI&list=PLWKlVb_MqDQEOCnsNOJO8gd3jDCwiyKKe&index=11
- https://youtu.be/o7hQbOqhJoc
Supports serial and fail-safe OTA loading and includes security and clone protection (as well as on-the-fly decryption operation).
Regards
Mark
Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) At the moment flashloader runs from RAM, can we make it run from ROM?
-- Yes.
2) At the moment I am trying to follow the AN12604. As per my understanding this flashloader is very similar to the example of secondboot, am I right in saying this?
-- Yes.
3) My next question is how can I execute this flashloader as XiP?
-- To provide the fastest possible support, I'd highly recommend you to refer to the AN12604's source code, you can treat the code as such a 'flashloader' that run in the QSPI.
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.
-------------------------------------------------------------------------------