<?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: Debugging issue on kds for kl-25z</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-issue-on-kds-for-kl-25z/m-p/409097#M2935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surender,&lt;/P&gt;&lt;P&gt;I suggest you review the Getting Started online tutorial for KDS/KSDK for the FRDM-KL25Z:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/tools/software-and-tools/hardware-development-tools/freedom-development-boards/freedom-development-platform-for-kinetis-kl14-kl15-kl24-kl25-mcus:FRDM-KL25Z?tab=In-Depth_Tab" title="http://www.freescale.com/tools/software-and-tools/hardware-development-tools/freedom-development-boards/freedom-development-platform-for-kinetis-kl14-kl15-kl24-kl25-mcus:FRDM-KL25Z?tab=In-Depth_Tab"&gt;Freedom Development Platform for Kinetis KL|Freescale&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At that link there is also documentation on the device so you know what peripherals it has implemented.&lt;/P&gt;&lt;P&gt;Your code above shows UART but the attached archive was trying to use LPSCI which the KL25Z doesn't have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General information....Kinetis devices power up with most peripherals disabled/off.&amp;nbsp; Configuration needs to be done to ready a module for use.&amp;nbsp; #1 is to turn on the clock source to the module.&amp;nbsp; If you try to access a peripheral that has the clock disabled, you will get an exception like you are seeing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read:&amp;nbsp; C:\Freescale\KSDK_1.3.0\doc\Getting Started with Kinetis SDK (KSDK) v.1.3.pdf &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that KSDK_1.3 has many good examples to learn from:&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.3.0\examples\frdmkl25z\demo_apps&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.3.0\examples\frdmkl25z\examples&lt;/P&gt;&lt;P&gt;Reference:&amp;nbsp; C:\Freescale\KSDK_1.3.0\doc\Kinetis SDK v.1.3 Demo Applications User's Guide.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Links to videos:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/community/kinetis/kinetis-design-studio/content?filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bvideo%5D" title="https://community.freescale.com/community/kinetis/kinetis-design-studio/content?filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bvideo%5D"&gt;Kinetis Design Studio&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/community/kinetis/kinetis-software-development-kit/content?filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bvideo%5D" title="https://community.freescale.com/community/kinetis/kinetis-software-development-kit/content?filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bvideo%5D"&gt;Kinetis Software Development Kit&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Nov 2015 18:24:41 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2015-11-13T18:24:41Z</dc:date>
    <item>
      <title>Debugging issue on kds for kl-25z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-issue-on-kds-for-kl-25z/m-p/409096#M2934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to configure uart for KL-25z on KDS 3.0 with KSDK 1.3&lt;/P&gt;&lt;P&gt;UART_HAL_Init(UART1);&lt;/P&gt;&lt;P&gt;after the function call it is jumping to startup_MKL25Z4.s file and executing continuously there only, it is not coming out.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DefaultISR:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ldr&amp;nbsp;&amp;nbsp;&amp;nbsp; r0, =DefaultISR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bx r0&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the reason i am not finding it, whatever the function calling with uart base address doing the same operation, jumping to DefaultISR&lt;/P&gt;&lt;DIV class="j-rte-table"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style=""&gt;UART_BDH_REG(base)&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; &lt;/TD&gt;&lt;TD style=""&gt;((base)-&amp;gt;BDH)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style=""&gt;UART_BDL_REG(base)&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; &lt;/TD&gt;&lt;TD style=""&gt;((base)-&amp;gt;BDL)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style=""&gt;UART_C1_REG(base)&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; &lt;/TD&gt;&lt;TD style=""&gt;((base)-&amp;gt;C1)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style=""&gt;UART_C2_REG(base)&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; &lt;/TD&gt;&lt;TD style=""&gt;((base)-&amp;gt;C2)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style=""&gt;UART_S1_REG(base)&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; &lt;/TD&gt;&lt;TD style=""&gt;((base)-&amp;gt;S1)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style=""&gt;UART_S2_REG(base)&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; &lt;/TD&gt;&lt;TD style=""&gt;((base)-&amp;gt;S2)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;UART_C3_REG(base)&lt;/P&gt;&lt;P&gt;getting the same error for these things....................&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I tried placing fsl_&amp;lt;module&amp;gt;_irq.c&lt;/STRONG&gt; file into source folder but no use...............&lt;/P&gt;&lt;P&gt;Here the simple code which I am trying to debug and attached the project also&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int main(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;PE_low_level_init();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; UART_HAL_Init(UART1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; UART_HAL_SetBaudRate(UART0,8000000,9600);&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for(;;){}&lt;/P&gt;&lt;P&gt;}&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-338552"&gt;test_uart1.rar&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 12:38:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-issue-on-kds-for-kl-25z/m-p/409096#M2934</guid>
      <dc:creator>surenderreddyga</dc:creator>
      <dc:date>2015-11-13T12:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging issue on kds for kl-25z</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-issue-on-kds-for-kl-25z/m-p/409097#M2935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surender,&lt;/P&gt;&lt;P&gt;I suggest you review the Getting Started online tutorial for KDS/KSDK for the FRDM-KL25Z:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/tools/software-and-tools/hardware-development-tools/freedom-development-boards/freedom-development-platform-for-kinetis-kl14-kl15-kl24-kl25-mcus:FRDM-KL25Z?tab=In-Depth_Tab" title="http://www.freescale.com/tools/software-and-tools/hardware-development-tools/freedom-development-boards/freedom-development-platform-for-kinetis-kl14-kl15-kl24-kl25-mcus:FRDM-KL25Z?tab=In-Depth_Tab"&gt;Freedom Development Platform for Kinetis KL|Freescale&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At that link there is also documentation on the device so you know what peripherals it has implemented.&lt;/P&gt;&lt;P&gt;Your code above shows UART but the attached archive was trying to use LPSCI which the KL25Z doesn't have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General information....Kinetis devices power up with most peripherals disabled/off.&amp;nbsp; Configuration needs to be done to ready a module for use.&amp;nbsp; #1 is to turn on the clock source to the module.&amp;nbsp; If you try to access a peripheral that has the clock disabled, you will get an exception like you are seeing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read:&amp;nbsp; C:\Freescale\KSDK_1.3.0\doc\Getting Started with Kinetis SDK (KSDK) v.1.3.pdf &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that KSDK_1.3 has many good examples to learn from:&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.3.0\examples\frdmkl25z\demo_apps&lt;/P&gt;&lt;P&gt;C:\Freescale\KSDK_1.3.0\examples\frdmkl25z\examples&lt;/P&gt;&lt;P&gt;Reference:&amp;nbsp; C:\Freescale\KSDK_1.3.0\doc\Kinetis SDK v.1.3 Demo Applications User's Guide.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Links to videos:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/community/kinetis/kinetis-design-studio/content?filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bvideo%5D" title="https://community.freescale.com/community/kinetis/kinetis-design-studio/content?filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bvideo%5D"&gt;Kinetis Design Studio&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/community/kinetis/kinetis-software-development-kit/content?filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bvideo%5D" title="https://community.freescale.com/community/kinetis/kinetis-software-development-kit/content?filterID=contentstatus%5Bpublished%5D~objecttype~objecttype%5Bvideo%5D"&gt;Kinetis Software Development Kit&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 18:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debugging-issue-on-kds-for-kl-25z/m-p/409097#M2935</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2015-11-13T18:24:41Z</dc:date>
    </item>
  </channel>
</rss>

