<?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-EVKB SDK - New Project clock setup incorrect in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-SDK-New-Project-clock-setup-incorrect/m-p/778665#M2499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2018 16:48:17 GMT</pubDate>
    <dc:creator>AndyCapon</dc:creator>
    <dc:date>2018-05-01T16:48:17Z</dc:date>
    <item>
      <title>iMXRT1050-EVKB SDK - New Project clock setup incorrect</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-SDK-New-Project-clock-setup-incorrect/m-p/778663#M2497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just got a EVKB board and have had great troubles getting a new project to run on the board. After a few hours of swearing, trying different debug probes, trying different PCs and general gnashing of teeth I think I have tracked down the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something is bad in the default clock_config.c. This is easy to replicate just create a new project, default everything then debug it. It never returns from BOARD_BootClockRun() and the board is also now toast the debugger will not connect to it again, the only way to get it back is to erase the flash and start again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;MCUXpresso RedlinkMulti Driver v10.1 (Dec 19 2017 17:02:15 - crt_emu_cm_redlink build 390)&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;Found chip XML file in /Development/Teensy/NXP/MCUXpressoIDE_10.1.1/1050/workspace/evkbimxrt1050_driver_examples_gpio_igpio_led_output/Debug/MIMXRT1052xxxxx.xml&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;Reconnected to existing redlink server (PID 4294967295)&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;Connecting to probe 1 core 0 (server PID unknown) gave 'OK'&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;Probe Firmware: LPC-LINK2 CMSIS-DAP V5.183 (NXP Semiconductors)&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;Serial Number:&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;I3FUJYIR&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;VID:PID:&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;1FC9:0090&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;USB Path: USB_1fc9_0090_222000_ff00&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;debug interface type&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;= &amp;lt;unknown&amp;gt; (DAP DP ID 0BD11477) over SWD&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;processor type&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;= Cortex-M7 (CPU ID 410FC270)&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;number of h/w breakpoints = 8&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;number of flash patches &lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;= 0&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;number of h/w watchpoints = 4&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;Probe(0): Connected&amp;amp;Reset. DpID: 0BD11477. CpuID: 410FC270. Info: &amp;lt;None&amp;gt;&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;Content of CoreSight Debug ROM(s):&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;RBASE E00FD000: CID B105100D PID 000008E88C ROM dev (type 0x1)&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;ROM 1 E00FE000: CID B105100D PID 04000BB4C8 ROM dev (type 0x1)&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;ROM 2 E00FF000: CID B105100D PID 04000BB4C7 ROM dev (type 0x1)&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;ROM 3 E000E000: CID B105E00D PID 04000BB00C ChipIP dev SCS (type 0x0)&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;ROM 3 E0001000: CID B105E00D PID 04000BB002 ChipIP dev DWT (type 0x0)&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;ROM 3 E0002000: CID B105E00D PID 04000BB00E ChipIP dev (type 0x0)&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;ROM 3 E0000000: CID B105E00D PID 04000BB001 ChipIP dev ITM (type 0x0)&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;ROM 2 E0041000: CID B105900D PID 04001BB975 ARCH 23B:4A13r0 CoreSight dev type 0x13 Trace Source - core&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;ROM 2 E0042000: CID B105900D PID 04004BB906 CoreSight dev type 0x14 Debug Control - Trigger, e.g. ECT&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;ROM 1 E0040000: CID B105900D PID 04000BB9A9 CoreSight dev type 0x11 Trace Sink - TPIU&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;ROM 1 E0043000: CID B105F00D PID 04001BB101 System dev (type 0x0)&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;Inspected v.2 External Flash Device on SPI using SPIFI lib MIMXRT1050-EVK_S26KS512S.cfx&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;Image 'MIMXRT1050-EVK_S26KS512SFeb 21 2018 17:40:48'&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;Opening flash driver MIMXRT1050-EVK_S26KS512S.cfx&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;Sending VECTRESET to run flash driver&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;target failed to halt after flash driver reset&lt;/P&gt;&lt;P style="color: #ff2600; margin: 0px; padding-left: 30px;"&gt;core registers failed - rc Ee(FF). Redlink interface error 255.&lt;/P&gt;&lt;P style="color: #ff2600; margin: 0px; padding-left: 30px;"&gt;chip initialization failed - Ee(FF). Redlink interface error 255.&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;failed to find a target memory area to use to test the Debug Access Port&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;required information about vendor NXP chip MIMXRT1052xxxxx not found&lt;/P&gt;&lt;P style="color: #ff2600; margin: 0px; padding-left: 30px;"&gt;Failed on chip setup: Ec(01). Invalid part, XML, or configuration.&lt;/P&gt;&lt;P style="margin: 0px; padding-left: 30px;"&gt;error closing down debug session - Ee(FF). Redlink interface error 255.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this with a machine that has never had MCUXpresso installed before with the new EVKB sdk and get exactly the same problem so I am guessing it is nothing to do with having the EVKA sdk installed previously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use the clock_config.* from the led_gpio example, overwriting the generated one in the new project then everything works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Apr 2018 06:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-SDK-New-Project-clock-setup-incorrect/m-p/778663#M2497</guid>
      <dc:creator>AndyCapon</dc:creator>
      <dc:date>2018-04-28T06:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1050-EVKB SDK - New Project clock setup incorrect</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-SDK-New-Project-clock-setup-incorrect/m-p/778664#M2498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The IDE takes the clock setup code for both the "new project wizard" and for example projects from within the installed SDK. However the code that is picked up is not necessarily the same (as examples generally have code tailored for the peripherals they are using).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my initial testing here, it appears that the clock setup code presented by the SDK for a new project works fine on the older EVK board, but does indeed give the behaviour you report with the newer EVKB board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'll report this to the SDK team for further analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 12:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-SDK-New-Project-clock-setup-incorrect/m-p/778664#M2498</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-04-30T12:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1050-EVKB SDK - New Project clock setup incorrect</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-SDK-New-Project-clock-setup-incorrect/m-p/778665#M2499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Super thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 16:48:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-SDK-New-Project-clock-setup-incorrect/m-p/778665#M2499</guid>
      <dc:creator>AndyCapon</dc:creator>
      <dc:date>2018-05-01T16:48:17Z</dc:date>
    </item>
  </channel>
</rss>

