<?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のトピックRe: USB code for HC08</title>
    <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132110#M140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;peg -&lt;/P&gt;&lt;P&gt;The Hong Kong team has looked into this again and believe that they have the solution.&lt;/P&gt;&lt;P&gt;They found that during USB enumeration, the reset pin on the JB16 is oscillating. They found that putting a capacitor of at least 330 nF from the reset pin to ground solved the problem. They also tried and are suggesting using 1uF as the 'production' value.&lt;/P&gt;&lt;P&gt;I haven't been able to actually try this here, but I'm passing it on so that you can try it. I will be building a couple of more boards in the next few days and plan to add this.&lt;/P&gt;&lt;P&gt;- Rocky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Apr 2006 19:51:45 GMT</pubDate>
    <dc:creator>RockyRoad</dc:creator>
    <dc:date>2006-04-13T19:51:45Z</dc:date>
    <item>
      <title>USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132098#M128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi guys,&lt;BR /&gt;I'm kinda new here, but I was wondering if anyone had tried to use the MC68HC908JB16JDW chip. I have figured out how to program it correctly entering ICP mode etc. It is a USB chip, so now I'm trying to get some USB code preferably in C, to make a keyboard like device. I found some assembly files on this site, but I cant find anything useful. Any help would be appreciated.&lt;BR /&gt;thanks.&lt;BR /&gt;mo&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 11:30:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132098#M128</guid>
      <dc:creator>mo</dc:creator>
      <dc:date>2006-04-11T11:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132099#M129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT face="Comic Sans MS"&gt;Hi Mo,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Comic Sans MS"&gt;I'm pretty sure the&lt;/FONT&gt; &lt;A href="http://www.freescale.com/files/microcontrollers/doc/ref_manual/DRM055.pdf" rel="nofollow" target="_blank"&gt;&lt;FONT face="Comic Sans MS"&gt;DRM055&lt;/FONT&gt;&lt;/A&gt; &lt;FONT face="Comic Sans MS"&gt;is exactly what you are looking for.&lt;BR /&gt;This is a&lt;/FONT&gt; &lt;A href="http://www.freescale.com/files/microcontrollers/doc/ref_manual/DRM055.pdf" rel="nofollow" target="_blank"&gt;&lt;FONT face="Comic Sans MS"&gt;Reference Manual on how to use a QT and JB for USB Wireless keyboard&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face="Comic Sans MS"&gt;...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Comic Sans MS"&gt;Cheers,&lt;BR /&gt;Alban.&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 14:20:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132099#M129</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-04-11T14:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132100#M130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi mo,&lt;/DIV&gt;&lt;DIV&gt;Perhaps you can help me?&lt;/DIV&gt;&lt;DIV&gt;I have been struggling for two weeks to get my JB16 to do blank part USB ICP.&lt;/DIV&gt;&lt;DIV&gt;If you have achieved this can you tell me how you did it?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have now resorted to disassembling the Monitor code in order to figure out how it is supposed to work, due to lack of documentation and help available.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;BR Peg&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 05:30:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132100#M130</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-04-12T05:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132101#M131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;Hi Peg,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;Sorry to hear this...&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;Have you tried to enter a formal &lt;EM&gt;Service Request&lt;/EM&gt; through the system ?&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;This way should be more efficient when the info missing or the problem&amp;nbsp;stalls a project !&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;Cheers,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Comic Sans MS"&gt;Alban.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 17:30:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132101#M131</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-04-12T17:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132102#M132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi Alban,&lt;/P&gt;&lt;P&gt;Rocky is following this up for me with Hong Kong.&lt;/P&gt;&lt;P&gt;Not sure why he only PM'd me about this.&lt;/P&gt;&lt;P&gt;BR Peg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 20:14:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132102#M132</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-04-12T20:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132103#M133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;yes i got that&amp;nbsp;to work peg.&amp;nbsp;if you still might need help...just post here again&lt;/P&gt;&lt;P&gt;mo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 23:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132103#M133</guid>
      <dc:creator>mo</dc:creator>
      <dc:date>2006-04-12T23:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132104#M134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi mo,&lt;/P&gt;&lt;P&gt;Yes please, I still can never get blank part USB ICP to work.&lt;/P&gt;&lt;P&gt;I can programme it over MON08.&lt;/P&gt;&lt;P&gt;I can use it to programme something else.&lt;/P&gt;&lt;P&gt;I can bring it up into the ICP mode via grounding D3.&lt;/P&gt;&lt;P&gt;This is actually nearly exactly the same as the blank part startup after examining the monitor code.&lt;/P&gt;&lt;P&gt;Please let me know how you do it, although it may not help me as I am getting different reports from several places that its very flaky (getting it to boot into ICP mode).&lt;/P&gt;&lt;P&gt;BR Peg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 05:24:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132104#M134</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-04-13T05:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132105#M135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi, I'm programming through USB, it is the special USB chip. I dont know if you are doing through USB. If you are then I can help you.&lt;BR /&gt;There is a document called AN2399.pdf and software AN2399SW.zip that are avialable on this website.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 05:33:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132105#M135</guid>
      <dc:creator>mo</dc:creator>
      <dc:date>2006-04-13T05:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132106#M136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi mo,&lt;/P&gt;&lt;P&gt;I am not sure if your understanding me.&lt;/P&gt;&lt;P&gt;I am talking about a JB16 either "out of the box" or "virgin" or a recently "mass erased" one. Then connecting it to a PC via just a USB cable (no special programmer) (no code in the flash).&lt;/P&gt;&lt;P&gt;BR Peg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 05:40:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132106#M136</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-04-13T05:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132107#M137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;ok, thats what I had, um...you have it wired correctly I am assuming, because I dont know the wiring myself, someone else did it for me. For the programming portion, once the device connects to the PC the windows will say new USB device detected. To install the drivers for this download AN2399SW.zip file. Once you have this file and AN2399.pdf follow the simple instructions to install the driver.&lt;BR /&gt;&lt;BR /&gt;Once the driver is installed you can open up USBICP.exe file. This program lets you program through USB. Dont program anything into the chip just yet. If you understand me up to this point, then good otherwise I'll try to explain better.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 05:54:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132107#M137</guid>
      <dc:creator>mo</dc:creator>
      <dc:date>2006-04-13T05:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132108#M138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi mo,&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;I have got the ICP PC programme working etc. I can use it to do a mass erase after powering up a programmed OSBDM with the D3 link on.&lt;/P&gt;&lt;P&gt;What my problem is, is that I get device not recognised (by PC) when I power back up erased. I have the 1k5 removed and both USB lines pulled down.&lt;/P&gt;&lt;P&gt;Actually according to the monitor, you can leave the 1k5 in situ.&lt;/P&gt;&lt;P&gt;It appears to start to work as the internal pullup is applied but the computer doesn't recognise it now.&lt;/P&gt;&lt;P&gt;I am leaving my computer now so don't expect a reply for several hours.&lt;/P&gt;&lt;P&gt;BR Peg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 06:20:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132108#M138</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-04-13T06:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132109#M139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;I am not sure where exactly you are judging from your technical language&lt;BR /&gt;I have no idea what OSBDM is, or what D3 link means.&lt;BR /&gt;&lt;BR /&gt;So when you program the device the first time through USB ICP, I think it is necessary to put ICP determination code also.&lt;BR /&gt;&lt;BR /&gt;To reenter ICP mode what I had to do was pull PTA0 to 0 after removing it from USB connection and then before reconnecting it back to the PC. This allowed me to reprogram the chip after programming it.&lt;BR /&gt;This&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 08:03:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132109#M139</guid>
      <dc:creator>mo</dc:creator>
      <dc:date>2006-04-13T08:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132110#M140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;peg -&lt;/P&gt;&lt;P&gt;The Hong Kong team has looked into this again and believe that they have the solution.&lt;/P&gt;&lt;P&gt;They found that during USB enumeration, the reset pin on the JB16 is oscillating. They found that putting a capacitor of at least 330 nF from the reset pin to ground solved the problem. They also tried and are suggesting using 1uF as the 'production' value.&lt;/P&gt;&lt;P&gt;I haven't been able to actually try this here, but I'm passing it on so that you can try it. I will be building a couple of more boards in the next few days and plan to add this.&lt;/P&gt;&lt;P&gt;- Rocky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 19:51:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132110#M140</guid>
      <dc:creator>RockyRoad</dc:creator>
      <dc:date>2006-04-13T19:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132111#M141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi Rocky,&lt;/P&gt;&lt;P&gt;I just discovered this oscillation on the reset pin about one hour ago, but rather than trying to kill it I have been trying to find the reason.&lt;/P&gt;&lt;P&gt;Here is what I have found:&lt;/P&gt;&lt;P&gt;Start a blank JB16.&lt;BR /&gt;Execution starts from the monitor mode reset vector at $FEFE which is $FE10.&lt;BR /&gt;0000FE10 A7FA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AIS&amp;nbsp;&amp;nbsp;&amp;nbsp; #$FA&amp;nbsp;&amp;nbsp;&amp;nbsp;;don't know&lt;BR /&gt;0000FE12 1100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BCLR&amp;nbsp;&amp;nbsp; 0,PORTA&amp;nbsp;&amp;nbsp;;why?&lt;BR /&gt;0000FE14 CDFA07&amp;nbsp;&amp;nbsp; JSR&amp;nbsp;&amp;nbsp;&amp;nbsp; $FA07&amp;nbsp;&amp;nbsp;&amp;nbsp;;jump to near top of MON ROM 1 to see if USB Monitor&lt;BR /&gt;;&lt;BR /&gt;0000FA07 070809&amp;nbsp;&amp;nbsp; BRCLR&amp;nbsp; 3,PORTE,*+12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;abs = $FA13 branch if D+ low USBICP!!!!!&lt;BR /&gt;0000FA0A 3F38&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLR&amp;nbsp;&amp;nbsp;&amp;nbsp; UADDR&amp;nbsp;&amp;nbsp;;disable USB&lt;BR /&gt;0000FA0C 6EFF80&amp;nbsp;&amp;nbsp; MOV&amp;nbsp;&amp;nbsp;&amp;nbsp; #$FF,$80&amp;nbsp;;RAM0 = $FF&lt;BR /&gt;0000FA0F 45FFF6&amp;nbsp;&amp;nbsp; LDHX&amp;nbsp;&amp;nbsp; #$FFF6&amp;nbsp;&amp;nbsp;;TIM1 Int Vector&lt;BR /&gt;0000FA12 81&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RTS&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;;&lt;BR /&gt;0000FA13 C6FFD0&amp;nbsp;&amp;nbsp; LDA&amp;nbsp;&amp;nbsp;&amp;nbsp; $FFD0&amp;nbsp;&amp;nbsp;&amp;nbsp;;Check Ext Security 2 USBICP&lt;BR /&gt;0000FA16 4187F1&amp;nbsp;&amp;nbsp; CBEQA&amp;nbsp; #$87,*-12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;abs = $FA0A No USB if sec2 set&lt;BR /&gt;0000FA19 9B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SEI&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;;mask ints&lt;BR /&gt;blah, blah, blah&lt;/P&gt;&lt;P&gt;So very quickly after it starts it checks for USB D+ being low (which is the only condition required other than blank)&lt;BR /&gt;If it is low, it checks that the extended security has not been set then gets to address $FA19.&lt;BR /&gt;$FA19 is the entry point that is used by AN2399 and also where the OSBDM code jumps to if the PORTD bit 3 jumper is on.&lt;/P&gt;&lt;P&gt;Now the strange thing is if you jump to $FA19 from a user programme in FLASH everything works very reliably.&lt;BR /&gt;If you let it get there via the monitor code it doesn't.&lt;/P&gt;&lt;P&gt;Also jumping straight to $FE10 from a user programme works OK as well&lt;/P&gt;&lt;P&gt;The only pre-requisite is to disable the COP.&lt;/P&gt;&lt;P&gt;The reset pin is going low for a double pulse every 150us when entered via monitor entry.&lt;/P&gt;&lt;P&gt;A 0.1uf makes it all work for me. But why doesn't the problem occur when entered from user mode?&lt;BR /&gt;Here is my test programme:&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;ORG&amp;nbsp;$BA00&amp;nbsp;&amp;nbsp;;start of FLASH&lt;BR /&gt;&amp;nbsp;BRCLR&amp;nbsp;3,$03,COP&amp;nbsp;;if jumper on don't disable COP&lt;BR /&gt;&amp;nbsp;MOV&amp;nbsp;#%00000001,$1F&amp;nbsp;;disable COP&lt;BR /&gt;;COP&amp;nbsp;JMP&amp;nbsp;$FA19&amp;nbsp;&amp;nbsp;;jump to ICP entry in Monitor that AN2399 uses&lt;BR /&gt;COP&amp;nbsp;JMP&amp;nbsp;$FE10&amp;nbsp;&amp;nbsp;;jump to monitor entry point that blank reset vector uses&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;ORG&amp;nbsp;$FFFE&lt;BR /&gt;&amp;nbsp;DW&amp;nbsp;$BA00&amp;nbsp;&amp;nbsp;;set reset vector to start of FLASH&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New"&gt;BR Peg&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 20:31:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132111#M141</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-04-13T20:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132112#M142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi mo,&lt;/P&gt;&lt;P&gt;Sorry, the OSBDM (Open Source Background Debug Module) is what I am working on. It is a USB based programmer for 9S08 devices. The project is available here under the "8-bit Microcontroller Community" at the top right of this page. You may want to take a look at it.&lt;/P&gt;&lt;P&gt;D3 is bit 3 of PORTD and is the same as bit 0 PORTA in the AN2399 example.&lt;/P&gt;&lt;P&gt;I can do what you say about powering up with the link fitted and it works.&lt;/P&gt;&lt;P&gt;But if I mass erase it then power down. (perhaps accidently) now if I power back up with blank FLASH and USB D+ pulled to ground it should still come up like after the jumper is installed on a programmed device. But I and many others are having a problem here. It seems to be resolved now, see later in this thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Peg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message Edited by peg on &lt;SPAN class="date_text"&gt;04-14-2006&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;03:52 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2006 11:51:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132112#M142</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2006-04-14T11:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132113#M143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;peg -&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just back from an extended weekend...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I finished building two more OSBDM and I'm able to play with one of them. I don't have a lot to add to what you found, but I'll add what I've seen so far on my board.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The 1uF capacitor suggested from Hong Kong doesn't work on my board. Your 0.1uF does work.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;With 1uF, I still see 4 low pulses on RESET spaced about 150 msec apart. Windows responds with USB device error message.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;With 0.1uF, I see 2 low pulses on RESET that are only spaced about 60 msec apart. Windows goes to the found new hardware dialog box.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I can't explain (yet) the 10X difference in capacitor suggested and required and the workings of the Monitor ROM.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'll look at it some more tomorrow.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;- Rocky&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2006 06:26:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132113#M143</guid>
      <dc:creator>RockyRoad</dc:creator>
      <dc:date>2006-04-19T06:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: USB code for HC08</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132114#M144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;i got USB working for JB16, the code that is given in TestHID.zip has to be remade from scratch for the JB16...otherwise the memory mapping is off slightly.&lt;BR /&gt;- mo&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2006 06:41:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132114#M144</guid>
      <dc:creator>mo</dc:creator>
      <dc:date>2006-04-19T06:41:27Z</dc:date>
    </item>
    <item>
      <title>Resale of hybrid TBDML and OSBDM ?</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132115#M145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Dear Rocky,&lt;BR /&gt;&lt;BR /&gt;I've recently assembled a hybrid BDM module - using the TBDML V1.0 hardware and a modified OSBDM firmware - and used it to reprogram a MC9S08GT60CFB-based RF board from DLP Design.&lt;BR /&gt;&lt;BR /&gt;My question is: assuming you wrote the OSBDM code which I modified, do you have any problem with me offering BDM modules (based on the modified firmware and GDI libraries) for sale?&lt;BR /&gt;&lt;BR /&gt;I've received the OK from Daniel wrt the TBDML hardware...&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Kevin&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 16:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132115#M145</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2006-09-20T16:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Resale of hybrid TBDML and OSBDM ?</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132116#M146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;Kevin -&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Sorry for the late response. I wasn't monitoring old threads and one of the other moderators had to point out&amp;nbsp;your posting.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I was part of the team that developed the OSBDM. I worked on the hardware.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You may&amp;nbsp;use modified versions of the OSBDM firmware and the GDI in your product.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;- Rocky&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 01:29:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/USB-code-for-HC08/m-p/132116#M146</guid>
      <dc:creator>RockyRoad</dc:creator>
      <dc:date>2006-09-27T01:29:35Z</dc:date>
    </item>
  </channel>
</rss>

