Can you flash the Xpresso55S69 using the rltool.exe?

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

Can you flash the Xpresso55S69 using the rltool.exe?

Jump to solution
1,821 Views
a_guy
Contributor II

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?

Tags (1)
0 Kudos
1 Solution
1,784 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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 

View solution in original post

8 Replies
1,653 Views
neelimaverma
Contributor I

Thank you for your information ,it helps a lot

https://vivatvapk.co/download/ 

0 Kudos
1,713 Views
abnxpweb
Contributor III

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!

1,703 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 Kudos
1,810 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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

0 Kudos
1,789 Views
a_guy
Contributor II

Let me add for clarity that I want to be able to flash the LPC55S69 not the debug controller lpc4432.

0 Kudos
1,736 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

yes, blhost is to flash LPC55s69.

0 Kudos
1,797 Views
a_guy
Contributor II

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

0 Kudos
1,785 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

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