<?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 runtime difficulties with project based on EVKB SDK v2.3.1 in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770996#M2345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed I have multiple SDK's installed. I didn't see a problem doing this as they are contained within&amp;nbsp;discrete zip archives (attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;realized that the SDK projects were running out of flash but using on-board SRAM resources. My project is based on SDRAM. At first switching the SDK demo projects from using SRAM to using BOARD_SDRAM resulted in hard faults. A co-worker traced the hard fault from a series of clock initializations that most likely should not be performed when running directly from SDRAM. Once the SDK demos had modified the preprocessor defined symbols to include&amp;nbsp;&lt;STRONG&gt;SKIP_SYSCLK_INIT&lt;/STRONG&gt;, those demos started running correctly out of SDRAM on both EVKA and EVKB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding the same preprocessor&amp;nbsp;&lt;STRONG&gt;SKIP_SYSCLK_INIT&lt;/STRONG&gt;&amp;nbsp;define to my original project did not resolve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional&amp;nbsp;differences between my project and the SDK demos are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- demos built using redlib (nohost) (C) with no support for floating point prints and scans&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;- my project is built using newlibnano (nohost) (C++) with support for floating point prints and scans. Also my project depends on a C++ static lib residing in the same workspace and built as a dependency.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to run a couple of experiments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I will remove all 2.3.0 SDKs and replace them with chip specific 2.3.1 SDKs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I will go thru the process of creating a skeleton project with static lib dependency based on C++ with some test code to see if I can reproduce the issue of running on EVKA but not on EVKB. If I am able to reproduce the issue, I will export that project and post it to the forum. Unfortunately I cannot post my existing project as some of its components are proprietary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will let you know what I find.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2018 15:45:03 GMT</pubDate>
    <dc:creator>edw8</dc:creator>
    <dc:date>2018-04-26T15:45:03Z</dc:date>
    <item>
      <title>iMXRT1050-EVKB runtime difficulties with project based on EVKB SDK v2.3.1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770994#M2343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello MCUXpresso IDE support team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We recently received qty 2 IMXRT1050-EVKB boards. Initially I ran into a similar problem as the one mentioned in this post:&amp;nbsp;&lt;A href="https://community.nxp.com/thread/474088"&gt;Download  "evkmimxrt1050_demo_apps_hello_world_xip" demo faild on MCUXpresso IDE v10.1.1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded the EVKB SDK v2.3.1 and imported it into MCUXpresso IDE. I then created a new project using this EVKB SDK's resources. The project has default settings with FreeRTOS support and assert support selected. I ported out existing project sources that currently only have dependencies on FreeRTOS calls to this new project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This new project builds and runs on MIMXRT1050-EVK the same way that it did on EVK-SDK-2.3.0. The project builds, loads, but fails shortly after set to run when using an IMXRT1050-EVKB. I've confirmed this behavior on two EVKB boards so far. The MCUXpresso IDE status bar states "Stalled on bus operation". When the IDE run state is stopped, the attached dialog is thrown by the IDE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially I had tried the native EVKB-SDK-2.3.1 hello_world example on the EVKB hardware and that ran without any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will create a sample FreeRTOS project from the SDK to see whether the behavior can be reproduced, however this appears to be strictly a board rev difference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas or troubleshooting tips are appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 19:44:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770994#M2343</guid>
      <dc:creator>edw8</dc:creator>
      <dc:date>2018-04-25T19:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1050-EVKB runtime difficulties with project based on EVKB SDK v2.3.1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770995#M2344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, I would suggest making sure that you don't have&amp;nbsp;both the original EVK SDK and the new EVKB SDK installed at the same time. &amp;nbsp;There appears to be a strange interaction between the two that we are currently looking into.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that aside, this seems very strange. If I understand you correctly, you are saying that your project runs correctly on the original EVK, but not on the EVKB.&amp;nbsp;Now if you did have both SDKs installed at the same time when you created your project, or even just now, the comment I&amp;nbsp;made above might possibly explain what you are seeing (as there are some differences between the two boards).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you clarify exactly what you, from the point that you start your debug session, to the point where you see the problem on the EVKB board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might also be worth going to the Breakpoints view before you start your debug session and deleting any breakpoints before you start (as the error does reference breakpoint removal, so I'm wondering if this is related).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If at all possible, it would be helpful&amp;nbsp;if you could export your project (via the option in the Quickstart Panel) and attach it to this thread, so that we can try to replicate exactly what you are seeing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you also provide the text from the debug logs from both debugging the project on the EVK board as well as the EVKB board? [See section 16.8, "The Console View" in the MCUXpresso IDE v10.1 User Guide for details of how to do this].&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>Thu, 26 Apr 2018 10:05:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770995#M2344</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-04-26T10:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1050-EVKB runtime difficulties with project based on EVKB SDK v2.3.1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770996#M2345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed I have multiple SDK's installed. I didn't see a problem doing this as they are contained within&amp;nbsp;discrete zip archives (attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;realized that the SDK projects were running out of flash but using on-board SRAM resources. My project is based on SDRAM. At first switching the SDK demo projects from using SRAM to using BOARD_SDRAM resulted in hard faults. A co-worker traced the hard fault from a series of clock initializations that most likely should not be performed when running directly from SDRAM. Once the SDK demos had modified the preprocessor defined symbols to include&amp;nbsp;&lt;STRONG&gt;SKIP_SYSCLK_INIT&lt;/STRONG&gt;, those demos started running correctly out of SDRAM on both EVKA and EVKB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding the same preprocessor&amp;nbsp;&lt;STRONG&gt;SKIP_SYSCLK_INIT&lt;/STRONG&gt;&amp;nbsp;define to my original project did not resolve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional&amp;nbsp;differences between my project and the SDK demos are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- demos built using redlib (nohost) (C) with no support for floating point prints and scans&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;- my project is built using newlibnano (nohost) (C++) with support for floating point prints and scans. Also my project depends on a C++ static lib residing in the same workspace and built as a dependency.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going to run a couple of experiments:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I will remove all 2.3.0 SDKs and replace them with chip specific 2.3.1 SDKs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I will go thru the process of creating a skeleton project with static lib dependency based on C++ with some test code to see if I can reproduce the issue of running on EVKA but not on EVKB. If I am able to reproduce the issue, I will export that project and post it to the forum. Unfortunately I cannot post my existing project as some of its components are proprietary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will let you know what I find.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 15:45:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770996#M2345</guid>
      <dc:creator>edw8</dc:creator>
      <dc:date>2018-04-26T15:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1050-EVKB runtime difficulties with project based on EVKB SDK v2.3.1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770997#M2346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a chance to run several tests on both the SDK dependencies and EVK/EVKB boards whose results I would like to share. I may make mention of EVKA vs EVKB behavior. For clarity, I am contrasting MIMXRT1050-EVK (EVKA) vs IMXRT1050-EVKB (EVKB).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;First I removed all my existing SDKs. I then imported three new SDKs created today based on SDK v2.3.1: MIMXRT1052xxxxx, MK64FN1M0xxx12, MK28FN2M0xxx15. This gives me access to four of the five eval kits I have to play with. I am hoping that having multiple processor SDKs from the same version within MCUXpresso IDE does not cause issues.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I created a new workspace and created two new projects – a C++ static library and a C++ project with the same options I used to create&amp;nbsp;my actual&amp;nbsp;projects that have proprietary code. The dependency tree was defined the same way, but I simplified the source by creating a test.hpp header in the C++ static library. This header defined a test class with a single member variable, a vanilla constructor and destructor and an access method that incremented the private var. The constructor, destructor and access method used the cout streaming directive to echo contents to UART.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I then edited the main function in the C++ project to instantiate an object from this library test class. The C++ test project then entered an infinite loop where it prints out the first ten counts for an ongoing counter, after which it calls the object’s access method in the next ten iterations and then runs silently until something overflows negative at which point the bad test code keeps printing "Initializing &amp;lt;negative number&amp;gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Code for the c++ library test class:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;class&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #005032;"&gt;TestLib&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;public&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;TestLib&lt;/STRONG&gt;() :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #0000c0;"&gt;m_Tracker&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;(0) { cout &amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"constructor"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"\r"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #642880; font-size: 10.0pt;"&gt;endl&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;~TestLib&lt;/STRONG&gt;() { cout &amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"&lt;SPAN style="text-decoration: underline;"&gt;destructor&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"\r"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #642880; font-size: 10.0pt;"&gt;endl&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;TapTracker&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;int&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;iter) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&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; cout &amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"TapTracker count "&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;&amp;lt; iter &amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;" -- called "&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #0000c0;"&gt;m_Tracker&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;" times!\r"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #642880; font-size: 10.0pt;"&gt;endl&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&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;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #0000c0;"&gt;m_Tracker&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;++;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;private&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;int&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #0000c0;"&gt;m_Tracker&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Code for the C++ project main() function:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;int&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;main&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #3f7f5f;"&gt;/*&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;Init&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;board hardware. */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BOARD_InitBootPins();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BOARD_InitBootClocks();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BOARD_InitBootPeripherals();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #3f7f5f;"&gt;/*&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;Init&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;FSL debug console. */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BOARD_InitDebugConsole();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #005032;"&gt;TestLib&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;testLib;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #3f7f5f;"&gt;/* Force the counter to be placed into memory. */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;volatile&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;static&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;int&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;i = 0 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #3f7f5f;"&gt;/* Enter an infinite loop, just incrementing a counter. */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;while&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;(1) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i++ ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(i &amp;lt; 10) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cout &amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"Initializing: "&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;&amp;lt; i &amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"\r"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #642880; font-size: 10.0pt;"&gt;endl&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;else&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(i &amp;lt; 20) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; testLib.TapTracker(i);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt;"&gt;return&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;This code builds without issue and loads on both the EVKA and EVKB, however it only runs on the EVKA. It presents the “stalled” status message on EVKB.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;I am attaching two items to this post.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;1. step by step instructions on how I created the test project and dependent static library, built and tested on both EVK types&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;2. an export of the two projects from my test workspace.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: #1f497d;"&gt;I am hoping that this allows you to reproduce the behavior I am seeing. Please let me know if this is not sufficient and I will grab the debug console dumps and include them as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 02:19:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770997#M2346</guid>
      <dc:creator>edw8</dc:creator>
      <dc:date>2018-04-27T02:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1050-EVKB runtime difficulties with project based on EVKB SDK v2.3.1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770998#M2347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A small update. I was able to take one of our earlier versions of our project running similar code, ported it to use SDK 2.3.1 in a new workspace (ie: created a new project from the SDK and added in custom sources for our project by hand) and again was only able to test on EVKA. EVKB had the same "Stalled" message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This project was a single C project (no static library) and was based on redlib with mostly default build options (ie: compiler set to default). It did print to UART using freescale PRINTs and not std lib printf, however the prints were only visible when running on EVKA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2018 16:56:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770998#M2347</guid>
      <dc:creator>edw8</dc:creator>
      <dc:date>2018-04-27T16:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1050-EVKB runtime difficulties with project based on EVKB SDK v2.3.1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770999#M2348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the delay in responding here. We are still looking into the problems that you report, but I suspect that you may be encountering the issue reported in :&lt;A href="https://community.nxp.com/thread/474910"&gt;https://community.nxp.com/thread/474910&lt;/A&gt;&amp;nbsp;&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:12:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/770999#M2348</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-04-30T12:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT1050-EVKB runtime difficulties with project based on EVKB SDK v2.3.1</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/771000#M2349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this seems to be the same issue. There are a large number of differences between the clock_config.c generated for a new project from the SDK and the one included in the demo SDK examples. The same is true for clock_config.h. I looked at the items provided in the gpio_led demo. I'm guessing this anomaly is true of other demos which explains why the FreeRTOS mutex demo and the hello world demo ran on the EVKB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I replaced the clock_config.c and clock_config.h in my project and library, the project ran on the EVKB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached the clock_config.c/.h originals for my project creation from SDK as well as the clock_config.c/.h for the GPIO LED demo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 13:45:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/iMXRT1050-EVKB-runtime-difficulties-with-project-based-on-EVKB/m-p/771000#M2349</guid>
      <dc:creator>edw8</dc:creator>
      <dc:date>2018-04-30T13:45:36Z</dc:date>
    </item>
  </channel>
</rss>

