<?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>OSBDM and TBDMLのトピックQG8 debugging problems with OSBDM</title>
    <link>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137656#M224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;After successful test of OSMBDM with CW5.1 and RD16 part I ran into problems with QG8 device. First evening I spent searching why it doesn't work with QG8 at all, then I found 2K2 pull-up resistors are needed for both BKGD and RST lines (interesting it's not mentioned in datasheet, or I just can't find it - by the way, RD16 worked with schematic as in datasheet), then it finally started to work and I was able to debug and program it in application. After a few reprogramming device stopped to work as before. I captured screenshot to illustrate what happens when I press F5 and try to start debugger in OSBDM mode &lt;A href="http://www.jednocipy.kvalitne.cz/a/bdm_problem_1.jpg" target="test_blank"&gt;http://www.jednocipy.kvalitne.cz/a/bdm_problem_1.jpg&lt;/A&gt; On the other hand I can upload .s19 file into flash (I built just a small program to change state of port A to see some activity) selecting the properly s-record file &lt;A href="http://www.jednocipy.kvalitne.cz/a/bdm_problem_2.jpg" target="test_blank"&gt;http://www.jednocipy.kvalitne.cz/a/bdm_problem_2.jpg&lt;/A&gt;&lt;BR /&gt;Can somebody help me with this problem? Next week, when new QG8 parts arrive I'll test the new ones, but I'm afraid of getting into similar situation with them too.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jarin&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Nov 2006 20:05:03 GMT</pubDate>
    <dc:creator>jarin</dc:creator>
    <dc:date>2006-11-22T20:05:03Z</dc:date>
    <item>
      <title>QG8 debugging problems with OSBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137656#M224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;After successful test of OSMBDM with CW5.1 and RD16 part I ran into problems with QG8 device. First evening I spent searching why it doesn't work with QG8 at all, then I found 2K2 pull-up resistors are needed for both BKGD and RST lines (interesting it's not mentioned in datasheet, or I just can't find it - by the way, RD16 worked with schematic as in datasheet), then it finally started to work and I was able to debug and program it in application. After a few reprogramming device stopped to work as before. I captured screenshot to illustrate what happens when I press F5 and try to start debugger in OSBDM mode &lt;A href="http://www.jednocipy.kvalitne.cz/a/bdm_problem_1.jpg" target="test_blank"&gt;http://www.jednocipy.kvalitne.cz/a/bdm_problem_1.jpg&lt;/A&gt; On the other hand I can upload .s19 file into flash (I built just a small program to change state of port A to see some activity) selecting the properly s-record file &lt;A href="http://www.jednocipy.kvalitne.cz/a/bdm_problem_2.jpg" target="test_blank"&gt;http://www.jednocipy.kvalitne.cz/a/bdm_problem_2.jpg&lt;/A&gt;&lt;BR /&gt;Can somebody help me with this problem? Next week, when new QG8 parts arrive I'll test the new ones, but I'm afraid of getting into similar situation with them too.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jarin&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2006 20:05:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137656#M224</guid>
      <dc:creator>jarin</dc:creator>
      <dc:date>2006-11-22T20:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 debugging problems with OSBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137657#M225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have buit an OSBDM08 and it works fine with the QG8, but there is a special way to connect a QG8 because the QG8 has shared reset and bkgd pins. The procedure is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. put a jumper between pin 1 (BDM) and pin 6 (GND) of the BDM connector of the target&lt;BR /&gt;2. turn the target power on&lt;BR /&gt;3. remove the jumper and connect the 6-pin connector of the OSBDM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To load an application, go to menu "HCS08 Open Source BDM" &amp;gt;&amp;gt; "Load" and select your "project.abs"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more detailed explanations on &lt;A href="http://www.68hc08.net/"&gt;www.68hc08.net&lt;/A&gt; (sorry, in french)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thierry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 02:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137657#M225</guid>
      <dc:creator>thm59</dc:creator>
      <dc:date>2006-11-23T02:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 debugging problems with OSBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137658#M226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I'm not using shared pins yet, those pins are directly connected to BDM POD connector (also the pull-up resistors as I wrote before).&lt;BR /&gt;&lt;BR /&gt;When you look on second picture (web links included in my original post) you can see the possibility of loading project.abs is disabled in File-&amp;gt;Load, in the same way as in HCS08 Open Source BDM -&amp;gt; Load (the second scenario is not documented in pictures).&lt;BR /&gt;&lt;BR /&gt;I'm really confused, I just hope there is a way to get QG8 from this bizarre state.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 05:11:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137658#M226</guid>
      <dc:creator>jarin</dc:creator>
      <dc:date>2006-11-23T05:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 debugging problems with OSBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137659#M227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi jarin,&lt;/DIV&gt;&lt;DIV&gt;I'm getting "Cannot find server or DNS Error" on your link.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I believe you have missunderstood Thierry, he is referring to the fact that the reset pin has shared functions INSIDE the device, not on your board.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This leads to the problem that a QG has no reset pin out of reset and so a BDM pod can't try and use it to reset the processor into Active BDM mode. This is why he is forcing it directly on power up.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Peg&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 05:26:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137659#M227</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-11-23T05:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 debugging problems with OSBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137660#M228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Peg, try it &lt;A href="http://www.jednocipy.kvalitne.cz/a/bdm_problem_1.jpg" rel="nofollow" target=""&gt;here&lt;/A&gt; and &lt;A href="http://www.jednocipy.kvalitne.cz/a/bdm_problem_2.jpg" rel="nofollow" target=""&gt;here&lt;/A&gt;&lt;BR /&gt;I understand that RESET and BKGD pin is shared, it means it can be used also as general I/O pin or whatever function belongs to it. But I think it's default state after reset can be changed in SOPT1 register and I don't change this register. And more, it's only RAM register, written by user firmware after entering normal execution mode, and not in BDM mode.&lt;BR /&gt;Maybe I'm wrong in my assumptions so please correct me.&lt;BR /&gt;&lt;BR /&gt;How could I prevent QG8 from entering BDM mode?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;My code looks like this, but I don't think there could be something wrong.&lt;BR /&gt;&lt;BR /&gt;void main(void) {&lt;BR /&gt;PTADD_PTADD0=1;&lt;BR /&gt;for(;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt; {&lt;BR /&gt;PTAD_PTAD0=~PTAD_PTAD0;&lt;BR /&gt;WaitNms(200);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Function WaitNms() just waits a number of millisecons.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Nov 2006 07:58:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137660#M228</guid>
      <dc:creator>jarin</dc:creator>
      <dc:date>2006-11-23T07:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 debugging problems with OSBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137661#M229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;At the POR (power on), the QG8 enter in normal user mode.&lt;BR /&gt;In order to use the OSBDM debugger (and load the flash), the QG8 must be in active background mode, and to do that, the pin BKGD must be held low (-&amp;gt;gnd)during power-on.&lt;BR /&gt;See the datasheet chapt. 3.3 and 3.4.&lt;BR /&gt;&lt;BR /&gt;thierry&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 02:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137661#M229</guid>
      <dc:creator>thm59</dc:creator>
      <dc:date>2006-11-24T02:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: QG8 debugging problems with OSBDM</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137662#M230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Thierry,&lt;BR /&gt;thanks for your help, in fact you suggested real solution in your first post - so, maybe the fact that English is not my native language or maybe too much of work (and lack of sleep) caused the fact I didn't understand it well.&lt;BR /&gt;Now everything works perfectly. Shame on me, for next time I have to pay more attention to other's posts.&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;BR /&gt;Jarin&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Nov 2006 04:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/QG8-debugging-problems-with-OSBDM/m-p/137662#M230</guid>
      <dc:creator>jarin</dc:creator>
      <dc:date>2006-11-24T04:21:00Z</dc:date>
    </item>
  </channel>
</rss>

