I'm working with MCUxpresso 10.2, SDK 2.5.
I'm trying to config "Run" to only download and run... But I didn't find the solution.
I can debug (download and debug) and after stop debugger and so board runs the program, but it is very slow ...
So, What is the way to Run program (download and run)? For example, CCS has this option.
Responding here as it seems Jordi didnt get a final answer. The Quickstart panel includes a shortcut to program and run the target with the currently selected project. I believe this was introduced in 10.2, but there was a bug fix in 11.0.1 related to it. See https://www.nxp.com/docs/en/user-guide/MCUXpresso_IDE_User_Guide.pdf Section 11.3.1). You just need to select the "Program flash action" option, then every subsequent time you click on the PE server icon it will program the target then reset it (thus running it) without connecting a debug session.
I tested all methods commented above but I didn't reach the solution.
Did anyone "only program" before?
In other platforms and IDE, I always found a method to only program device.
I'm using MCUXpresso 10.2.0_759 and Multilink and SDK 2.5.0
If someone have any idea... It will be very useful for me.
I found very strange that you could not use the MCUXpresso programming only option. Maybe this is due your using a MCUXpresso previous version, could you try updating to the latest MCUXpresso version?
thanks! Your solution works! I don't understand why older versions don't work.
I checked with MCUXpresso IDE v11.0.1_2563 and Multilink FX and Gui Flash Tool works.
But... I enabled "Reset target on completion" but device not run after program. I have to do hand made reset....
The board that you're using is one the FRDM boards or is a custom board? In the case the board is custom, check if in the SWD connector the reset is connected correctly.
good idea! but...
It is a custom board. I checked the signal with oscilloscope and it is ok. I can see the reset before and after.
Thanks for your support
yes... I know that is very strange. But I can see the reset signal with osciloscope.
I don't know if the reset is not done at the correct moment.
Any idea? Or some other signal to check?
Simplest way to do this is probably to use the "Program flash action" on the "Debug Quickstart Shortcuts". See the supplied MCUXpresso IDE User Guide for more details.
MCUXpresso IDE Support
do you refer to "GUI Flash tool". I tried it, but at the end show:
Warning: No data was programmed in FLASH
All Servers Running
As the console says, the uC has not the new program.
Could you let me know which MCU and debugger are you using?
For example, if you're using an LPC you could try using Flash Magic to flash the binary through ISP.
Or If you are using a Segger debugger there's options like the J-Flash for J-Link Pro and better version, and if you have a J-link base or EDU version you could try using the command console to download your program.
Also I found strange that you could not use the Program flash action in MCUXpresso. Could you try using the Clean up Debug first before using the program flash:
Let me know if this helps you.
thanks for the feedback.
I'm working with Kinets and MultiLink.
My idea is improve the developer experience and reduce time. I need an easy action integrated in IDE. A developer can program a device more than 50 times at day, developing and testing source.
Same principle applies to MCUXpresso. E.g. for the J-Link connection I use
I hope this helps,
thanks for feedback.
I tried this option before post message. I didn't get to work fine.
Further, it is a very slow solution. This option is the same of debug and click stop button. At the end is very slow and kill me.
I'm using multilink, if you know another option...