Issues using Segger J-Link with KDS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Issues using Segger J-Link with KDS

ソリューションへジャンプ
2,088件の閲覧回数
lategoodbye
Senior Contributor I

Hi,

 

i'm using Kinetis Design Studio 1.1.0 under Windows 7. Currently i'm facing the 2 issues.

 

Issue #1: Kinetis Design Studio 1.1.0 comes with new Segger driver and new J-Link firmware. If i try to debug an application with KDS i'm forced to update the J-Link firmware. So i start the update process. Unfortunately KDS don't know nothing about this firmware update and kill the update task at half of progress because of it's timeout.

 

As a workaround i tried the flash button which didn't interrupt the firmware update.

 

Issue #2: I've a custom board with a MK20 and a KL02Z. Each of them are connected to a Segger J-Link and both are connected to a single PC via USB. If i try to flash one of the Kinetis chips i always get a dialog to select the desired J-Link. So good, so far. Unfortunately sometimes KDS don't wait in debug mode for the dialog result and runs into an error because it took a wrong target (not J-Link). But if i use the flash button the problem do not happen.

 

BR Stefan Wahren

ラベル(1)
0 件の賞賛
1 解決策
660件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Stefan,

Issue #1: Usually I have updated my Segger firmware with the Segger updater utility which is as well provided with the Segger files inside KDS (C:\Freescale\KDS_1.1.0\segger\JlinkConfig.exe). Running that utility allows you to update the firmware too. Interestingly that it works with the 'Flash from file' functionality in KDS, obviously this has not built in that timeout. So thanks for that tip!

Issue #2:

You can select an individual Segger unit. For this you need to know the USB identification or serial number. You can use the JLinkConfig.exe mentioned above:

Segger Configuration.png

You get that number reported in the Console view of Eclipse too:

pastedImage_1.png

Now all what you need is to pass this number with the -select command (see below):

pastedImage_2.png

The C:\Freescale\KDS_1.1.0\segger\Doc\Manuals\UM08001_JLink.pdf explains that option (and others).

I hope the helps,

Erich

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
660件の閲覧回数
lategoodbye
Senior Contributor I

Thank you very much

0 件の賞賛
661件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Stefan,

Issue #1: Usually I have updated my Segger firmware with the Segger updater utility which is as well provided with the Segger files inside KDS (C:\Freescale\KDS_1.1.0\segger\JlinkConfig.exe). Running that utility allows you to update the firmware too. Interestingly that it works with the 'Flash from file' functionality in KDS, obviously this has not built in that timeout. So thanks for that tip!

Issue #2:

You can select an individual Segger unit. For this you need to know the USB identification or serial number. You can use the JLinkConfig.exe mentioned above:

Segger Configuration.png

You get that number reported in the Console view of Eclipse too:

pastedImage_1.png

Now all what you need is to pass this number with the -select command (see below):

pastedImage_2.png

The C:\Freescale\KDS_1.1.0\segger\Doc\Manuals\UM08001_JLink.pdf explains that option (and others).

I hope the helps,

Erich

0 件の賞賛