<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Debugging Cortex-M4 on i.MX7D with Segger J-Link and GDB (and thus standard Eclipse) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695224#M107796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, D. RY,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your promt reply. Much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Yes its some JTAG clone which works with many IDEs and microcontrollers. I am first time checking with toradex. More details about the JTAG on this page -&amp;nbsp;&lt;A class="link-titled" href="https://www.hotmcu.com/usbminijtag-jtagswd-debuggeremula%E2%80%8Btor-p-29.html?cPath=3_25" title="https://www.hotmcu.com/usbminijtag-jtagswd-debuggeremula%E2%80%8Btor-p-29.html?cPath=3_25"&gt;USB-MiniJTAG JTAG/SWD Debugger/Emulator [USB-MiniJTAG] - US $13.00 : HAOYU Electronics : Make Engineers Job Easier&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I tried the 6.70c (32bit &amp;amp; 64bit) and recently as per toradex web site I tried Jlink Version 6.48b (64/32bit) (&lt;A class="link-titled" href="https://developer.toradex.com/software/freertos/developing-m4-applications-using-visual-studio-code#3_Installing_Debugging_Tools-7" title="https://developer.toradex.com/software/freertos/developing-m4-applications-using-visual-studio-code#3_Installing_Debugging_Tools-7"&gt;Developing M4 Applications Using Visual Studio Code&lt;/A&gt;&amp;nbsp;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both have same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can we do? Which JTAG you use?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kashyap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2020 09:37:43 GMT</pubDate>
    <dc:creator>kashyap_gada</dc:creator>
    <dc:date>2020-04-27T09:37:43Z</dc:date>
    <item>
      <title>Debugging Cortex-M4 on i.MX7D with Segger J-Link and GDB (and thus standard Eclipse)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695219#M107791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently got the iMX7D based SABRE board to play with (MCIMX7SABRE), and I'm interested in the M4 side for work.&lt;/P&gt;&lt;P&gt;I needed to set it up to work with existing tools at hand: GDB, Segger J-Link, Eclipse essentially. And using the NXP's supported&amp;nbsp; &amp;amp; provided FreeRTOS and the BSP.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The docs &amp;amp; readme's are good, but I found I had to do some extra setup steps or tweaking to make it work in my setup.&lt;/P&gt;&lt;P&gt;What I referred to or examined :&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fdeveloper-resources%2Fhardware-development-tools%2Fsabre-development-system%2Fsabre-board-for-smart-devices-based-on-the-i.mx-7dual-applications-processors%3AMCIMX7SABRE%3Ftab%3DIn-Depth_Tab" rel="nofollow" target="_blank"&gt;i.MX 7Dual SABRE Board|NXP&lt;/A&gt;&amp;nbsp; &amp;nbsp;the Getting Started part&lt;/P&gt;&lt;P&gt;2. Getting_Started_with_FreeRTOS_BSP_for_i.MX_7Dual.pdf (inside FreeRTOS provided BSP package)&lt;/P&gt;&lt;P&gt;3.&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN5317.pdf" rel="nofollow" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN5317.pdf&lt;/A&gt;&amp;nbsp; (that's the key app note really )&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fuser-guide%2FKSDK13GSUG.pdf" rel="nofollow" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/KSDK13GSUG.pdf&lt;/A&gt;&amp;nbsp; &amp;nbsp;(referred to under 1))&lt;/P&gt;&lt;P&gt;5.&amp;nbsp;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwiki.segger.com%2FIMX7D" rel="nofollow" target="_blank"&gt;IMX7D - SEGGER - Support Wiki&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the above enough to connect to M4 and upload a binary blob, but I had to add extra steps to setup the debugging properly.&amp;nbsp; As you will note from 1), 2) ,&amp;nbsp; J-Link and GDB (and plain Eclipse ) is not supported in the docs.&amp;nbsp; When going through 1), under "3. FreeRTOS" tab, clicking on "Use ARM GCC" brings up a window with extra information with some required GDB steps, but they are definitely not enough. And at the top of that window you can click on "Download PDF" and get 4), which I found irrelevant:&amp;nbsp; it describes Kinetis SDK, Attolic (which are Eclipse based..),and other IDE's setup for other targets, I didn't see iMX7 or SABRE in that doc.&amp;nbsp; And, it uses OpenSDA, and I don't think the SABRE board I'm using even has it (am I wrong..?). In any case, I've setup it to use J-Linkj through JTAG interface.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The key doc is the appnote in 3), and the Segger's script to connect to M4 of iMX7D referred to in 5) but is also part of standard J-Link install&amp;nbsp; - at least in my Segger version V 6.20b I'm using now.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I've modified that Segger's script (see attached) and the appnote (from 3)) process of connecting to M4 and starting to debug.&amp;nbsp; I find, in my testing on this one board with iMX7D and the provided examples (i tested 2), I don't have to do first connect to the A7 to let the M4 go: with the modified reset procedure it seems to work with just the M4 connection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(So is this spurious .. ?&amp;nbsp; The AN in 3) says you have to first connect to A7 &amp;amp; start M4, and Segger's wiki repeats what the AN says.&amp;nbsp; May be I got 'lucky' ..)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After you've connected to M4, with or without the initial A7 connection to enable M4 (and using or not the customized script or not), the GDB commands&amp;nbsp; required , after you connected to Segger GDBServer, are:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;monitor halt&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Eclipse: I un-tick Initial Reset &amp;amp; halt and put this under "additional to alternative inits window .. "&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // (put whatever else you need, but with customized Segger script initial reset is done on connect)&lt;/P&gt;&lt;P&gt;load&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Eclipse does this if you tick enable Load executable&amp;nbsp;&lt;/P&gt;&lt;P&gt;---------------------&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// The below goes to Run/Restart Commands, un-tick Pre-Run/Restart reset&lt;/P&gt;&lt;P&gt;mon clrbp&lt;BR /&gt;mon halt&lt;BR /&gt;mon memU32 0x3039000C 0xAC&lt;BR /&gt;eval "monitor memU32 0x00180000 %p", &amp;amp;__stack&lt;BR /&gt;eval "monitor memU32 0x00180004 %p", &amp;amp;Reset_Handler + 1&lt;BR /&gt;mon memU32 0xE000EDFC 0x01000001&lt;BR /&gt;mon memU32 0x3039000C 0xAA&lt;/P&gt;&lt;P&gt;--------------------&lt;/P&gt;&lt;P&gt;tbreak main&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //Eclipse tick Set breakpoint at ..&lt;/P&gt;&lt;P&gt;continue&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//Eclipse tick continue&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Eclipse, using the modified J-Link script, the above steps would be under "Startup" bar.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So with these settings, I'm able to debug on the iMX7D Cortex-M4, using my Segger J-Link, GDB and Eclipse (not Kinetis, Attolic , or DS-5, just Eclipse with GNU ARM plugin)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone else has same tools but&amp;nbsp;sets it up differently?&amp;nbsp; If you don't mind sharing ...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336214"&gt;NXP_iMX7D_Connect_CortexM4.JLinkScript.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 04:50:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695219#M107791</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2017-10-02T04:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Cortex-M4 on i.MX7D with Segger J-Link and GDB (and thus standard Eclipse)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695220#M107792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I gave a quick try on Toradex's iMX7D Colibri, and it hooked up to debug Hello World just fine.&amp;nbsp; Also without initial A7 connect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;weee haaaaaaa&amp;nbsp; :smileysilly:.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 12:19:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695220#M107792</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2017-10-02T12:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Cortex-M4 on i.MX7D with Segger J-Link and GDB (and thus standard Eclipse)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695221#M107793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updated script with a fix.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 02:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695221#M107793</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2018-02-09T02:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Cortex-M4 on i.MX7D with Segger J-Link and GDB (and thus standard Eclipse)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695222#M107794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey D. RY, I tried above JLinkScript with Toradex Colibri imx7 but it failed to debug with following output -&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Debug Output&lt;/P&gt;&lt;P&gt;SEGGER J-Link GDB Server V6.70g Command Line Version&lt;/P&gt;&lt;P&gt;JLinkARM.dll V6.70g (DLL compiled Apr 23 2020 09:11:56)&lt;/P&gt;&lt;P&gt;Command line: -if jtag -device MCIMX7D7_M4 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -singlerun -strict -timeout 0 -nogui -scriptfile /opt/SEGGER/NXP_iMX7D_Connect_CortexM4.JLinkScript&lt;BR /&gt;-----GDB Server start settings-----&lt;BR /&gt;GDBInit file: none&lt;BR /&gt;GDB Server Listening port: 2331&lt;BR /&gt;SWO raw output listening port: 2332&lt;BR /&gt;Terminal I/O port: 2333&lt;BR /&gt;Accept remote connection: localhost only&lt;BR /&gt;Generate logfile: off&lt;BR /&gt;Verify download: on&lt;BR /&gt;Init regs on start: on&lt;BR /&gt;Silent mode: off&lt;BR /&gt;Single run mode: on&lt;BR /&gt;Target connection timeout: 0 ms&lt;BR /&gt;------J-Link related settings------&lt;BR /&gt;J-Link Host interface: USB&lt;BR /&gt;J-Link script: /opt/SEGGER/NXP_iMX7D_Connect_CortexM4.JLinkScript&lt;BR /&gt;J-Link settings file: none&lt;BR /&gt;------Target related settings------&lt;BR /&gt;Target device: MCIMX7D7_M4&lt;BR /&gt;Target interface: JTAG&lt;BR /&gt;Target interface speed: 1000kHz&lt;BR /&gt;Target endian: little&lt;/P&gt;&lt;P&gt;Connecting to J-Link...&lt;BR /&gt;J-Link is connected.&lt;BR /&gt;Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 19:52:04&lt;BR /&gt;Hardware: V7.00&lt;BR /&gt;Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull&lt;BR /&gt;Checking target voltage...&lt;BR /&gt;Target voltage: 3.30 V&lt;BR /&gt;Listening on TCP/IP port 2331&lt;BR /&gt;Connecting to target...&lt;/P&gt;&lt;P&gt;J-Link found 1 JTAG device, Total IRLen = 4&lt;BR /&gt;JTAG ID: 0x4BA00477 (Cortex-M4)&lt;BR /&gt;Connected to target&lt;BR /&gt;Waiting for GDB connection...Connected to 127.0.0.1&lt;BR /&gt;Reading all registers&lt;BR /&gt;Read 4 bytes @ address 0x00000000 (Data = 0x20008000)&lt;BR /&gt;Read 2 bytes @ address 0x00000000 (Data = 0x8000)&lt;BR /&gt;Received monitor command: speed 1000&lt;BR /&gt;Target interface speed set to 1000 kHz&lt;BR /&gt;Received monitor command: clrbp&lt;BR /&gt;Received monitor command: reset&lt;BR /&gt;WARNING: T-bit of XPSR is 0 but should be 1. Changed to 1.&lt;BR /&gt;Resetting target&lt;BR /&gt;Received monitor command: halt&lt;BR /&gt;Halting target CPU...&lt;BR /&gt;...Target halted (PC = 0x00000000)&lt;BR /&gt;Received monitor command: regs&lt;BR /&gt;R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000&lt;BR /&gt;R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000&lt;BR /&gt;R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000&lt;BR /&gt;R12= 00000000, R13= 00000000, MSP= 00000000, PSP= 00000000&lt;BR /&gt;R14(LR) = FFFFFFFF, R15(PC) = 00000000&lt;BR /&gt;XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000&lt;BR /&gt;CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00&lt;BR /&gt;Reading all registers&lt;BR /&gt;Received monitor command: speed auto&lt;BR /&gt;Select auto target interface speed (1000 kHz)&lt;BR /&gt;Received monitor command: flash breakpoints 0&lt;BR /&gt;Flash breakpoints disabled&lt;BR /&gt;Received monitor command: semihosting enable&lt;BR /&gt;Semi-hosting enabled (Handle on BKPT)&lt;BR /&gt;Received monitor command: semihosting IOClient 1&lt;BR /&gt;Semihosting I/O set to TELNET Client&lt;BR /&gt;Read 4 bytes @ address 0x00000000 (Data = 0x00000000)&lt;BR /&gt;Downloading 576 bytes @ address 0x00000000 - Verified OK&lt;BR /&gt;Downloading 10440 bytes @ address 0x1FFF8000 - Verified OK&lt;BR /&gt;Downloading 8 bytes @ address 0x1FFFA8C8 - Verified OK&lt;BR /&gt;Downloading 4 bytes @ address 0x1FFFA8D0 - Verified OK&lt;BR /&gt;Downloading 4 bytes @ address 0x1FFFA8D4 - Verified OK&lt;BR /&gt;Downloading 156 bytes @ address 0x20000000 - Verified OK&lt;BR /&gt;Writing register (PC = 0x1fff80b4)&lt;BR /&gt;Read 4 bytes @ address 0x1FFF80B4 (Data = 0xF8DFB672)&lt;BR /&gt;Read 2 bytes @ address 0x1FFF80B4 (Data = 0xB672)&lt;BR /&gt;Read 2 bytes @ address 0x1FFF9220 (Data = 0xB508)&lt;BR /&gt;Received monitor command: clrbp&lt;BR /&gt;Received monitor command: reset&lt;BR /&gt;WARNING: T-bit of XPSR is 0 but should be 1. Changed to 1.&lt;BR /&gt;Resetting target&lt;BR /&gt;Received monitor command: halt&lt;BR /&gt;Halting target CPU...&lt;BR /&gt;...Target halted (PC = 0x00000000)&lt;BR /&gt;Read 2 bytes @ address 0x1FFF9220 (Data = 0xB508)&lt;BR /&gt;Received monitor command: regs&lt;BR /&gt;R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000&lt;BR /&gt;R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000&lt;BR /&gt;R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000&lt;BR /&gt;R12= 00000000, R13= 00000000, MSP= 00000000, PSP= 00000000&lt;BR /&gt;R14(LR) = FFFFFFFF, R15(PC) = 00000000&lt;BR /&gt;XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000&lt;BR /&gt;CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00&lt;BR /&gt;Reading all registers&lt;BR /&gt;Setting breakpoint @ address 0x1FFF9220, Size = 2, BPHandle = 0x0001&lt;BR /&gt;Starting target CPU...&lt;BR /&gt;/opt/SEGGER/JLink/JLinkGUIServerExe: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory&lt;BR /&gt;Reading all registers&lt;BR /&gt;Removing breakpoint @ address 0x1FFF9220, Size = 2&lt;BR /&gt;WARNING: Could not remove breakpoint @ address 0x1FFF9220&lt;BR /&gt;ERROR: Failed to set breakpoint at 0x1FFF9220&lt;BR /&gt;WARNING: Failed to read memory @ address 0xEA5FA2C8&lt;BR /&gt;WARNING: Failed to read memory @ address 0xEA5FA2C8&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Apr 2020 18:23:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695222#M107794</guid>
      <dc:creator>kashyap_gada</dc:creator>
      <dc:date>2020-04-25T18:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Cortex-M4 on i.MX7D with Segger J-Link and GDB (and thus standard Eclipse)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695223#M107795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kashyap,&lt;/P&gt;&lt;P&gt;I can check on my small Toradex board with iMX7D.&amp;nbsp; I haven't checked Segger's updated software in a while.&lt;/P&gt;&lt;P&gt;Note, from your trace I saw:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Firmware: J-Link &lt;EM&gt;&lt;STRONG&gt;ARM-OB STM32&lt;/STRONG&gt; &lt;/EM&gt;compiled Aug 22 2012 19:52:04&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is this some on-board Segger debugger you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #f6f6f6;"&gt;/opt/SEGGER/JLink/JLinkGUIServerExe: error while loading shared libraries: libQtGui.so.4: cannot open shared object file: No such file or directory&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Looks like broken Segger install. It doesn't matter for debugging but I would just use non-GUI version - console is just as great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 08:34:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695223#M107795</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2020-04-27T08:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Cortex-M4 on i.MX7D with Segger J-Link and GDB (and thus standard Eclipse)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695224#M107796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, D. RY,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your promt reply. Much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Yes its some JTAG clone which works with many IDEs and microcontrollers. I am first time checking with toradex. More details about the JTAG on this page -&amp;nbsp;&lt;A class="link-titled" href="https://www.hotmcu.com/usbminijtag-jtagswd-debuggeremula%E2%80%8Btor-p-29.html?cPath=3_25" title="https://www.hotmcu.com/usbminijtag-jtagswd-debuggeremula%E2%80%8Btor-p-29.html?cPath=3_25"&gt;USB-MiniJTAG JTAG/SWD Debugger/Emulator [USB-MiniJTAG] - US $13.00 : HAOYU Electronics : Make Engineers Job Easier&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I tried the 6.70c (32bit &amp;amp; 64bit) and recently as per toradex web site I tried Jlink Version 6.48b (64/32bit) (&lt;A class="link-titled" href="https://developer.toradex.com/software/freertos/developing-m4-applications-using-visual-studio-code#3_Installing_Debugging_Tools-7" title="https://developer.toradex.com/software/freertos/developing-m4-applications-using-visual-studio-code#3_Installing_Debugging_Tools-7"&gt;Developing M4 Applications Using Visual Studio Code&lt;/A&gt;&amp;nbsp;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both have same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can we do? Which JTAG you use?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kashyap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 09:37:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695224#M107796</guid>
      <dc:creator>kashyap_gada</dc:creator>
      <dc:date>2020-04-27T09:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Cortex-M4 on i.MX7D with Segger J-Link and GDB (and thus standard Eclipse)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695225#M107797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tested on latest&amp;nbsp; - v6.70g Jlink - and it works as before , i can upload and start debugging Hello World just fine.&lt;/P&gt;&lt;P&gt;Here is log link, if it is of any reconciliation to you..&lt;/P&gt;&lt;P&gt;&lt;A href="https://drive.google.com/open?id=12vqzA5xfetzQcVRub-DqUWUyJ6fATzIz"&gt;jlinkgdb v 6.70g log , imx7d&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About which IDE / GUI : that I will not check, and it shouldn't affect JLink monitor working. The starting point is the debug probe + GDBServer , and GDB client, and this seems to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do want to improve my connect script, when I have time I will do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 04:47:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-Cortex-M4-on-i-MX7D-with-Segger-J-Link-and-GDB-and/m-p/695225#M107797</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2020-04-28T04:47:10Z</dc:date>
    </item>
  </channel>
</rss>

