<?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 Unable to go into background mode in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Unable-to-go-into-background-mode/m-p/161009#M9737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am a collage student just starting to work with Freescale. Currently I´m programming in assembler in a HC08AP16 uC. I´m trying to implement a program in the uC, but for some reason is not working. It seems as if it automatically resets itself. So I decided to simulate it directly from the uC. I start the process by doing single steps, but then like at the 10th instruction, the following error shows: "Unable to go into background mode" It says that the Reset was caused by External reset pin. But that is imposible, because the reset pin has nothing connected to it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;And no matter what I do to the program, I keep getting the same error. And it always happens to be at the beginning of the program.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I really cannot find my way around this problem.............any suggestions?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Daniel&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jun 2008 04:26:01 GMT</pubDate>
    <dc:creator>gutighus</dc:creator>
    <dc:date>2008-06-03T04:26:01Z</dc:date>
    <item>
      <title>Unable to go into background mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Unable-to-go-into-background-mode/m-p/161009#M9737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am a collage student just starting to work with Freescale. Currently I´m programming in assembler in a HC08AP16 uC. I´m trying to implement a program in the uC, but for some reason is not working. It seems as if it automatically resets itself. So I decided to simulate it directly from the uC. I start the process by doing single steps, but then like at the 10th instruction, the following error shows: "Unable to go into background mode" It says that the Reset was caused by External reset pin. But that is imposible, because the reset pin has nothing connected to it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;And no matter what I do to the program, I keep getting the same error. And it always happens to be at the beginning of the program.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I really cannot find my way around this problem.............any suggestions?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Daniel&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2008 04:26:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Unable-to-go-into-background-mode/m-p/161009#M9737</guid>
      <dc:creator>gutighus</dc:creator>
      <dc:date>2008-06-03T04:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to go into background mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Unable-to-go-into-background-mode/m-p/161010#M9738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;I read your message but could not understand what went wrong.&lt;/DIV&gt;&lt;DIV&gt;Here is another program called AP16 IO that I think you should try first.&lt;/DIV&gt;&lt;DIV&gt;Once you get it running,&amp;nbsp;you can start to modify it.&lt;/DIV&gt;&lt;DIV&gt;It is compressed with WinZip, .&lt;/DIV&gt;&lt;DIV&gt;So&amp;nbsp;decompress it and try it first.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Ake&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2008 16:52:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Unable-to-go-into-background-mode/m-p/161010#M9738</guid>
      <dc:creator>Ake</dc:creator>
      <dc:date>2008-06-03T16:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to go into background mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Unable-to-go-into-background-mode/m-p/161011#M9739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for the program, although it was pretty basic, but at the same time useful. Becuase I program in asm and this was good for an intro to c. But I was finally able to fix the problem. The problem was that the AP16 only has 6 pins for the port C. And at the moment I was configuring the DDRC registry, I was configuring the 8 bits as outputs.&amp;nbsp;So I had to fix it to only 6&amp;nbsp;bits. This is a problem&amp;nbsp;that the compiler doesn't see or the Full time simulator. So just as a heads up on my previous post.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Daniel&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 01:00:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Unable-to-go-into-background-mode/m-p/161011#M9739</guid>
      <dc:creator>gutighus</dc:creator>
      <dc:date>2008-06-06T01:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to go into background mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Unable-to-go-into-background-mode/m-p/161012#M9740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello Daniel,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Even though the 42-pin version of the device does not have PTC0 and PTC1 bonded out, these bits still exist internally.&amp;nbsp; It is perfectly reasonable to set these as outputs,&amp;nbsp;(and a very good idea so as to prevent a floating input situation).&amp;nbsp; I can't see that this would be the cause of your previous problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When you experienced the problem, were you using the actual hardware for the test, or were you simulating the hardware in full chip simulation mode?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I would also suggest that, while you are experimenting, that you disable COP timer operation.&amp;nbsp; Unless properly handled, this can cause a reset.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards,&lt;/DIV&gt;&lt;DIV&gt;Mac&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 09:18:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Unable-to-go-into-background-mode/m-p/161012#M9740</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-06-06T09:18:25Z</dc:date>
    </item>
  </channel>
</rss>

