<?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 MicrocontrollersのトピックRe: Controller gets locked if SWDE pins are configured as GPIO</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Controller-gets-locked-if-SWDE-pins-are-configured-as-GPIO/m-p/301267#M12637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you mention &lt;STRONG&gt;SWD_DIO&lt;/STRONG&gt; and &lt;STRONG&gt;SWD_CLK&lt;/STRONG&gt; could&amp;nbsp; be configured to be used as GPIO ( as &lt;STRONG&gt;PTA4&lt;/STRONG&gt; and &lt;STRONG&gt;PTC4&lt;/STRONG&gt; respectively), with SIM_SOPT=0x40 instruction you are disabling the SWD function but you also need to complete some configurations, you must consider relationship for configuration settings on &lt;STRONG&gt;Figure 11-1. Normal I/O Structure&lt;/STRONG&gt;, specially check and configure &lt;STRONG&gt;GPIOx_PDDR&lt;/STRONG&gt; registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really would like to reproduce the error, I certainly would like to take a look on your project if you want to share it. Please keep in touch and let me know what happens.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a nice day,&lt;BR /&gt;Perla Moncada&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, 22 May 2014 21:48:20 GMT</pubDate>
    <dc:creator>perlam_i_au</dc:creator>
    <dc:date>2014-05-22T21:48:20Z</dc:date>
    <item>
      <title>Controller gets locked if SWDE pins are configured as GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Controller-gets-locked-if-SWDE-pins-are-configured-as-GPIO/m-p/301266#M12636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi freescale team, We have a serious issue related to SWDE pin configuration for MKE02Z64VQH2 MCU.&lt;/P&gt;&lt;P&gt;we are trying to configure SWDE (SWD_DIO,SWD_CLK) pins as GPIO by writing the SIM_SOPT=0x40 value( in SIM_Init() function).&lt;/P&gt;&lt;P&gt;Controller gets locked after programming it for 3-6 times.Updating the SIM_SOPT register during SIM_Init() , is it the correct method of accesing the SIM_SOPT register.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 09:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Controller-gets-locked-if-SWDE-pins-are-configured-as-GPIO/m-p/301266#M12636</guid>
      <dc:creator>lavakushreddy</dc:creator>
      <dc:date>2014-05-20T09:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Controller gets locked if SWDE pins are configured as GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Controller-gets-locked-if-SWDE-pins-are-configured-as-GPIO/m-p/301267#M12637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you mention &lt;STRONG&gt;SWD_DIO&lt;/STRONG&gt; and &lt;STRONG&gt;SWD_CLK&lt;/STRONG&gt; could&amp;nbsp; be configured to be used as GPIO ( as &lt;STRONG&gt;PTA4&lt;/STRONG&gt; and &lt;STRONG&gt;PTC4&lt;/STRONG&gt; respectively), with SIM_SOPT=0x40 instruction you are disabling the SWD function but you also need to complete some configurations, you must consider relationship for configuration settings on &lt;STRONG&gt;Figure 11-1. Normal I/O Structure&lt;/STRONG&gt;, specially check and configure &lt;STRONG&gt;GPIOx_PDDR&lt;/STRONG&gt; registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really would like to reproduce the error, I certainly would like to take a look on your project if you want to share it. Please keep in touch and let me know what happens.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a nice day,&lt;BR /&gt;Perla Moncada&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, 22 May 2014 21:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Controller-gets-locked-if-SWDE-pins-are-configured-as-GPIO/m-p/301267#M12637</guid>
      <dc:creator>perlam_i_au</dc:creator>
      <dc:date>2014-05-22T21:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Controller gets locked if SWDE pins are configured as GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Controller-gets-locked-if-SWDE-pins-are-configured-as-GPIO/m-p/301268#M12638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm having similar issue, it seems that after some programmations when using that pins as GPIO, the controller gets locked, or BDM cannot communicate with controller.&lt;/P&gt;&lt;P&gt;After entering in this conditions, the controller gets OK again after:&lt;/P&gt;&lt;P&gt;1) power off the controller&lt;/P&gt;&lt;P&gt;2) Unplug BDM&lt;/P&gt;&lt;P&gt;3) Power on controller&lt;/P&gt;&lt;P&gt;4) Wait for pins to go back to SWD mode&lt;/P&gt;&lt;P&gt;5) Plug again BDM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point it go back work.&lt;/P&gt;&lt;P&gt;We use those pins in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Reset bit SIM_SOPT_SWDE_MASK in SIM_SOPT&lt;/P&gt;&lt;P&gt;2) Configure GPIOx_PDDR, PORT_PUEL, GPIOA_PSOR, GPIOA_PCOR, GPIOA_PIDR&lt;/P&gt;&lt;P&gt;3) Do some stuff&lt;/P&gt;&lt;P&gt;4) Set to back configurations for&amp;nbsp; GPIOx registers&lt;/P&gt;&lt;P&gt;5) Set bit SIM_SOPT_SWDE_MASK in SIM_SOPT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it happens that the next programmation doesnt work, until I do the operations I listed above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some news in this discussion that can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Sandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 09:54:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Controller-gets-locked-if-SWDE-pins-are-configured-as-GPIO/m-p/301268#M12638</guid>
      <dc:creator>sys</dc:creator>
      <dc:date>2015-05-13T09:54:10Z</dc:date>
    </item>
  </channel>
</rss>

