Hi,
controller: IMxRT1170
For custom bootloader iam using ROM api to store the received bin file in to flash memory.
when i run in complete application in DTCM RAM working fine.
But since i am doing bootloader it has to execute from xip nor flash this is not working, what are the things needs to be change to execute in XIP (nor flash).
All rom related function i placed to ram section still its not working.
Regards,
Sandeep C
Hi @sandeepc
Did you had success by doing the update I mentioned in this post? This could save you effort and will enable you to place Boot ROM API calls in Flash.
Let me know if you are still finding any related issues, or comments.
All the best,
Diego
Hi @sandeepc ,
1. to the RAM demo run in the flash, it is the non-xip situation, you can refer to my document:
2. to the ROM_API demo run in the flash, that should works, just need to leave enough internal RAM to the ROM API.
Make sure, when you run the ROM_API code, don't let your app use the ROM API RAM memory.
Please try it on your side.
If you still have question about it, please kindly let me know.
Best Regards,
Kerry
Hi @sandeepc
1) you mean we have to install keil ide to do 1st step?
=>Kerry: No, I mean, in the MCUXPresso IDE, you need also do the memory offset, then generate the RAM app project, and use the mcubootutility to download the code.
2) Instead of keil can we do it MCUxpresso? if yes can you share documnet.
=>Answer: Yes
MCUXpresso document don't have directly, as I didn't write it, but that is also the same, in the memory, do the offset, then generate the image, then use the mcubootutility to download the code like the document.
You can try it, if you still have question about it, I will help you.
But, in fact, I think the ROM API should also works in the flash, in fact, you don't need to run the none-xip image.
Best Regards,
Kerry