Hello, I could not do a run for on twr-kv46f150m on the sample projects that I have imported via the IDE. However, I can run in debug mode for the projects.
When I setup the IDE, I referred to Getting Started with MCUXpresso SDK.pdf, and I realized that the projects I have imported in does not have the toolchain folders in the projects, hence I could not run my project as it is in axf file format.
I am using the MCUXpressoIDE v11.3.0 for SDK_2.8.0_TWR-KV46F150M.
Could you please advice on how I can fix this problem? Thank you!
I suggest you follow the steps listed in chapter 6 of the MCUXpresso User guide: https://www.nxp.com/docs/en/user-guide/MCUXpresso_IDE_User_Guide.pdf
The folder structure from an SDK example looks like this:
Let me know if this is helpful, if you have more questions do not hesitate to ask me.
The mex and bin files are manually created. To create the binary you need to right-click in the .axf file then go to Binary Utilities -> Create binary.
For the mex file, it is created when you use the Config Tool, in this example the Config Tools configuration was imported in the project.
Let me know if this solves your problem, if you have more questions do not hesitate to ask me.
Even after creating the bin and mex files, I am still unable to use the run function. The error is shown on the attached below.
It is stated that there is a problem launching the axf file.
The error stated under details:
Error starting process
Cannot run program "C:\Users\peexklai\Documents\MCUXpressoIDE_11.3.0_5222\workspace\twrkv46f150m_led_blinky\Debug\twrkv46f150m_led_blinky.axf": Launching failed
Can you show/share your launch configuration?
It seems to me that the config is not a debug configuration (run configuration) or you are trying to launch it as C/C++ application on the host itself?
I hope this helps,