<?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>8-bit MicrocontrollersのトピックRe: BackGround Debug Commands</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BackGround-Debug-Commands/m-p/144241#M6784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mark,&lt;/P&gt;&lt;P&gt;My self prashant.&lt;/P&gt;&lt;P&gt;I m using gt16a, I have same problem. The fprot register only write in debug mode.&lt;/P&gt;&lt;P&gt;How we can enter in debug mode and how to write?&lt;/P&gt;&lt;P&gt;plz help me!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2012 19:45:57 GMT</pubDate>
    <dc:creator>prashanterande</dc:creator>
    <dc:date>2012-02-07T19:45:57Z</dc:date>
    <item>
      <title>BackGround Debug Commands</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BackGround-Debug-Commands/m-p/144239#M6782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using HCS08 Microcontroller with Code Warrior IDE and P&amp;amp;E USB Multilink.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to set block protection for my controller using FPROT Register. The datasheet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;says that this can be done only using BackGround Debug Commands. I am Unable to figure out how to send these commands. I could not see any option in the IDE through which these cammands can be sent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, How to write the application for backdoor Key access to unsecure the microcontroller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alice..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 12:16:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BackGround-Debug-Commands/m-p/144239#M6782</guid>
      <dc:creator>Alice</dc:creator>
      <dc:date>2007-02-02T12:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: BackGround Debug Commands</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BackGround-Debug-Commands/m-p/144240#M6783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Alice:&lt;BR /&gt;&lt;BR /&gt;When you use the debugger to modify memory, this is effectively a "Background Debug Command" (the debugger would use the BDM Command "write_byte" to modify the memory appropriately).&lt;BR /&gt;&lt;BR /&gt;Therefore, from the debugger, you should be able to modify these registers simply by attempting to write from them from the memory window (not from code executing on the part itself).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mark&lt;BR /&gt;P&amp;amp;E&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 23:51:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BackGround-Debug-Commands/m-p/144240#M6783</guid>
      <dc:creator>P_EMark</dc:creator>
      <dc:date>2007-02-02T23:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: BackGround Debug Commands</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BackGround-Debug-Commands/m-p/144241#M6784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mark,&lt;/P&gt;&lt;P&gt;My self prashant.&lt;/P&gt;&lt;P&gt;I m using gt16a, I have same problem. The fprot register only write in debug mode.&lt;/P&gt;&lt;P&gt;How we can enter in debug mode and how to write?&lt;/P&gt;&lt;P&gt;plz help me!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 19:45:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BackGround-Debug-Commands/m-p/144241#M6784</guid>
      <dc:creator>prashanterande</dc:creator>
      <dc:date>2012-02-07T19:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: BackGround Debug Commands</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/BackGround-Debug-Commands/m-p/144242#M6785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure whether you require to initialize the block protection from within your code, or need to alter the block protection value within a debug session.&amp;nbsp; I will assume that you actually require&amp;nbsp;to initialize block protection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The value within the NVPROT flash register is automatically written to the FPROT register during a reset.&amp;nbsp; This means that you need to program the NVPROT setting, at the same time as your project code.&amp;nbsp; The assembly code to accomplish this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; ORG&amp;nbsp;&amp;nbsp; NVPROT&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; DC.B&amp;nbsp;&amp;nbsp;&amp;lt;value&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;For C, the following should work with the CW compiler&amp;nbsp;-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;const byte NVPROT_init @0xFFBD = &amp;lt;value&amp;gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2012 22:39:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/BackGround-Debug-Commands/m-p/144242#M6785</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-02-07T22:39:21Z</dc:date>
    </item>
  </channel>
</rss>

