Hi there,
I'm back to firmware development after a long break, and I've just realized that I can't flash firmware with SEGGER J-Link via MCUXpresso IDE 10.3.1 on Linux anymore.
Our project is open source. See the .launch files. I can see uhk60-right_debug_kboot and uhk60-right_release_kboot under External Tools Configurations, but I can't see the uhk60-right_debug_standalone_jlink configuration anywhere, including Debug Configurations and Run Configurations.
When I double-click on the "GDB SEGGER Interface Debugging" menu item of the Debug Configurations dialog, I get a dialog featuring:
"An error has occurred. See error log for more details.
java.lang.NullPointerException"
JLinkExe works from the command line, but I can't use SEGGER JLink from MCUXpresso IDE. Any help would be appreciated.
- Laci
已解决! 转到解答。
I missed to mention that you have to have a project selected:
You can read the project selected in the IDE quickstart panel (marked in yellow above).
I hope this helps,
Erich
Hi Laci,
I believe I reported that issue with the NPE already, so I think this will be fixed in the upcoming release.
The workaround (and usual way to create/launch a debug session) is to use the 'blue' debug icon in the toolbar: this will automatically create the correct launch/debug configuration.
Can you try this if this works for your project?
I hope this helps,
Erich
You're right, Erich! The project was already selected, but the blue bug icon was greyed out. Strangely, I have to open the quickstart panel, then go back to the project explorer, then the icon becomes clickable. This is very weird, but solved the issue.