<?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 Debugging from Internal Flash for MCF5282 in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Debugging-from-Internal-Flash-for-MCF5282/m-p/207965#M10002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;I have a program which is successfully running from Internal flash of MCF5282.&lt;/DIV&gt;&lt;DIV&gt;For testing purpose, I want to debug my code while it is running from internal flash like we do it for RAM.&lt;/DIV&gt;&lt;DIV&gt;Can anyone tell me how to do this?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Dec 2008 16:12:07 GMT</pubDate>
    <dc:creator>CHRamesh</dc:creator>
    <dc:date>2008-12-07T16:12:07Z</dc:date>
    <item>
      <title>Debugging from Internal Flash for MCF5282</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Debugging-from-Internal-Flash-for-MCF5282/m-p/207965#M10002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;I have a program which is successfully running from Internal flash of MCF5282.&lt;/DIV&gt;&lt;DIV&gt;For testing purpose, I want to debug my code while it is running from internal flash like we do it for RAM.&lt;/DIV&gt;&lt;DIV&gt;Can anyone tell me how to do this?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Dec 2008 16:12:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Debugging-from-Internal-Flash-for-MCF5282/m-p/207965#M10002</guid>
      <dc:creator>CHRamesh</dc:creator>
      <dc:date>2008-12-07T16:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging from Internal Flash for MCF5282</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Debugging-from-Internal-Flash-for-MCF5282/m-p/207966#M10003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;You cannot debug from flash the way you can for RAM. Typically when debugging from RAM the instruction is replaced with a HALT instruction when you set a break point, step over etc. This will not work with flash.&lt;BR /&gt;&lt;BR /&gt;A manual solution is to use the step instruction command and hardware breakpoints. If using BDM a hardware breakpoint can be set on a location in flash and the processor will stop. How-ever on the 5282 there is only 1 hardware break point.&lt;BR /&gt;&lt;BR /&gt;With the BDM open source project's gdbserver I added a '-B' option that causes all breakpoints to be hardware break points. This is nice on some of the newer devices with more than one hardware breakpoint. You can debug flash almost like it is RAM with limited breakpoints.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2008 08:52:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Debugging-from-Internal-Flash-for-MCF5282/m-p/207966#M10003</guid>
      <dc:creator>ChrisJohns</dc:creator>
      <dc:date>2008-12-08T08:52:07Z</dc:date>
    </item>
  </channel>
</rss>

