So , if I understand this correctly, there is the redlinkserv program and the rltool.exe program.
redlinkserv attaches to the onboard debugger of the Xpresso55S69 board
rltool.exe allows you to talk to redlinkserv.
I have run rltool , it appears to communicate with redlinkserv, i can request information. I think I can connect to the device. I listed roms and such.
Can I flash an .elf file onto the device using this?
I am guessing that the total lack of any mentions in the IDE manual other than "rltool exists" means that I am probably not expected to be doing what I am doing, but why bring it up if I can't use it?
Solved! Go to Solution.
Here is blhost user guide.
https://www.nxp.com.cn/docs/en/user-guide/MCUBLHOSTUG.pdf
we can also refer AN12283 of how to use blhost with secure boot.
Hope this helps,
Jun Zhang
Thank you for your information ,it helps a lot
I believe that rltool is a utility used within the IDE that is not intended for the user to access directly - hence no explicit documentation being provided.
However the IDE has a built-in GUI Flash Tool, which is well documented within the IDE's User Guide. Why don't you use that, or the scripts it can generate for you if you want to program flash from the command line?
The following blog article might be useful too :
https://mcuoneclipse.com/2020/12/05/standalone-and-command-line-programmer-with-mcuxpresso
Hope this help!
Hi
Yes, you can use IDE integrated tools.
But from my opinion blhost is much easier and much commonly used in NXP and and NXP users.
Have a nice day,
Jun Zhang
Hi
You use LPCXpresso55S69 board. For this part, we recommend to use blhost.exe to program code. this tool is included under SDK package. blhost works under commandline. and it is our recommended tool for programing.
FlashMagic is also recommended for LPC programming.
rltool is integrated in IDE. For me, I never use it saperately and I never saw anyone use it without IDE with LPC55S69. I am not sure if it can do. If anyone else know, please comment.
Have a nice day,
Jun Zhang
Let me add for clarity that I want to be able to flash the LPC55S69 not the debug controller lpc4432.
yes, blhost is to flash LPC55s69.
Great, that seems very helpful. Three things
1. FlashMagic websites isn't accessible to me, that may be temporary though.
2. Any examples on how to blhost to upload a standard .hex or and elf ? do i just use
blhost flash-image filename.hex?
3. it works only with the CSMIS-DAP loaded on the xpresso
Here is blhost user guide.
https://www.nxp.com.cn/docs/en/user-guide/MCUBLHOSTUG.pdf
we can also refer AN12283 of how to use blhost with secure boot.
Hope this helps,
Jun Zhang