How can I program the signed binary, generated by following instructions of the SDK examples below, using P&E programmer instead of LinkServer probe?
I was able to follow readme instructions to set a https server on 192.168.0.102 that receives signed programs using the LinkServer probe (USB).
The problem I have now is when I try to use P&E Micro probe to program, it only accepts axf files.
So far I've found the following resources from Erich Styger but no chance at figuring out a method;
Using-eclipse-to-program-binary-files-to-an-embedded-target
mcuxpresso-ide-s-record-intel-hex-and-binary-files/
Ideally, if I could combine both examples together as a single programmable axf that would be the best.
Hi @KKaratas
Thank you so much for using our community and thank you so much for your patience.
Regarding your issue, I do not understand why do you want to have both examples in a single .axf file? I think that is not possible.
Also I would like to share with you another method to flash your binary through your PEmicro debugger and it is instead using the GUI Flash Tool, you just select the option that is delimited with a yellow square and then select the option of "Program Flash action using PEmicro probes". This is an option on MCUXpresso on the QuickStart Panel Window.
Please try this method and hope it works. Otherwise, please let me know if you still have problems flashing your iMXRT1170 EVK.
Thank you in advance.
Best Regards.
Pablo Avalos.
Hi @PabloAvalos
My understanding is that "evkmimxrt1170_lwip_httpssrv_ota_enet" example is written to be programmed on a device that already has "evkmimxrt1170_mcuboot_opensource" at base flash location. Below are the active and candidate app locations.
#define BOOT_FLASH_BASE 0x30000000
#define BOOT_FLASH_ACT_APP 0x30040000
#define BOOT_FLASH_CAND_APP 0x30240000
The readme in evkmimxrt1170_lwip_httpssrv_ota_enet example is missing the actual programming part but I was successful via following steps using the Link DAP;
The problem with accomplishing the above steps using only the P&E Micro probe is;
Hi @KKaratas
Thanks a lot for being waiting for. Your patience is really appreciated.
Regarding the problems with accomplishing the steps mentioned and you followed up using only the P&E Micro probe, the first one can be solved with this part on the post from Erich Styger that you shared, please try it:
And also de problem to flash on a specific location from this one, you should check the readme.txt from mcuboot_opensource, where you will find how is distributed the flash allocation of different things as shown inside the square.
Hope the information was helpful, please let me know if you still have more questions or any comments.
Thank you in advance.
Sincerely,
Pablo Avalos
Hi @KKaratas
Please accept my apologies for the late response. We had some positive covid test at the office and our backlog increased a lot. We really appreciate your patience.
I am still tuned to your question, but I was unable to test on myself to help you out. As I am still working on your concern, I would like to ask you some more time and then reach you back.
Please let me know any update or more questions you have.
I highly appreciate it.
Thanks in advance.
Pablo Avalos.