<?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: K22 errata e6939 - Is the workaround even possible? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363204#M18573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm.. So I take it you are using KDS or CodeWarrior?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have an answer for either one right now, but can forward that question on to the appropriate parties.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Chris &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2014 21:19:46 GMT</pubDate>
    <dc:creator>chris_brown</dc:creator>
    <dc:date>2014-10-29T21:19:46Z</dc:date>
    <item>
      <title>K22 errata e6939 - Is the workaround even possible?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363201#M18570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the K22 mask sets 0N50M, 0N51M, 1N41K, and 0N74K (and possibly more, these were all I looked at) there is an errata e6939 which has the description "Core: Interrupted loads to SP can cause erroneous behavior". To summarize the errata as I understand it, if an instruction of the form "LDR SP, xxx" is interrupted bad things may occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The workaround is to not use instructions of that form. Okay, fair enough I guess, if writing assembly code. But what is the workaround for C code, since I can't control what the compiler emits? I would appreciate if someone who is using a K22 part can share how you are ensuring that you don't encounter this errata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 17:43:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363201#M18570</guid>
      <dc:creator>ee-quipment_com</dc:creator>
      <dc:date>2014-10-29T17:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: K22 errata e6939 - Is the workaround even possible?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363202#M18571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I completely understand how this errata could be a little confusing.&amp;nbsp; This is an ARM errata that we picked up by default because we are using the Cortex M4F in this device.&amp;nbsp; We need to do a little more research into this but we are not aware of any compilers that generate these particular instructions.&amp;nbsp; So this limitation would only occur with hand-written code (assuming no compilers generate this instruction).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said, we need to confirm this, but in the meantime, you could also check with your compiler manufacturer and see if this is something that you need to worry about.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a last resort (if you are unable to get in touch with your compiler manufacturer), you could have you compiling generate the appropriate listing files, open them with a text editor and use the search functions to try to find these suspect instructions.&amp;nbsp; If any were found, you could create a macro (assembly code) to replace the functions that you are worried about.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Chris &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 19:48:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363202#M18571</guid>
      <dc:creator>chris_brown</dc:creator>
      <dc:date>2014-10-29T19:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: K22 errata e6939 - Is the workaround even possible?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363203#M18572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christopher, thank you for the prompt reply. Following your suggestion, may I ask you, as a representative of my compiler manufacturer Freescale, if this is something that I need to worry about?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't imagine searching through the compiler output for the offending instructions after every debug/edit/compiler iteration. I appreciate the suggestion though, I know you are just trying to be helpful and cover all possible solutions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 20:46:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363203#M18572</guid>
      <dc:creator>ee-quipment_com</dc:creator>
      <dc:date>2014-10-29T20:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: K22 errata e6939 - Is the workaround even possible?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363204#M18573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm.. So I take it you are using KDS or CodeWarrior?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have an answer for either one right now, but can forward that question on to the appropriate parties.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Chris &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 21:19:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363204#M18573</guid>
      <dc:creator>chris_brown</dc:creator>
      <dc:date>2014-10-29T21:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: K22 errata e6939 - Is the workaround even possible?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363205#M18574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, my bad for not providing the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - CodeWarrior for MCU&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version: 10.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Build Id:130916&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd appreciate any info you can find out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 00:49:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363205#M18574</guid>
      <dc:creator>ee-quipment_com</dc:creator>
      <dc:date>2014-10-30T00:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: K22 errata e6939 - Is the workaround even possible?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363206#M18575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our CodeWarrior Experts have confirmed that the compiler will not generate these instructions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After some discussion, I have learned that you are probably more at risk of these types of instructions being&amp;nbsp; hidden in an operating system library.&amp;nbsp; Are you using an operating system?&amp;nbsp; If so, which one?&amp;nbsp; ARM has confirmed that no known RTOS contains these instructions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 13:58:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363206#M18575</guid>
      <dc:creator>chris_brown</dc:creator>
      <dc:date>2014-10-31T13:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: K22 errata e6939 - Is the workaround even possible?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363207#M18576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wow! What a great answer - very complete and well researched. Thank you so much. Now I can move ahead with that K22 design, although I still might take your advice and parse my final release code for the at-risk instructions :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 17:01:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K22-errata-e6939-Is-the-workaround-even-possible/m-p/363207#M18576</guid>
      <dc:creator>ee-quipment_com</dc:creator>
      <dc:date>2014-11-06T17:01:19Z</dc:date>
    </item>
  </channel>
</rss>

