<?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: FRDM-22F flashing issue in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-flashing-issue/m-p/1589406#M64624</link>
    <description>&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply. How do I know where the application is running? I just set the properties of CPU like clocks, add 2 components i.e. TimerInt and BitIO. TimerInt period is set to 5Hz and BitIO component is assigned to a LRD pin. The code is generated by Processor Expert. Main.c I leave untouched and in Events.c I add just a one line of code in function OnTimerInt - Bit1_NegVal();. Can you please give me an advice how to controll in KDS where the application runs (RAM or Flash)?&lt;/P&gt;&lt;P&gt;Rgds, Stachu&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jan 2023 02:05:12 GMT</pubDate>
    <dc:creator>Stachu</dc:creator>
    <dc:date>2023-01-30T02:05:12Z</dc:date>
    <item>
      <title>FRDM-22F flashing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-flashing-issue/m-p/1588273#M64611</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have 2 EVB's. FRDM-KL46Z and FRDM-22F. Win10/KDS3.2.0. I'm a novice in MCU's, so Processor Expert&lt;BR /&gt;is a great tool for me. I'm using KDS3.2.0&lt;/P&gt;&lt;P&gt;First I want to blink the LED using interrupts. Source code is primitive, so it makes no sense to&lt;BR /&gt;show it here in details. Two components are used: BitIO and TimerINT.&lt;/P&gt;&lt;P&gt;After succesfull compilation with no errors/warnings I programm the device Run-&amp;gt;Flash from file.&lt;/P&gt;&lt;P&gt;On FRDM-KL46Z everything works as expected. Unfortunately on FRDM-22F not.&lt;/P&gt;&lt;P&gt;During flashing the device RGB LEDs turn ON and remain in this state forever. When I disconnect&lt;BR /&gt;the board from USB and plug it in again, the RGB LEDs are OFF. It means the MCU is not&lt;BR /&gt;programmed or it's not running.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;RGDS, Stachu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 12:14:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-flashing-issue/m-p/1588273#M64611</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2023-01-26T12:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-22F flashing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-flashing-issue/m-p/1588343#M64612</link>
      <description>&lt;P&gt;could it be that you used an application running in RAM instead of FLASH memory?&lt;/P&gt;&lt;P&gt;Other then that, why not simply debug the application instead using Flash from File? Then you should be able to see what the application does.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 14:32:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-flashing-issue/m-p/1588343#M64612</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-01-26T14:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-22F flashing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-flashing-issue/m-p/1589406#M64624</link>
      <description>&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply. How do I know where the application is running? I just set the properties of CPU like clocks, add 2 components i.e. TimerInt and BitIO. TimerInt period is set to 5Hz and BitIO component is assigned to a LRD pin. The code is generated by Processor Expert. Main.c I leave untouched and in Events.c I add just a one line of code in function OnTimerInt - Bit1_NegVal();. Can you please give me an advice how to controll in KDS where the application runs (RAM or Flash)?&lt;/P&gt;&lt;P&gt;Rgds, Stachu&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 02:05:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-flashing-issue/m-p/1589406#M64624</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2023-01-30T02:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-22F flashing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-flashing-issue/m-p/1589550#M64625</link>
      <description>&lt;P&gt;Hi Stachu,&lt;/P&gt;&lt;P&gt;well, you could check the linker map file and verify that things are allocated in FLASH memory.&lt;/P&gt;&lt;P&gt;By default, it should go into FLASH, so probably you are fine.&lt;/P&gt;&lt;P&gt;Are you using any printf() with semihosting or the like? They will halt the target if no debug session is active (&lt;A href="https://mcuoneclipse.com/2014/06/06/semihosting-with-kinetis-design-studio/" target="_blank"&gt;https://mcuoneclipse.com/2014/06/06/semihosting-with-kinetis-design-studio/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Other than that: try to minimize/reduce the application to find out what is blocking it.&lt;/P&gt;&lt;P&gt;And I would do an attach session to the running target too: &lt;A href="https://mcuoneclipse.com/2015/03/20/attaching-to-a-running-target-with-segger-j-link-gdb-and-eclipse/" target="_blank"&gt;https://mcuoneclipse.com/2015/03/20/attaching-to-a-running-target-with-segger-j-link-gdb-and-eclipse/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 07:00:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-flashing-issue/m-p/1589550#M64625</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-01-30T07:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-22F flashing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-flashing-issue/m-p/1592742#M64647</link>
      <description>&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Your suggestions and links were very helpful. Thanks a lot!! LED toggling using interrupts is flashed and works fine as expected. Now, I'm "fighting" with ADC, however, most probably it will be a next thread here from me. Once again, TYVM !!&lt;/P&gt;&lt;P&gt;RGDS, Stachu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 02:50:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-22F-flashing-issue/m-p/1592742#M64647</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2023-02-03T02:50:39Z</dc:date>
    </item>
  </channel>
</rss>

