<?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 Re: Can not write into QG8 memory in OSBDM and TBDML</title>
    <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178960#M1179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi again Learner,&lt;BR /&gt;&lt;BR /&gt;I dusted off my home made OSBDM and my home made DEMOQG8.&lt;BR /&gt;I connected them up and fired up hiwave.exe from the prog directory under CW.&lt;BR /&gt;I had the difficulty as you did with it reporting it was secured.&lt;BR /&gt;This is an issue with the QG that it does not have a reset pin out of reset.&lt;BR /&gt;see this &lt;A href="http://forums.freescale.com/freescale/board/message?message.uid=11435#U11435" target="_blank"&gt;thread&lt;/A&gt;.&lt;BR /&gt;when this happens leave OSBDM powered,&lt;BR /&gt;turn off QG target, link BKGD pin to GND and power up target, remove link.&lt;BR /&gt;You have now forced it into bkgd mode.&lt;BR /&gt;tell OSBDM to connect, it should now.&lt;BR /&gt;&lt;BR /&gt;On the demo board you have 2 pushbuttons at PTA2 and 3 and two leds at PTB6 and 7&lt;BR /&gt;&lt;BR /&gt;Now if you push a button and point memory window so you can see address 0000 and then right click memory window and select update you can see the port A value change.&lt;BR /&gt;&lt;BR /&gt;Also writing C0 to port b DDR (0003) and then C0 and 00 alternately to PTAD (0002)&lt;BR /&gt;you can turn on and off the two leds. These writes are reflected in the memory window directly as it is automatically refreshed after the write.&lt;BR /&gt;&lt;BR /&gt;There you go it works!&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by peg on &lt;SPAN class="date_text"&gt;2008-01-13&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;04:12 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Jan 2008 13:07:15 GMT</pubDate>
    <dc:creator>peg</dc:creator>
    <dc:date>2008-01-13T13:07:15Z</dc:date>
    <item>
      <title>Can not write into QG8 memory</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178959#M1178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi guys,&lt;BR /&gt;I have updated my BDM firmware and now I think the BDM is communicating with the QG8 but I can not be 100% sure, so may be someone can point me onto the right track. Here is what happens after I press debug&lt;BR /&gt;&lt;BR /&gt;a window with title "HCS08 Open Source BDM Setup"&lt;BR /&gt;&lt;BR /&gt;click OK&lt;BR /&gt;&lt;BR /&gt;then there is a window with title "No Communication"&lt;BR /&gt;"There is currebtly no communication with the hardware.&lt;BR /&gt;Please try to connect before loading an executable file."&lt;BR /&gt;&lt;BR /&gt;click OK&lt;BR /&gt;&lt;BR /&gt;go menu&amp;gt; "Component" / "Set Connection..."&lt;BR /&gt;&lt;BR /&gt;then a window with title "Set Connection" comes up&lt;BR /&gt;&lt;BR /&gt;Processor:&amp;nbsp; "HCS08"&lt;BR /&gt;&lt;BR /&gt;Connection "HCS08 Open Source BDM"&lt;BR /&gt;&lt;BR /&gt;click OK&lt;BR /&gt;&lt;BR /&gt;A window comes up with title "HCS08 Open Source BDM Setup"&lt;BR /&gt;&lt;BR /&gt;click OK&lt;BR /&gt;&lt;BR /&gt;===================================&lt;BR /&gt;(Message on the command window)&lt;BR /&gt;Loading Target ...&lt;BR /&gt;TARGET SECURED?&amp;nbsp; NO TARGET CONNECTED?&lt;BR /&gt;TARGET SECURED?&amp;nbsp; NO TARGET CONNECTED?&lt;BR /&gt;No Link To Target&lt;BR /&gt;====================================&lt;BR /&gt;&lt;BR /&gt;(Then I try again)&lt;BR /&gt;&lt;BR /&gt;menu: component / set connection...&lt;BR /&gt;&lt;BR /&gt;click ok&lt;BR /&gt;&lt;BR /&gt;===============================================&lt;BR /&gt;(Message on the command window)&lt;BR /&gt;Loading Target ...&lt;BR /&gt;TARGET SECURED?&amp;nbsp; NO TARGET CONNECTED?&lt;BR /&gt;TARGET SECURED?&amp;nbsp; NO TARGET CONNECTED?&lt;BR /&gt;No Link To Target&lt;BR /&gt;Loading Target ...&lt;BR /&gt;executing .\cmd\HCS08_OpenSourceBDM_startup.cmd&lt;BR /&gt;&lt;BR /&gt;!// At startup the commands written below will be executed&lt;BR /&gt;Startup command file correctly executed.&lt;BR /&gt;Target Ready&lt;BR /&gt;done .\cmd\HCS08_OpenSourceBDM_startup.cmd&lt;BR /&gt;&lt;BR /&gt;Startup command file correctly executed.&lt;BR /&gt;===============================================&lt;BR /&gt;&lt;BR /&gt;The red led then starts to blink&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The problem I have right now is I can not write to registers or memory using BDC commands, also I can not load into the flash.&lt;BR /&gt;&lt;BR /&gt;menu &amp;gt; "HCS08 Open Source BDM" -&amp;gt; "Flash"&lt;BR /&gt;&lt;BR /&gt;then a&amp;nbsp; window pops up with tilte "Non Volatile Memory Control"&lt;BR /&gt;Message:&lt;BR /&gt;"Error while loading diagnostics algorith to target system.&lt;BR /&gt;The chip may be secured, or the derivative selected may be wrong."&lt;BR /&gt;&lt;BR /&gt;click OK&lt;BR /&gt;&lt;BR /&gt;difernt window with the same title "Non Volatile Memory Control"&lt;BR /&gt;MCU speed:&amp;nbsp;&amp;nbsp;&amp;nbsp; --.--- MHz&lt;BR /&gt;select .fpp file to load&lt;BR /&gt;&lt;BR /&gt;click OK&lt;BR /&gt;&lt;BR /&gt;windoew pops up with title&lt;BR /&gt;"FPP file file MCUID is different from the target MCUID."&lt;BR /&gt;&lt;BR /&gt;click OK&lt;BR /&gt;&lt;BR /&gt;(Then I try again)&lt;BR /&gt;menu &amp;gt; "HCS08 Open Source BDM" -&amp;gt; "Flash"&lt;BR /&gt;&lt;BR /&gt;window pops up with title "Non Volatile Memory Control"&lt;BR /&gt;Message:&lt;BR /&gt;"Error while loading diagnostics algorith to target system.&lt;BR /&gt;The chip may be secured, or the derivative selected may be wrong."&lt;BR /&gt;&lt;BR /&gt;=====================================================&lt;BR /&gt;Message on command window&lt;BR /&gt;&lt;BR /&gt;FP: FLASH parameters loaded for MC9S08QG8_V11(NVMIF2 rev 3) from E:\code_warrior_5_1\prog\fpp\Mcu1019.fpp&lt;BR /&gt;=====================================================&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From the data sheet&lt;BR /&gt;&lt;BR /&gt;4.6 Security&lt;BR /&gt;The MC9S08QG8/4 includes circuitry to prevent unauthorized access to the contents of FLASH andRAM&lt;BR /&gt;memory. When security is engaged, FLASH and RAM are considered secure resources.&lt;BR /&gt;Direct-page registers, high-page registers, and the background debug controller are considered unsecured resources. Programs executing within secure memory have normal access to any MCU memory locations and resources. Attempts to access a secure memory location with a program executing from an unsecured memory space or through the background debug interface are blocked (writes are ignored and reads return all 0s).&lt;BR /&gt;..................................................&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....................&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;BR /&gt;..........&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .......&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&amp;nbsp; .&amp;nbsp;&amp;nbsp; .&lt;BR /&gt;&lt;BR /&gt;"The on-chip debug module cannot be enabled while the MCU is secure. The separate background debug&lt;BR /&gt;controller can still be used for background memory access commands, but the MCU cannot enter active&lt;BR /&gt;background mode except by holding BKGD/MS low at the rising edge of reset."&lt;BR /&gt;&lt;BR /&gt;Does anyone know if this is a security issue that I can not write to the memory of the QG8 using commands such as&lt;BR /&gt;&lt;BR /&gt;WB 0x0003 0xFF&lt;BR /&gt;WB 0x0002 0xFF&lt;BR /&gt;&lt;BR /&gt;I have tried these 3 steps on the DATA sheet page 50&lt;BR /&gt;&lt;BR /&gt;Security can always be disengaged through the background debug interface by taking these steps:&lt;BR /&gt;&lt;BR /&gt;1. Disable any block protections by writing FPROT. FPROT can be written only with background&lt;BR /&gt;debug commands, not from application software.&lt;BR /&gt;2. Mass erase FLASH if necessary.&lt;BR /&gt;3. Blank check FLASH. Provided FLASH is completely erased, security is disengaged until the next&lt;BR /&gt;reset.&lt;BR /&gt;To avoid returning to secure mode after the next reset, program NVOPT so SEC01&lt;IMG alt=":smileyfrustrated:" class="emoticon emoticon-smileyfrustrated" id="smileyfrustrated" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-frustrated.gif" title="Smiley Frustrated" /&gt;EC00 = 1:0.&lt;BR /&gt;&lt;BR /&gt;But&lt;BR /&gt;&lt;BR /&gt;WB 0x0003 0xFF&lt;BR /&gt;WB 0x0002 0xFF&lt;BR /&gt;&lt;BR /&gt;does not shows up on the memory map and I can not change the value on the memory map.&lt;BR /&gt;&lt;BR /&gt;Can anyone suggest I should do to test if anything is working correctly?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 18:51:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178959#M1178</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2008-01-11T18:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can not write into QG8 memory</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178960#M1179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi again Learner,&lt;BR /&gt;&lt;BR /&gt;I dusted off my home made OSBDM and my home made DEMOQG8.&lt;BR /&gt;I connected them up and fired up hiwave.exe from the prog directory under CW.&lt;BR /&gt;I had the difficulty as you did with it reporting it was secured.&lt;BR /&gt;This is an issue with the QG that it does not have a reset pin out of reset.&lt;BR /&gt;see this &lt;A href="http://forums.freescale.com/freescale/board/message?message.uid=11435#U11435" target="_blank"&gt;thread&lt;/A&gt;.&lt;BR /&gt;when this happens leave OSBDM powered,&lt;BR /&gt;turn off QG target, link BKGD pin to GND and power up target, remove link.&lt;BR /&gt;You have now forced it into bkgd mode.&lt;BR /&gt;tell OSBDM to connect, it should now.&lt;BR /&gt;&lt;BR /&gt;On the demo board you have 2 pushbuttons at PTA2 and 3 and two leds at PTB6 and 7&lt;BR /&gt;&lt;BR /&gt;Now if you push a button and point memory window so you can see address 0000 and then right click memory window and select update you can see the port A value change.&lt;BR /&gt;&lt;BR /&gt;Also writing C0 to port b DDR (0003) and then C0 and 00 alternately to PTAD (0002)&lt;BR /&gt;you can turn on and off the two leds. These writes are reflected in the memory window directly as it is automatically refreshed after the write.&lt;BR /&gt;&lt;BR /&gt;There you go it works!&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by peg on &lt;SPAN class="date_text"&gt;2008-01-13&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;04:12 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jan 2008 13:07:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178960#M1179</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2008-01-13T13:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can not write into QG8 memory</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178961#M1180</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;Hi Peg,&lt;BR /&gt;This is what I got after Set Connection in trying the method you suggested,&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://img181.imageshack.us/img181/8462/cmdwindowlu3.jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;But I get this Unknown($1301) on the status bar of CW5.1, I still have problem with going into HSC08 Open Source BDM&amp;gt; Flash&lt;BR /&gt;&lt;BR /&gt;I get this error message&lt;BR /&gt;&lt;IMG src="http://img138.imageshack.us/img138/3330/nverrormsgsq0.jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After trying the procedure as described vs leaving the BKGD pin high when power up,&lt;BR /&gt;it seems to be doing the same thing. I do not know what I am doing wrong but 1 thing for certain is that it looks like CW5.1 can not recognize the MCUID, it shows that in&lt;BR /&gt;&lt;BR /&gt;======================================&lt;BR /&gt;Non Volatile Memory Control window&lt;BR /&gt;Auto select according to MCUID :0x1301&lt;BR /&gt;======================================&lt;BR /&gt;&lt;BR /&gt;and I when I try to load 0x1019 I get this error window&lt;BR /&gt;==========================================&lt;BR /&gt;||&amp;nbsp;&amp;nbsp; FPP file loading warning&lt;BR /&gt;||&amp;nbsp;&amp;nbsp; The FPP file MCUID is different from the target MCUID&lt;BR /&gt;==========================================&lt;BR /&gt;&lt;BR /&gt;Is this because I have not entered the background debug mode?&lt;BR /&gt;Why does CW5.1 Auto select according to MCUID :0x1301 but not anything else?&lt;BR /&gt;&lt;BR /&gt;The Command window seems to be working together with the Memory window eg. when I click onto the Memory window and change the value in an address I got this&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://img442.imageshack.us/img442/874/memmapij5.jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;Looks like random value at different address and when I scroll down the Memory window, the Command updates the Starting address of reading eg.&lt;BR /&gt;&lt;BR /&gt;Reading From Memory Address: 0x0A03, count: 256&lt;BR /&gt;DiMemoryRead()==&amp;gt; DI_OK&lt;BR /&gt;&lt;BR /&gt;Reading From Memory Address: 0x0B03, count: 256&lt;BR /&gt;DiMemoryRead()==&amp;gt; DI_OK&lt;BR /&gt;&lt;BR /&gt;Is there an step by step troubleshooting procedure to varify what's working and whats not?&lt;BR /&gt;&lt;BR /&gt;Totally lost on making this to work........ &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by Learner on &lt;SPAN class="date_text"&gt;2008-01-14&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;06:28 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2008 02:19:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178961#M1180</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2008-01-15T02:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can not write into QG8 memory</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178962#M1181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Just want to report back, I followed the DEMO9S08QG8_SCH_C.pdf and added a pull-up resistor to the BKGD pin and now I am able to read and write to the memory, registors, have tested with turn on and off LEDs on Port B.&lt;BR /&gt;&lt;BR /&gt;The steps are&lt;BR /&gt;&lt;BR /&gt;1. Ground BKGD pin with pull up resistor&lt;BR /&gt;2. Click on Debug in IDE&lt;BR /&gt;3. HCS08 Open Source BDM Setup window opens&lt;BR /&gt;4. Power off and on QG8, unground BKGD pin and connect to pin 1 of BDM port&lt;BR /&gt;5. click OK on the HCS08 Open Source BDM Setup window&lt;BR /&gt;6. Debugger loads cmd files......e.g (HCS08_OpenSourceBDM_Erase_Unsecure.cmd)&lt;BR /&gt;7. Error message&lt;BR /&gt;&amp;nbsp;&lt;IMG src="http://img138.imageshack.us/img138/3330/nverrormsgsq0.jpg" /&gt;&lt;BR /&gt;8.Source window loads and display main.dbg file&lt;BR /&gt;9. WB 0x2..0x3 0xFF&lt;BR /&gt;10. Able to turn on/off LEDs on Port B&lt;BR /&gt;&lt;BR /&gt;I think the debugger is communicating to the QG8 to some extent but not fully functional, I still get this Unknown($1301)&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://img247.imageshack.us/img247/6861/illegalac0.jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;Does anyone know what ILLEGAL_BP means?&lt;BR /&gt;&lt;BR /&gt;When I click on HCS08 Open Source BDM -&amp;gt; Flash&lt;BR /&gt;&lt;BR /&gt;I get this&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://img174.imageshack.us/img174/1470/fppwarningub5.jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;then this&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://img138.imageshack.us/img138/3330/nverrormsgsq0.jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;then this&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://img174.imageshack.us/img174/7913/nvmcload1019tj8.jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;So I can not load into Flash still....&lt;BR /&gt;&lt;BR /&gt;any ideas?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 12:00:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178962#M1181</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2008-01-30T12:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can not write into QG8 memory</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178963#M1182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Learner,&lt;BR /&gt;&lt;BR /&gt;Glad to see you are getting somewhere.&lt;BR /&gt;The lack of a pullup on BKGD does seem to be more of an issue with the QG than other S08's&lt;BR /&gt;The ILLEGAL_BP seems to be a very common symptom for when the BDM communications is not working properly.&lt;BR /&gt;This I believe goes back to what I said before about the simplistic error handling employed here.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 16:38:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178963#M1182</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2008-01-30T16:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can not write into QG8 memory</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178964#M1183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi Peg,&lt;BR /&gt;Would you suggest to include the pull up resistor when programming any HCS08 chips?&lt;BR /&gt;&lt;BR /&gt;I used this file posted by RockyRoad to update the firm ware and used the&lt;BR /&gt;&lt;BR /&gt;OpenSourceBDM_gdi.dll&lt;BR /&gt;OpenSourceBDM.dll&lt;BR /&gt;OpenSourceBDM.s19&lt;BR /&gt;&lt;BR /&gt;from the zip&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=OSBDM08&amp;amp;thread.id=2" target="test_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=OSBDM08&amp;amp;thread.id=2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I am currently using CW6.1 instead of CW5.1 with patch, I was getting the same error result without the pull up resistor do you think it would be worth a try going back using CW5.1 with the patch?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;Higher up the thread you mentioned your OSBDM is working, is it fully functional ? Are you using the same zip file posted by RockyRoad? Currently it seems that I am the only one having this particular problem, if anyone else is using the identical zip file and everything is fully functional, then I can rule out the files are the cause of the problem and try to look some where else........&lt;BR /&gt;&lt;BR /&gt;If you are using a different file, do you mind suggesting the link where you got the file from?&lt;BR /&gt;&lt;BR /&gt;Also about the libusb.lib file, do I need to do anything with this file?&lt;BR /&gt;&lt;BR /&gt;Thank you for your help!&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 17:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178964#M1183</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2008-01-30T17:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can not write into QG8 memory</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178965#M1184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Learner,&lt;BR /&gt;&lt;BR /&gt;As mentioned elsewhere, I have programmed and debugged 100's of GT16 and GT16A processors with a P&amp;amp;E USB Multilink and NO onboard BKGD pullup. However, others, most notably forum user irob, has had difficulty without using one. So it is probably prudent to at least allow a location for a pullup on board. My homemade DEMOQG8 has a pullup because the original has one.&lt;BR /&gt;&lt;BR /&gt;My OSBDM works fully functionally. It is a little tempermental on occasions and requires a few "kicks in the guts" to get it to connect properly. It is however very poorly constructed on 0.1" stripboard that is further slit into 0.05" stripboard with a knife. Whipped up on a rainy Sunday over a year ago. This also means that I have mostly used patched CW 5.1 to connect to it or GDI method manually. It is, as far as I know, running the latest version of everything that is clearly available here. I think you will find everything to be a least about 1 year old as there appears to be no further development in this time.&lt;BR /&gt;&lt;BR /&gt;I don't have CW 6.1 installed yet as I don't usually use CW. I do have CW 6.0 installed which came with my DEMOQE128 board. If I get time I might try my home made DEMOQG8 on my home made OSBDM with CW6.0 just to let you know if it works for me.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 18:06:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178965#M1184</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2008-01-30T18:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can not write into QG8 memory</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178966#M1185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi again Learner,&lt;BR /&gt;&lt;BR /&gt;I just loaded DEMO9S08QG8_APP.mcp into my fairly fresh install of CW6.0.&lt;BR /&gt;Changed the connection with the little IC icon to QG8 and OSBDM.&lt;BR /&gt;Then hit the green bug.&lt;BR /&gt;Failed to connect.&lt;BR /&gt;After using connect under the OSBDM menu about 6 times and manually holding BKGD low while cycling power to the QG8, I got a connection.&lt;BR /&gt;Quit hiwave.&lt;BR /&gt;Hit the bug again.&lt;BR /&gt;Got connection immediately.&lt;BR /&gt;Want to mass erase? Yes.&lt;BR /&gt;bingo all done!&lt;BR /&gt;hit run, All OK! All works!&lt;BR /&gt;&lt;BR /&gt;Sorry this must be frustrating for you, but I can't find any problem.&lt;BR /&gt;&lt;BR /&gt;As far as I can tell the latest source files that are in the firmware I am using is 24 Feb 2006 (3 of this date others are older) and the last time I compiled the OSBDM firmware was 14 Apr 2006 so there is nothing any later than this in my firmware.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by peg on &lt;SPAN class="date_text"&gt;2008-01-30&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:01 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 18:44:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178966#M1185</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2008-01-30T18:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can not write into QG8 memory</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178967#M1186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi Peg,&lt;BR /&gt;Do you think you can email me the exact same files to try? e.g.&lt;BR /&gt;OpenSourceBDM_gdi.dll&lt;BR /&gt;OpenSourceBDM.dll&lt;BR /&gt;OpenSourceBDM.s19&lt;BR /&gt;&lt;BR /&gt;I think if I can try a set of files with the same edition CW known to work correctly, this would pretty much decide if it might be the BDM hardware that is the problem. I have pretty much traced the BDM and it seems to match whats on the&amp;nbsp; Open_Source_BDM_Interface_User_Manual.pdf , so at the mement I am suspecting that its the files that I have that's not working properly.&lt;BR /&gt;&lt;BR /&gt;If loading your files still doesn't work, I think I would have to buy a BDM with a proper tech support!&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 22:26:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178967#M1186</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2008-01-30T22:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can not write into QG8 memory</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178968#M1187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Learner,&lt;BR /&gt;&lt;BR /&gt;I can't be sure this is what I am actually using, but this is probably it.&lt;BR /&gt;Note that my CW6.0 installation is "out of the box"&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by peg on &lt;SPAN class="date_text"&gt;2008-01-31&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;07:31 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/OSBDM08/375_1_opensourcebdm_abs1_s19.zip" rel="nofollow" target="_self"&gt;opensourcebdm_abs1_s19.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/OSBDM08/375_2_opensourcebdm_dll.zip" rel="nofollow" target="_self"&gt;opensourcebdm_dll.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/OSBDM08/375_3_osbdm_gdi_s08_v3_dll.zip" rel="nofollow" target="_self"&gt;osbdm_gdi_s08_v3_dll.zip&lt;/A&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-26&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:09 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 04:30:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178968#M1187</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2008-01-31T04:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can not write into QG8 memory</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178969#M1188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Peg,&lt;BR /&gt;I finally got things working but this is my second debugger that combines OSBDM and TBDML, I have tested 4 drivers(OpenSourceBDM.dll) 1 from OSBDM zip, 2 drivers came with each of my BDM and yours.&lt;BR /&gt;&lt;BR /&gt;Your driver seems to be working the best, I can read and write plus load into flash! I think its fully functional but I am still getting this ILLEGAL_BP message&lt;BR /&gt;&lt;BR /&gt;&lt;IMG alt="" src="file:/K:/DOCUME%7E1/Admin/LOCALS%7E1/Temp/moz-screenshot.jpg" /&gt;&lt;IMG alt="" src="file:/K:/DOCUME%7E1/Admin/LOCALS%7E1/Temp/moz-screenshot-1.jpg" /&gt;&lt;BR /&gt;&lt;IMG src="http://img155.imageshack.us/img155/2674/illegalbpnp9.jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;The driver came with the OSBDM/TBDML works the same with same ILLEGAL_BP message shown above, however its very hard to connect to the target device.....&lt;BR /&gt;&lt;BR /&gt;Thank you so much for your help!!! I owe you at least a few drinks! &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2008 19:27:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Can-not-write-into-QG8-memory/m-p/178969#M1188</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2008-02-01T19:27:10Z</dc:date>
    </item>
  </channel>
</rss>

