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.
Has your problem been solved?Can you tell me your solution?
for segger hardware questions please apply to segger support
Hi Quyen
it is available on
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
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.
suggest to try with software versions described in readme.txt :
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.
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