Using JLink Debugger for M4 software on IMX8M

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

Using JLink Debugger for M4 software on IMX8M

4,565 次查看
quyenngo
Contributor II

I have a problem when trying to use JLink debugger for IMX8M.

Follow the instruction oat chapter 5 of Getting Started with MCUXpresso SDK i.MX 8M Quad, Rev. B, 12/2017 document, I can build the demo application with ARM-GCC.

But I can not connect to JLink debugger. 

The instruction says that "Before running a demo, make sure the iar_segger_support_patch_imx8 patch is installed."

But I don't know how to get the patch and install it.

Please help.

标签 (1)
9 回复数

3,404 次查看
quyenngo
Contributor II

Hi there, how about my others 3 questions?

0 项奖励
回复

3,404 次查看
mengzhu0047
Contributor I

Has your problem been solved?Can you tell me your solution?

0 项奖励
回复

3,404 次查看
markind
Contributor II

Looks like newest segger jlink versions as of 6.46 have support for MIMX8MQ6_M4

0 项奖励
回复

3,404 次查看
igorpadykov
NXP Employee
NXP Employee

for segger hardware questions please apply to segger support

Technical Support | SEGGER - The Embedded Experts 

0 项奖励
回复

3,404 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Quyen

it is available on

i.MX Software|NXP 

pastedImage_2.jpg

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

3,404 次查看
quyenngo
Contributor II

I tried to apply this patch by it did not work. 

There is not MIMX8MQ6_M4 in the device list.

I tried GDB-sever with Linux host too, but it said that it can connect to the device.

 

Another problem, I tried to build the SDK with IAR workbench, V8.32, but it shows many errors. I tried to follow this instruction to fix the errors but it did not work.

http://www.emcu.it/ARM_Compiler/IAR/IAR_tips_and_tricks.html

 

If you have any experience with IAR, please help me to fix it.

JLinkDevices.pngNXP.png

0 项奖励
回复

3,404 次查看
igorpadykov
NXP Employee
NXP Employee

suggest to try with software versions described in readme.txt :

pastedImage_1.jpg

0 项奖励
回复

3,404 次查看
quyenngo
Contributor II

Please answer all of my questions. I have to wait for a long time to get the answer from you. So, please.

1, The patch which I download from your suggestion link is JLINK-V633d, I cannot find the link to download this version on Segger site:
SEGGER - The Embedded Experts - Downloads - J-Link / J-Trace 

2, I downloaded the newest version of SDK http://prntscr.com/lbn1fo. And its document says that it does not require IAR patch anymore. Is it correct?

3, I tried GDB-sever with Linux host too, but it said that it can connect to the device. How can I pass this problem?

4, Another problem, I tried to build the SDK with IAR workbench, V8.32, but it shows many errors. I tried to follow this instruction to fix the errors but it did not work.

http://www.emcu.it/ARM_Compiler/IAR/IAR_tips_and_tricks.html

 If you have any experience with IAR, please help me to fix it.

pastedImage_4.pngpastedImage_2.png

0 项奖励
回复

3,404 次查看
igorpadykov
NXP Employee
NXP Employee

I just tested "hellow world" with IAR 8.20.2 and it builds well, please
recheck project configuration (right click mouse on project "options") below

pastedImage_1.jpg

pastedImage_2.jpg

0 项奖励
回复