<?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>Kinetis Design StudioのトピックRe: How do you build for release</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510680#M6663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ernest,&lt;/P&gt;&lt;P&gt;I create one project about RTC on other IDE(KEIL) , when use the j22, it can work well.&lt;/P&gt;&lt;P&gt;And it can not work well about the KDS + KSDK project ,i will check the problem continue .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 10:57:44 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2016-04-27T10:57:44Z</dc:date>
    <item>
      <title>How do you build for release</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510673#M6656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tried to run my code stand alone on the FRDMK64 but it does not run properly. I have noticed that the KSDK demos have two options for building under the hammer, &lt;STRONG&gt;debug&lt;/STRONG&gt; and&lt;STRONG&gt; release&lt;/STRONG&gt; however I currently only have a debug option in my project.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can tell that in stand alone mode my "seconds" interrupt from the RTC is not occurring, but I can see that the PIT interrupt is working.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone explain how to resolve this please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 14:09:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510673#M6656</guid>
      <dc:creator>therealfreegeek</dc:creator>
      <dc:date>2016-04-15T14:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do you build for release</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510674#M6657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ernest,&lt;/P&gt;&lt;P&gt;In normal, after download the project to as debug mode , it can work well ,&lt;/P&gt;&lt;P&gt;when run as stand alone it also can work well .&lt;/P&gt;&lt;P&gt;I recommend you first test on KSDK demo ,for example :KSDK_1.3.0\examples\frdmk64f\demo_apps\hello_world&lt;/P&gt;&lt;P&gt;check whether can work well stand alone on board . If yes, this meaning there is something wrong on your project,&lt;/P&gt;&lt;P&gt;you can check again or send your project .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 02:40:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510674#M6657</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-04-18T02:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you build for release</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510675#M6658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK thanks, it is odd that my code works in debug mode and not in release mode.&lt;/P&gt;&lt;P&gt;I used the red led on the board to find out which code was not running and can see it is the RTC seconds interrupt which does not get triggered when the board is used stand alone. I attached my code and appreciate your offer to have a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In debug mode the red led will come on immediately as the RTC seconds interrupt is enabled near the start of the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In stand alone mode you will see it does not come on, the code is running as you can toggle the blue led with SW2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2016 08:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510675#M6658</guid>
      <dc:creator>therealfreegeek</dc:creator>
      <dc:date>2016-04-18T08:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do you build for release</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510676#M6659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ernest,&lt;/P&gt;&lt;P&gt;I have test your project on my side , it can work well.&lt;/P&gt;&lt;P&gt;You do not need care the release or debug , in KDS , after download the it through debug ,&lt;/P&gt;&lt;P&gt;it also flash the project to the board , so please download it to your board,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32454iCAAF025D478EF854/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then you can close the KDS, also can re-insert the USB to OpenSDA, then press&lt;/P&gt;&lt;P&gt;the RESET button , you can see the the red led ON .&lt;/P&gt;&lt;P&gt;I attach the video on my side .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 10:45:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510676#M6659</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-04-19T10:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do you build for release</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510677#M6660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice, my application uses the other USB port (the K64 usb) for power and communication, please try to connect using this port only (no connection to the debug usb) and you will see that the led does not light.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 11:58:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510677#M6660</guid>
      <dc:creator>therealfreegeek</dc:creator>
      <dc:date>2016-04-19T11:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do you build for release</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510678#M6661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp; Ernest,&lt;/P&gt;&lt;P&gt;I test one LED demo , when change to another&amp;nbsp; USB, it can work well.&lt;/P&gt;&lt;P&gt;So this is not the KDS debug problem , i recommend you create one simple&lt;/P&gt;&lt;P&gt;project , only RTC component , check whether it can work well when use another USB.&lt;/P&gt;&lt;P&gt;And also check the FRDM-K64 sch .&lt;/P&gt;&lt;P&gt;I also will test it on my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 09:36:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510678#M6661</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-04-20T09:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do you build for release</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510679#M6662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, it did not take long to recreate the problem in a very simple project, I have added USBCDC and the Debug console so that PRINTF is sent over the K64 USB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main code is;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&lt;BR /&gt;DbgConsole_Init(BOARD_DEBUG_UART_INSTANCE, DEBUG_UART_BAUD, &lt;/SPAN&gt;&lt;EM style="color: #0000c0; font-size: 10pt; font-family: Consolas;"&gt;kDebugConsoleUSBCDC&lt;/EM&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;PRINTF(&lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-family: Consolas; font-size: 10pt;"&gt;"Hello world \r\n"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt; font-family: Consolas;"&gt;int&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt; i = 0;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt; font-family: Consolas;"&gt;for&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;(;;){&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt; font-family: Consolas;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt; (second_tick == 1 ){&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PRINTF(&lt;/SPAN&gt;&lt;SPAN style="color: #2a00ff; font-family: Consolas; font-size: 10pt;"&gt;"%d\r\n"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;, i);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; second_tick = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i++;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;and the interrupt handler is;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt; font-family: Consolas;"&gt;void&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt; &lt;STRONG&gt;RTC_Seconds_IRQHandler&lt;/STRONG&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10pt; font-family: Consolas;"&gt;void&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt; font-family: Consolas;"&gt;&lt;SPAN style="color: #000000;"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; second_tick = 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;The project prints as expected on the K64 USB when running from the debugger but when running stand alone only prints "Hello world", then nothing, as if the RTC seconds interrupt is not happening.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;Please try and let me know if you see the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 11:23:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510679#M6662</guid>
      <dc:creator>therealfreegeek</dc:creator>
      <dc:date>2016-04-21T11:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do you build for release</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510680#M6663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ernest,&lt;/P&gt;&lt;P&gt;I create one project about RTC on other IDE(KEIL) , when use the j22, it can work well.&lt;/P&gt;&lt;P&gt;And it can not work well about the KDS + KSDK project ,i will check the problem continue .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 10:57:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510680#M6663</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-04-27T10:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do you build for release</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510681#M6664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ernest,&lt;/P&gt;&lt;P&gt;I find the reason, please connect the 2-3 of J25 on the FRDM-K64 board,&lt;/P&gt;&lt;P&gt;then USB insert to J22, press the RESET button(sw1), then you can see the LED on/off .&lt;/P&gt;&lt;P&gt;For at the time , it directly reset the MCU, or it need reset through OPENSDA.&lt;/P&gt;&lt;P&gt;I also attached my test project .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 07:18:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510681#M6664</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-04-28T07:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do you build for release</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510682#M6665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice, you should not have to power the debug usb port or push the reset switch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is a bug in the RTC silicon, KSDK driver or PEx implementation, but I am not sure where.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found a work around which makes it work properly every time with just the K64 USB connected and no need to push the reset switch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I disabled the PEx init check boxes and did the init manually and it now works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I posted over in the KSDK forum &lt;A href="https://community.nxp.com/thread/390734"&gt;Stand alone run mode not matching debug session&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 19:04:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-do-you-build-for-release/m-p/510682#M6665</guid>
      <dc:creator>therealfreegeek</dc:creator>
      <dc:date>2016-04-29T19:04:41Z</dc:date>
    </item>
  </channel>
</rss>

