SEGGER J-Link configurations don't show up in MCUXpresso IDE

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

SEGGER J-Link configurations don't show up in MCUXpresso IDE

跳至解决方案
2,449 次查看
laszlomonda
Contributor V

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

0 项奖励
回复
1 解答
2,271 次查看
BlackNight
NXP Employee
NXP Employee

I missed to mention that you have to have a project selected:

pastedImage_1.png

You can read the project selected in the IDE quickstart panel (marked in yellow above).

I hope this helps,

Erich

在原帖中查看解决方案

0 项奖励
回复
7 回复数
2,273 次查看
BlackNight
NXP Employee
NXP Employee

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

2,273 次查看
laszlomonda
Contributor V

Thanks Erich!

Unfortunately, the blue debug icon is greyed out for me, even after booting the debug probe.

What NPI stands for?

0 项奖励
回复
2,273 次查看
BlackNight
NXP Employee
NXP Employee

NPI was a type, I wanted to write NPE (Null Pointer Exception).

About the debug icon: make sure you are in the develop perspective:

pastedImage_1.png

I hope this helps,

Erich

0 项奖励
回复
2,273 次查看
laszlomonda
Contributor V

I'm in develop perspective, but the blue bug icon is still greyed out.

Untitled.png

0 项奖励
回复
2,272 次查看
BlackNight
NXP Employee
NXP Employee

I missed to mention that you have to have a project selected:

pastedImage_1.png

You can read the project selected in the IDE quickstart panel (marked in yellow above).

I hope this helps,

Erich

0 项奖励
回复
2,273 次查看
laszlomonda
Contributor V

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.

0 项奖励
回复
2,273 次查看
BlackNight
NXP Employee
NXP Employee

The 'blue' debug icon is linked with the quickstart panel, so you need to have this one open. That's why in the normal 'debug' perspective the blue icon might be disabled too.

0 项奖励
回复