<?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: IMXRT1050 - Error while debuging in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-Error-while-debuging/m-p/1205063#M11915</link>
    <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;Can you elaborate more on ISP mode? I am new to NXP boards and do not know how to do that exactly.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Dec 2020 00:11:27 GMT</pubDate>
    <dc:creator>dynamix</dc:creator>
    <dc:date>2020-12-30T00:11:27Z</dc:date>
    <item>
      <title>IMXRT1050 - Error while debuging</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-Error-while-debuging/m-p/1205056#M11913</link>
      <description>&lt;P&gt;Hey folks,&lt;/P&gt;&lt;P&gt;Today, in the middle of debugging my program, I got some errors. After that, when I am trying to enter the debug mode and upload my program, I got the below errors:&lt;/P&gt;&lt;P&gt;MCUXpresso IDE RedlinkMulti Driver v11.2 (Sep 22 2020 13:27:40 - crt_emu_cm_redlink build 19)&lt;BR /&gt;Found chip XML file in /home/picovoice/work/gitlab/zoo-dev/mcu-fs/imxrt1050/imxrt1050-evkb/profile/Debug/MIMXRT1052xxxxB.xml&lt;BR /&gt;( 5) Remote configuration complete&lt;BR /&gt;Reconnected to existing LinkServer process.&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;============= SCRIPT: RT1050_connect.scp =============&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;RT1050 Connect Script&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;DpID = 0BD11477&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;APID = 0x04770041&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;Error: Wire Ack Wait Fault&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;Disabling MPU&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;Error: Wire Ack Wait Fault&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;Error: Wire Ack Wait Fault&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;Configure FlexRAM for 256KB OC RAM, 128KB I-TCM, 128KB D-TCM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;Error: Wire Ack Wait Fault&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;Error: Wire Ack Wait Fault&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;Error: Wire Ack Wait Fault&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;Finished&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FFCC00"&gt;============= END SCRIPT =============================&lt;/FONT&gt;&lt;BR /&gt;Probe Firmware: DAPLink CMSIS-DAP (ARM)&lt;BR /&gt;Serial Number: 0227000041114e450021300ac204003bdf91000097969900&lt;BR /&gt;VID:PID: 0D28:0204&lt;BR /&gt;USB Path: /dev/hidraw7&lt;BR /&gt;connection failed - Em(01). Cannot find MEM-AP selected by core index (check target power).. Retrying&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Failed on connect: Em(01). Cannot find MEM-AP selected by core index (check target power)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Connected&amp;amp;Reset. Was: NotConnected. DpID: 0BD11477. CpuID: 00000000. Info: &amp;lt;None&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;Last stub error 0: OK&lt;BR /&gt;Last sticky error: 0x0 AIndex: 0&lt;BR /&gt;No debug bus (MemAp) selected&lt;BR /&gt;DAP Speed test unexecuted or failed&lt;BR /&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;BR /&gt;(100) Target Connection Failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I even tried to erase the flash, based on &lt;A href="https://ask.embedded-wizard.de/3773/flashing-demos-on-imx-rt1050" target="_self"&gt;https://ask.embedded-wizard.de/3773/flashing-demos-on-imx-rt1050&lt;/A&gt; , but I am getting the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me to fix this issue?&lt;/P&gt;&lt;P&gt;I really appreciate any help you can provide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: When I set the DIP Switch SW7 to OFF, OFF, OFF, ON, the error has changed to the below:&lt;/P&gt;&lt;P&gt;Sending VECTRESET to run flash driver&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Driver V.2 dynamic startup failed - driver Init provided no flash parameters&lt;/FONT&gt;&lt;BR /&gt;Flash Driver V.2 startup failed - rc Ef(55): Dynamic flash driver startup failed to provide flash parameters.&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Terminate (0x0, 0x0, 0x0) status 0x40 - driver reports init failure - EXTSPIJ driver rc 7000 (0x1B58)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;chip initialization failed - Ef(55): Dynamic flash driver startup failed to provide flash parameters.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;failed to initialize flash driver MIMXRT1050_SFDP_HYPERFLASH.cfx&lt;/FONT&gt;&lt;BR /&gt;Inspected v.2 External Flash Device on SPI using SFDP JEDEC ID MIMXRT1050_SFDP_HYPERFLASH.cfx&lt;BR /&gt;Image 'iMXRT1050_SFDP_HYPERFLASH Sep 25 2020 10:49:29'&lt;BR /&gt;Opening flash driver MIMXRT1050_SFDP_HYPERFLASH.cfx&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;chip initialization failed - Ep(08). Cannot access core regs when target running.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF9900"&gt;failed to initialize flash driver MIMXRT1050_SFDP_HYPERFLASH.cfx&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 00:32:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-Error-while-debuging/m-p/1205056#M11913</guid>
      <dc:creator>dynamix</dc:creator>
      <dc:date>2020-12-30T00:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1050 - Error while debuging</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-Error-while-debuging/m-p/1205058#M11914</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Put the board in ISP mode and see whether you can then program it.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 00:07:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-Error-while-debuging/m-p/1205058#M11914</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2020-12-30T00:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1050 - Error while debuging</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-Error-while-debuging/m-p/1205063#M11915</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;Can you elaborate more on ISP mode? I am new to NXP boards and do not know how to do that exactly.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 00:11:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-Error-while-debuging/m-p/1205063#M11915</guid>
      <dc:creator>dynamix</dc:creator>
      <dc:date>2020-12-30T00:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1050 - Error while debuging</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-Error-while-debuging/m-p/1205072#M11918</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See section 4 of &lt;A href="https://www.utasker.com/docs/iMX/uTaskerV1.4_iMX.pdf" target="_blank"&gt;https://www.utasker.com/docs/iMX/uTaskerV1.4_iMX.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For your board the switches are on the top and SW7 needs to be set to 0101 for ISP mode and returned to 0110 for RUN mode.&lt;/P&gt;&lt;P&gt;In ISP mode the debugger should be able to grab hold of the processor even if you have code that is otherwise causing it to fail connection.&lt;/P&gt;&lt;P&gt;Try also binaries from &lt;A href="https://www.utasker.com/iMX/RT1050.html" target="_blank"&gt;https://www.utasker.com/iMX/RT1050.html&lt;/A&gt; in ISP mode too if you still have difficulties (or if you want to make general development and learning more efficient)&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2020 00:56:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1050-Error-while-debuging/m-p/1205072#M11918</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2020-12-30T00:56:09Z</dc:date>
    </item>
  </channel>
</rss>

