<?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: tbdml.dll version problems - using Axiom CSMB12</title>
    <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152770#M802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm a bit puzzled.&amp;nbsp; I followed your link, and in message 39 of 79, downloaded&lt;BR /&gt;&amp;nbsp;http://www.freescale.com/files/community_files/TBDML/msg320_installation.zip.&amp;nbsp; The version of tbdml.dll in this zip is 131077 bytes long.&amp;nbsp; When NoICE calls tbdml_dll_version(), the return code is 0x21, which the docs tell me is 2.1.&amp;nbsp; The annoying dialog that pops up every time to ask about VDD and connection control claims version 2.1.2. (All this, even though the forum messagerefes to version 1.4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NoICE explicitly sets the BDM speed because it works with older non-S HC12 parts that don't support SYNC.&amp;nbsp; I suppose that I could call tbdml_target_sync on the S parts, but setting the speed manually should work as well, should it not?&amp;nbsp; And the failure I observe happens in tbdm_set_target_type, which I presume that I should set before trying to communicate with the part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using this dll, the first-time sequence is&lt;/P&gt;&lt;P&gt;tbdml_init() returns 1&lt;BR /&gt;tbdml_open(0) returns 0&lt;BR /&gt;tbdml_dll_version() returns 0x21&lt;BR /&gt;tbdml_get_version() returns 0x00001110&lt;BR /&gt;tbdml_set_target_type( HC12 )&lt;BR /&gt;&amp;nbsp;&amp;nbsp; shows dialog to set CLKSW, etc.&amp;nbsp; Press OK&lt;BR /&gt;&amp;nbsp;&amp;nbsp; returns 0&lt;BR /&gt;tbdml_target_reset(SPECIAL_MODE) returns 0&lt;BR /&gt;tbdml_set_speed(4.000000) returns 0&lt;BR /&gt;tbdml_read_byte(B) returns 00&lt;BR /&gt;tbdml_read_bd(FF01) returns C0&lt;/P&gt;&lt;P&gt;etc., working normally&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exit (calling tbdml_close), then try again&lt;/P&gt;&lt;P&gt;tbdml_init() returns 1&lt;BR /&gt;tbdml_open(0) returns 0&lt;BR /&gt;tbdml_dll_version() returns 0x21&lt;BR /&gt;tbdml_get_version() returns 0x00000000&lt;BR /&gt;tbdml_set_target_type( HC12 )&lt;BR /&gt;&amp;nbsp;&amp;nbsp; shows dialog to set CLKSW, etc.&amp;nbsp; Press OK&lt;BR /&gt;&amp;nbsp;&amp;nbsp; returns 3&lt;BR /&gt;The only way to restore normal operation is to unplug the usb from the pod/board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can suggest a better sequence of operation, I would be delighted to hear of it.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by NoICE on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-11-13&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;03:03 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by NoICE on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-11-13&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;03:25 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Nov 2009 11:01:38 GMT</pubDate>
    <dc:creator>NoICE</dc:creator>
    <dc:date>2009-11-13T11:01:38Z</dc:date>
    <item>
      <title>tbdml.dll version problems - using Axiom CSMB12</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152768#M800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using tbdml.dll with NoICE and an Axiom CSMB12 with integrated TBDML.&amp;nbsp; I started out with version tbdml.dll version 2.01 from the combined tbdml/osbdm project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Works fine the first time I open the interface.&amp;nbsp; However, if I restart NoICE, the function tbdml_set_target_type returns error 3.&amp;nbsp; Yes, I call tbdml_close efore exiting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only way to restore operation is to unplug and re-plug the USB cable.&lt;BR /&gt;Any ideas as to what is going on?&lt;BR /&gt;&lt;BR /&gt;If I use tbdml version 1.04 or earlier from the original tbdml project, it all works fine, but then my Witztronics pod won't work.&lt;BR /&gt;&lt;BR /&gt;I just tried the new version 3 of the combined tbdml/osbdm project.&amp;nbsp; It gives a warning about obsolete pod firmware, but then seems to work just fine.&lt;BR /&gt;&lt;BR /&gt;The firmware updates in 3.0 are for 20 and 28-pin JB16, but this board is using 32-pin version, and the port pin assignments don't seem to be quite identical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Nov 2009 04:41:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152768#M800</guid>
      <dc:creator>NoICE</dc:creator>
      <dc:date>2009-11-07T04:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: tbdml.dll version problems - using Axiom CSMB12</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152769#M801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NoICE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't find a version of tbdml.dll included in the USBDM code that reports itself as 2.01&amp;nbsp; (Assuming you are referring to USBDM).&amp;nbsp; Could you try the latest version available here (page 4 of discussion):&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/../../freescale/board/message?board.id=TBDML&amp;amp;thread.id=240&amp;amp;page=4" rel="nofollow" target="_blank"&gt;&lt;BR /&gt;Combined TBDML/OSBDM Code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was unable to re-produce the problem you have reported with the above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note that the while I have tried to maintain compatibility, the version of TBDML provided with USBDM may be&amp;nbsp; incompatible with hardware other than that specifically tested.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The firmware supplied with USBDM is not compaible with the the Axiom hardware you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the problem persists please post here again and I'll ask you to do some debugging if you're willing!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS. The NoICE software appears to do some things in a unusual way.&amp;nbsp; In particular it doesn't appear to actually ask the BDM to connect to the target and insists upon setting the speed - even though TBDML automatically does so in most cases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by pgo on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-11-12&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;07:07 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by pgo on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-11-12&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;07:15 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2009 16:07:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152769#M801</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2009-11-12T16:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: tbdml.dll version problems - using Axiom CSMB12</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152770#M802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm a bit puzzled.&amp;nbsp; I followed your link, and in message 39 of 79, downloaded&lt;BR /&gt;&amp;nbsp;http://www.freescale.com/files/community_files/TBDML/msg320_installation.zip.&amp;nbsp; The version of tbdml.dll in this zip is 131077 bytes long.&amp;nbsp; When NoICE calls tbdml_dll_version(), the return code is 0x21, which the docs tell me is 2.1.&amp;nbsp; The annoying dialog that pops up every time to ask about VDD and connection control claims version 2.1.2. (All this, even though the forum messagerefes to version 1.4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NoICE explicitly sets the BDM speed because it works with older non-S HC12 parts that don't support SYNC.&amp;nbsp; I suppose that I could call tbdml_target_sync on the S parts, but setting the speed manually should work as well, should it not?&amp;nbsp; And the failure I observe happens in tbdm_set_target_type, which I presume that I should set before trying to communicate with the part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using this dll, the first-time sequence is&lt;/P&gt;&lt;P&gt;tbdml_init() returns 1&lt;BR /&gt;tbdml_open(0) returns 0&lt;BR /&gt;tbdml_dll_version() returns 0x21&lt;BR /&gt;tbdml_get_version() returns 0x00001110&lt;BR /&gt;tbdml_set_target_type( HC12 )&lt;BR /&gt;&amp;nbsp;&amp;nbsp; shows dialog to set CLKSW, etc.&amp;nbsp; Press OK&lt;BR /&gt;&amp;nbsp;&amp;nbsp; returns 0&lt;BR /&gt;tbdml_target_reset(SPECIAL_MODE) returns 0&lt;BR /&gt;tbdml_set_speed(4.000000) returns 0&lt;BR /&gt;tbdml_read_byte(B) returns 00&lt;BR /&gt;tbdml_read_bd(FF01) returns C0&lt;/P&gt;&lt;P&gt;etc., working normally&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exit (calling tbdml_close), then try again&lt;/P&gt;&lt;P&gt;tbdml_init() returns 1&lt;BR /&gt;tbdml_open(0) returns 0&lt;BR /&gt;tbdml_dll_version() returns 0x21&lt;BR /&gt;tbdml_get_version() returns 0x00000000&lt;BR /&gt;tbdml_set_target_type( HC12 )&lt;BR /&gt;&amp;nbsp;&amp;nbsp; shows dialog to set CLKSW, etc.&amp;nbsp; Press OK&lt;BR /&gt;&amp;nbsp;&amp;nbsp; returns 3&lt;BR /&gt;The only way to restore normal operation is to unplug the usb from the pod/board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you can suggest a better sequence of operation, I would be delighted to hear of it.&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by NoICE on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-11-13&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;03:03 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by NoICE on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-11-13&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;03:25 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 11:01:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152770#M802</guid>
      <dc:creator>NoICE</dc:creator>
      <dc:date>2009-11-13T11:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: tbdml.dll version problems - using Axiom CSMB12</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152771#M803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And SOMEWHERE in these forums a few days ago I found 750_1_1_Installation_2_0_0.zip (and the _2_2 and_3_3 parts with source and PCB).&amp;nbsp; Heck if I can find them now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The version of tbdml.dll contained therein reports as version 3, even though the name of the zip filewould indicate version 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run NoICE (same sequence of calls as above), I call tbdml_open and get a message box:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The BDM Firmware is incompatible with the interface DLL being used.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please update the BDM firmware or use the correct version DLL.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The interface will operate with limited features.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems to work just fine (including any second run, which breaks with dll version 2).&amp;nbsp; I just wish I knew what the "limited features" do and do not include.&amp;nbsp; (I also wish I make the message box not show up)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by NoICE on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-11-13&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;03:36 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 11:36:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152771#M803</guid>
      <dc:creator>NoICE</dc:creator>
      <dc:date>2009-11-13T11:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: tbdml.dll version problems - using Axiom CSMB12</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152772#M804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NoICE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry about the confusing version numbers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are three independent versions involved:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The BDM Firmware&lt;/P&gt;&lt;P&gt;The Interface DLL&lt;/P&gt;&lt;P&gt;The Hardware&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The uploads are named after the BDM firmware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In part these are inherited from the original TBDML which was (I think) firmware version version 0.3 with DLL version 1.4. and hardware version 0 &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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I increased both of these by 1 when producing the first version of USBDM.&lt;/P&gt;&lt;P&gt;Perhaps I should have gone straight to version 2 for the firmware!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;====================================================&lt;/P&gt;&lt;P&gt;You are quite correct in saying that the connection method would appear to have no bearing&lt;/P&gt;&lt;P&gt;on the error you are having.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I would suggest the following strategy for NoICE - I believe this would also work with the original TBDML and be more convenient for the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When initially connecting or when&amp;nbsp; suspecting loss of communication:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp; try tbdml_target_sync()&lt;/P&gt;&lt;P&gt;If the the above fails:&lt;/P&gt;&lt;P&gt;2. &amp;nbsp; try tbdml_set_speed()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In most cases (for more modern chips) this will save the user from having to manually provide a clock value.&amp;nbsp; This is especially convenient if the target is changing speed.&amp;nbsp; USBDM also has a stategy for determining the connection speed on&amp;nbsp; (some) earlier targets that do not support SYNC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;====================================================&lt;/P&gt;&lt;P&gt;The trace you have provided seem to indicate that BDM firmware is not responding at all after it is closed.&amp;nbsp; I can't think of a reason why this should be affected by the DLL in use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you try either of the following (your choice!) :&lt;/P&gt;&lt;P&gt;- Update the BDM software to the version included in the Zip files referenced above and see whether is affects the results.&amp;nbsp; I'm unclear what version the firmware is.&amp;nbsp; (The information in your log is only the hardware version for some reason).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Stick with the same firmware but change to the Debug version of the interface DLL included above.&amp;nbsp; Run your example and post the .log file that appears in the root of the C drive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If worse comes to worse I'll supply the latest DLL without the nag message but I would prefer to know what is wrong!&amp;nbsp; The main missing features are the RS08 support and some lack of compatibility testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your patience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 16:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152772#M804</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2009-11-13T16:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: tbdml.dll version problems - using Axiom CSMB12</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152773#M805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NoICE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A followup to the above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;USBDM was tested with various versions of Codewarrior.&amp;nbsp; NoICE uses the DLL in a rather different fashion that was not anticipated.&amp;nbsp; The following highlights some of these differences:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Codewarrior only calls open() and set_target() when initially connecting to the DLL/target.&amp;nbsp; USBDM takes advantage of this to display the "annoying dialogue" once only in Codewarrior.&amp;nbsp; NoICE appears to do the above whenever it is resetting the target so, yes, the dialogue is very annoying.&amp;nbsp; I can't do much about this.&amp;nbsp; Setting a flag to prevent it would interfere with the desired operation with codewarrior. Note - I can't change the operation of codewarrior since I don't have access to the DLLs involved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Codewarrior uses target_sync() to connect to the target.&amp;nbsp; It only uses set_speed() when having trouble connecting.&amp;nbsp; Using set_speed() turns off the autosync function of the BDM so it cannot cope with speed changes on the BDM interface.&amp;nbsp; target_sync() should be tried first.&amp;nbsp; This applies equally well to the original TBDML.dll.&amp;nbsp; Using set_speed() works but is undesirable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have downloaded and installed NoICE.&amp;nbsp; It appears to include version&amp;nbsp; v2.1 of tbdml.dll that was available as part of USBDM.&amp;nbsp; I'm unsure why this was done. AFAIK this DLL is compatible with existing TBDML BDMs but I certainly can't test this extensively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried NoICE with the 1.4 version of the BDM with the original TBDML.dll and the 2.1 version shipped with NoICE.&amp;nbsp; I haven't found any problems apart from the two alluded to above.&amp;nbsp; Using the original TBDML.dll requires using the TBDML compatible version of the BDM ie. the version that identifies itself as a TBDML BDM rather than a OSBDM.&amp;nbsp; I can't produce a single BDM that can appear as both!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would recommend checking the firmware version of the BDM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope the above helps rather than confuses.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 20:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152773#M805</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2009-11-13T20:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: tbdml.dll version problems - using Axiom CSMB12</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152774#M806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I can't update the pod firmware: the Axiom CSMB12 devo board includes a TBDML pod using a 32-pin version of the JB16, and the port pins in use don't entirely match those in the distro.&amp;nbsp; Further, these boards are used in bulk by schools, so updating them all isn't practical - much easier to swap the DLL.&lt;BR /&gt;&lt;BR /&gt;Like CodeWarrior, NoICE calls open() and set_target() only once.&amp;nbsp; The problem occurs when the user closes NoICE, and then runs it again.&amp;nbsp; NoICE calls close() before it exits.&lt;BR /&gt;&lt;BR /&gt;Attached are two log files from the debug dll.&lt;BR /&gt;- usbdm_dll1.log shows a normal open&lt;BR /&gt;- usbdm_dll2.log shows a second open, with the failure returned to set_target&lt;BR /&gt;&lt;BR /&gt;NoICE interfaces to a variety of pods, from P&amp;amp;E, SofTec, TBDML, etc.&amp;nbsp; Each version includes the latest DLL.&amp;nbsp; For P&amp;amp;E and SofTec, this DLL supports both current and legacy pods (back to the parallel-port wiggler days in the case of P&amp;amp;E).&amp;nbsp; I naively assumed that TBDML.DLL worked the same way.&amp;nbsp; Clearly, TBMDL.DLL needs to be matched to the pod version.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My best bet is probably to not include ANY version of TBDML.DLL in the NoICE installer, and to let people provide their own dll compatible with their pod.&lt;BR /&gt;&lt;BR /&gt;One suggestion: if the new DLL could at least TELL ME that the connected pod is old-school and needs the older DLL, NoICE could automatically switch from the new to the old DLL.&amp;nbsp; Maybe pod version is enough - if it was documented somewhere.&lt;BR /&gt;&lt;BR /&gt;Thanks for all your work.&amp;nbsp; TBDML/USBDM is a great resource for the community.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2009 21:07:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152774#M806</guid>
      <dc:creator>NoICE</dc:creator>
      <dc:date>2009-11-13T21:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: tbdml.dll version problems - using Axiom CSMB12</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152775#M807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NoICE,&lt;BR /&gt;&lt;BR /&gt;I'm sorry I misread your first posting.&amp;nbsp; Am I correct that the problem you are describing occurs only when using the Axiom CSMB12?&lt;BR /&gt;&lt;BR /&gt;If so, I've believe I've found the reason.&amp;nbsp; The USBDM version of TBDML.dll sets the target type to -1 when closing to turn off the power on the BDMs that have target power control.&amp;nbsp; I checked this against the original TBDML firmware and&amp;nbsp; it was basically ignored.&amp;nbsp; I've just checked a later version of OSBDM that was uploaded in the OSBDM discussion board.&amp;nbsp; It behaves differently.&amp;nbsp; If you set the target type to an unused value it stop responding to any instructions including the one to change the target type back to a legal value!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was an unanticipated problem (obviously).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is the case I'll supply a DLL that checks a bit more carefully before doing this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=======================================================&lt;/P&gt;&lt;P&gt;The comments about the detailed operation of NoICE were really unrelated to the problem.&amp;nbsp; I was just explaining why the config dialogue pops up so often.&amp;nbsp; It does appear that NoICE closes and re-opens the DLL on reset as well as setting the target type.&amp;nbsp; If this is not the case then I must be using NoICE incorrectly.&amp;nbsp; When using the debug version of tbdml.dll it seems to regenerate the log file on every reset which indicates the dll being re-opened. This was not something that Codewarrior does so wasn't seen as a problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally the DLL should be entirely quiet with configuration dialogues and such handled by a higher level!&amp;nbsp; Unfortunately I don't have access to the 'higher levels' so have to include them in the tbdml.dll.&amp;nbsp;&amp;nbsp; Having them pop-up when setting the target seemed the best approach since this was done once per-session with Codewarrior.&lt;BR /&gt;&lt;BR /&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 08:03:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152775#M807</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2009-11-14T08:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: tbdml.dll version problems - using Axiom CSMB12</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152776#M808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your detailed answers&lt;/P&gt;&lt;P&gt;1) Yes, I have seen this only with the CSMB12 (although my only other tbdml pods are a Witztronics and a JB8 pod built by Daniel Malik shortly after the creation)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) What else does close() do?&amp;nbsp; Would I be better off NOT calling it, at least until the DLL can be changed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) My mistake: NoICE 9.2 does indeed close and re-open tbdml for a reset command.&amp;nbsp; I have changed the code to avoid this, but that change has not yet been released.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) Regarding the pop-op when tbml is opened: one option would be to add a function that can be called by the higer level to set the various options before calling open.&amp;nbsp; If the function ISN'T called before open, then the dialog is shown. Softec does something similar.&amp;nbsp; They also provide a function to invoke the dialog directly (say from a button in the higher-level program's configuration dialog), and a way to get the results of the dialog as a string, which can be saved and later passed to the configure-before-open function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the mmost common interface to tbdml is probably CodeWarrior, it might not be worth the effort, but it would make me and a few NoICE users happy &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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 06:11:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152776#M808</guid>
      <dc:creator>NoICE</dc:creator>
      <dc:date>2009-11-17T06:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: tbdml.dll version problems - using Axiom CSMB12</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152777#M809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NOICE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate it if you could try the dll attached to see if it works correctly with your hardware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should function as follows (I hope):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CSMB12, original TBDML&amp;nbsp; - No dialogues, basically the same as original TBDML.dll&lt;/P&gt;&lt;P&gt;Witztronics - A nag dialogue should appear with the option to suppress.&amp;nbsp; To restore the nagging delete the (obvious) file in %APPDATA%/usbdm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have the time I would appreciate if you would try updating the witztronics BDM to USBDM V2.&amp;nbsp; See this posting:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=OSBDM08&amp;amp;thread.id=750" target="_blank"&gt;USBDM - Version 2 (JB16 Version)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It should be straightforward to restore it to the earlier version from here (V1.4 lower down the page):&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=TBDML&amp;amp;thread.id=240&amp;amp;page=4" target="_blank"&gt;Combined TBDML/OSBDM Code&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/TBDML/406_tbdml.zip" rel="nofollow" target="_self"&gt;tbdml.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-11-18&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;10:49 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2009 15:26:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152777#M809</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2009-11-18T15:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: tbdml.dll version problems - using Axiom CSMB12</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152778#M810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great!&amp;nbsp; I tried the new DLL with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CSMB12 board: NoICE shows DLL version 3.00; pod version 0.0.17.16&lt;BR /&gt;&lt;BR /&gt;Witztronics: NoICE shows DLL version 3.00; pod version 0.0.5.20, with one-time dialog.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Original JB8-based V 1.0A pod: NoICE shows DLL version 3.00; pod version 0.0.16.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will need to install ICP so that I can update the Witztronics pod.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Nov 2009 00:06:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152778#M810</guid>
      <dc:creator>NoICE</dc:creator>
      <dc:date>2009-11-21T00:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: tbdml.dll version problems - using Axiom CSMB12</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152779#M811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just updated the Witztronics pod.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NoICE now shows the TBDML startup-dialog, and then says dll version 3.00; pod version 0.0.5.32&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a happy camper!&amp;nbsp; Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Nov 2009 03:26:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/tbdml-dll-version-problems-using-Axiom-CSMB12/m-p/152779#M811</guid>
      <dc:creator>NoICE</dc:creator>
      <dc:date>2009-11-21T03:26:52Z</dc:date>
    </item>
  </channel>
</rss>

