<?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: Bug if C: is not first disk. in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708551#M1245</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jfrey"&gt;jfrey&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;I'm not sure I've fully understood the scenario.&lt;/P&gt;&lt;P&gt;There is no place where the drive letter is encoded into the license nor in the&amp;nbsp;lmhostid logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only requirement for the license to work is to get the HDD Host ID of the partition you have the toolbox installed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help us understand better the error you get: a screenshot, or the error code would help us.&lt;/P&gt;&lt;P&gt;Thank you?&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2017 07:26:12 GMT</pubDate>
    <dc:creator>Daniel_Popa</dc:creator>
    <dc:date>2017-09-20T07:26:12Z</dc:date>
    <item>
      <title>Bug if C: is not first disk.</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708550#M1244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If C: is not your first disk the license manager will fail. Since floppies have long since disappeared I added a new hard drive and put it at B:. (D: is DVD, E:+ are shared drives).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to generate a license based on the first(?) alphabetical disk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2017 20:14:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708550#M1244</guid>
      <dc:creator>jfrey</dc:creator>
      <dc:date>2017-09-19T20:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Bug if C: is not first disk.</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708551#M1245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jfrey"&gt;jfrey&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;I'm not sure I've fully understood the scenario.&lt;/P&gt;&lt;P&gt;There is no place where the drive letter is encoded into the license nor in the&amp;nbsp;lmhostid logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only requirement for the license to work is to get the HDD Host ID of the partition you have the toolbox installed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help us understand better the error you get: a screenshot, or the error code would help us.&lt;/P&gt;&lt;P&gt;Thank you?&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 07:26:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708551#M1245</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-09-20T07:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Bug if C: is not first disk.</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708552#M1246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;License using C: Drive serial number:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://i.imgur.com/aoMwgXX.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;License using B: drive serial number. Everything works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the back to back Diagnostic Viewer results.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://i.imgur.com/V9LTQjQ.png" style="width: 620px; height: 168px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can switch between them simply by commenting one or the other out.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://i.imgur.com/1TL04bv.png" style="width: 620px; height: 208px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mbd_pnt_hostid and lmhostid.exe both report the B: drive.&lt;/P&gt;&lt;P&gt;mbdtbx_MPC574xP is installed on the C: drive.&lt;/P&gt;&lt;P&gt;Windows boots from the C: drive.&lt;/P&gt;&lt;P&gt;B: drive is just a datastore.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-4 jive-image j-img-original" src="https://i.imgur.com/1wjh2iH.png" style="width: 620px; height: 141px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was there a particular design decision around using the volume serial number over ethernet MAC addresses which is what Mathworks uses for Matlab?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 13:02:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708552#M1246</guid>
      <dc:creator>jfrey</dc:creator>
      <dc:date>2017-09-20T13:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Bug if C: is not first disk.</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708553#M1247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jfrey"&gt;jfrey&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The license error 9 means:&lt;/P&gt;&lt;TABLE border="1" cellpadding="10" style="color: #51626f; background-color: #ffffff; border: 1px solid inherit; margin: 0px 0px 2px;"&gt;&lt;TBODY style="border: inherit solid inherit; font-weight: inherit;"&gt;&lt;TR align="left" style="border: inherit solid inherit; font-weight: inherit;"&gt;&lt;TD style="border: inherit solid inherit; font-weight: 400; padding: 2px 4px;"&gt;&lt;DIV class="" style="color: black; border: 0px; font-weight: inherit; text-decoration: none; text-indent: 0em; margin: 0em;"&gt;-9&lt;/DIV&gt;&lt;/TD&gt;&lt;TD style="border: inherit solid inherit; font-weight: 400; padding: 2px 4px;"&gt;&lt;DIV class="" style="color: black; border: 0px; font-weight: inherit; text-decoration: none; text-indent: 0em; margin: 0em;"&gt;Invalid host.&lt;/DIV&gt;&lt;DIV class="" style="color: black; border: 0px; font-weight: inherit; text-decoration: none; text-indent: 0em; margin: 0em;"&gt;The hostid of this system does not match the hostid specified in the license file.&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can see one of your licenses contains 7 out of 8 (normal) characters. I think it is related with this issue:&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/451804#comment-915572" title="https://community.nxp.com/thread/451804#comment-915572"&gt;https://community.nxp.com/thread/451804#comment-915572&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyhow, please be aware that the flexlm is configured to read the host id for the partition where the toolbox is installed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Was there a particular design decision around using the volume serial number over ethernet MAC addresses which is what Mathworks uses for Matlab?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No particular reason, just a reminiscence of the past.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if it works after the patch is getting applied.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 14:11:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708553#M1247</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-09-20T14:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Bug if C: is not first disk.</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708554#M1248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;Anyhow, please be aware that the flexlm is configured to read the host id for the partition where the toolbox is installed.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;STRONG&gt;It's not.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'andale mono', monospace;"&gt;&lt;STRONG&gt;lmhostid&lt;/STRONG&gt; &lt;/SPAN&gt;and &lt;SPAN style="font-family: 'andale mono', monospace;"&gt;&lt;STRONG&gt;mbd_pnt_hostid&lt;/STRONG&gt; &lt;/SPAN&gt;are both returning the serial number for the &lt;STRONG&gt;B:&lt;/STRONG&gt; drive despite the toolbox and all NXP tools being installed on C:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://i.imgur.com/1wjh2iH.png" style="width: 620px; height: 142px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I called lmhostid from both the B: drive and the C: drive and received the B: drive's volume serial number.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://i.imgur.com/SpzlIDq.png" style="width: 620px; height: 264px;" /&gt;&lt;/P&gt;&lt;P&gt;I pulled my DVD drive and added another hard drive I had laying around to D:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the drive is D: it returns the VSN of B:, I moved the D: drive to the A: drive. lmhostid then started returning the VSN of the A: drive.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="https://i.imgur.com/ThhKhiM.png" style="width: 620px; height: 265px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lmhostid is returning the drive letter of the first alphabetic drive. Not the drive where it is installed or the drive where it is called from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason my C: drive 'only' had 7 characters was because it's a hexadecimal representation of the actual serial number. Your licensing tool strips all&amp;nbsp;preceding zeros. My best guess would be this happens when the hex is converted into an integer.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-4 jive-image j-img-original" src="https://i.imgur.com/9eNVWM7.png" style="width: 620px; height: 121px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those patches have all already been applied. (Which is how I was able to use it in the first place). This issue only arose when I added a second hard drive and through&amp;nbsp;happenstance decided to name it &lt;STRONG&gt;B:&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried with a removable disk and this does not occur. So lmhostid only grabs the VSN of the first permanent disk.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 14:50:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708554#M1248</guid>
      <dc:creator>jfrey</dc:creator>
      <dc:date>2017-09-20T14:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Bug if C: is not first disk.</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708555#M1249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jfrey"&gt;jfrey&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now is crystal clear. Thank you!&lt;/P&gt;&lt;P&gt;We will investigate what we can do to address this use-case.&lt;/P&gt;&lt;P&gt;In the mean time - i'll send you a private message that might help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 15:15:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708555#M1249</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-09-20T15:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Bug if C: is not first disk.</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708556#M1250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't need any help. I was just reporting a bug and how to fix it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 15:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Bug-if-C-is-not-first-disk/m-p/708556#M1250</guid>
      <dc:creator>jfrey</dc:creator>
      <dc:date>2017-09-20T15:20:34Z</dc:date>
    </item>
  </channel>
</rss>

