KDS support for multiple microcontrollers

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

KDS support for multiple microcontrollers

跳至解决方案
860 次查看
gsosnow
Contributor II

Would like to have 2 K22's in one jtag chain. It appears segger j-link supports this, but was wondering how this would be supported/selected in KDS before implementing such a board design. Does KDS have support as far as selecting which processor to program and debug in the jtag chain?

0 项奖励
1 解答
770 次查看
BlackNight
NXP Employee
NXP Employee

Hi George,

you can pass the options to the GDB server here:

pastedImage_1.png

Erich

在原帖中查看解决方案

0 项奖励
5 回复数
770 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello George,

I strongly recommend  you refer to this artical :

Debug Multiple Boards with GDB at the Same Time | MCU on Eclipse 

Hope it helps


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
770 次查看
BlackNight
NXP Employee
NXP Employee

Hi George,

that link Alice has provided deals with multiple parallel debug connections. But what you want is to have multiple devices on the same JTAG chain. I have not done this, but the SEGGER J-Link reference manual (UM08001_JLink.pdf) provides information about the how you have to deal with multiple devices on the scan chain (search for "multiple devices in the scan chain). You can pass this information through the SEGGER J-Link debug launch configuration in Eclipse.

I hope this helps,

Erich

0 项奖励
770 次查看
gsosnow
Contributor II

Hi Erich,

Thanks for the J-Link Ref Man pointer. One thing that is mentioned, is “it is the responsibility of the application to allow the user to configure the scan chain. This is typically done in a dialog box”. Then they a give a couple of examples, one of them being in the IAR Embedded Workbench as below. I didn’t notice anything similar in the Debugger Configuration for KDS where the Position and preceeding IR len can be specified.

Thanks,

George

0 项奖励
771 次查看
BlackNight
NXP Employee
NXP Employee

Hi George,

you can pass the options to the GDB server here:

pastedImage_1.png

Erich

0 项奖励
770 次查看
gsosnow
Contributor II

Hi Erich,

Thanks, this should work with passing the option: -jtagconf

Thanks,

George

0 项奖励