<?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: Multiple USBDM programmers and ARM_Programmer command line utility</title>
    <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Multiple-USBDM-programmers-and-ARM-Programmer-command-line/m-p/438107#M3161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say "one of the four" programmers hangs - Do you mean a particular one or just any one of the four?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have a look at the pop-up.&amp;nbsp; I just have failed to set the handler correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 4.11 versions have been restructured to allow the programming functions to be used independently.&amp;nbsp; So yes it should be possible to make use of the code to roll your own.&amp;nbsp; The required DLLs are now plugin-ins though I expect they have rough edges.&amp;nbsp; I'll make up an example some time soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 May 2015 00:35:07 GMT</pubDate>
    <dc:creator>pgo</dc:creator>
    <dc:date>2015-05-16T00:35:07Z</dc:date>
    <item>
      <title>Multiple USBDM programmers and ARM_Programmer command line utility</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Multiple-USBDM-programmers-and-ARM-Programmer-command-line/m-p/438106#M3160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Started using the latest, okay not quite the latest,&amp;nbsp; USBDM_4_11_1_10 programmer firmware. (I see it got updated last night)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're using four programmers based on the USBDM firmware for the FRDM-KL25 to program four devices at the same time&lt;/P&gt;&lt;P&gt;using arm_programmer.exe from the command line actually we are shelling out from a C# program to run the utility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the the four programmers will hang occasionally.&amp;nbsp; And we'll have to unplug it. Not sure why this is happening.&amp;nbsp; &lt;/P&gt;&lt;P&gt;We tried moving them two different USB bus controllers and this helps a lot.&amp;nbsp; Isn't ideal though.&amp;nbsp; Not sure why this &lt;/P&gt;&lt;P&gt;is happening exactly, but it's a problem.&amp;nbsp; Using just one programmer is totally reliable though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance on how to go forward would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is when the arm_programmer.exe is run from the command line and you get a target connection&lt;/P&gt;&lt;P&gt;problem, the utility pops up a message box.&amp;nbsp; This probably should be disabled when running on the command line.&lt;/P&gt;&lt;P&gt;(On our computer is sometimes pops up behind another window and that causes confusion)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems like an easy enough fix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Third question: Is it possible to recompile the dll used by the USBDM firmware and call it directly from C#/.net? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 22:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Multiple-USBDM-programmers-and-ARM-Programmer-command-line/m-p/438106#M3160</guid>
      <dc:creator>matthewharper</dc:creator>
      <dc:date>2015-05-15T22:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple USBDM programmers and ARM_Programmer command line utility</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Multiple-USBDM-programmers-and-ARM-Programmer-command-line/m-p/438107#M3161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say "one of the four" programmers hangs - Do you mean a particular one or just any one of the four?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have a look at the pop-up.&amp;nbsp; I just have failed to set the handler correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 4.11 versions have been restructured to allow the programming functions to be used independently.&amp;nbsp; So yes it should be possible to make use of the code to roll your own.&amp;nbsp; The required DLLs are now plugin-ins though I expect they have rough edges.&amp;nbsp; I'll make up an example some time soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2015 00:35:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Multiple-USBDM-programmers-and-ARM-Programmer-command-line/m-p/438107#M3161</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2015-05-16T00:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple USBDM programmers and ARM_Programmer command line utility</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Multiple-USBDM-programmers-and-ARM-Programmer-command-line/m-p/438108#M3162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;pgo wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say "one of the four" programmers hangs - Do you mean a particular one or just any one of the four? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will have a look at the pop-up.&amp;nbsp; I just have failed to set the handler correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 4.11 versions have been restructured to allow the programming functions to be used independently.&amp;nbsp; So yes it should be possible to make use of the code to roll your own.&amp;nbsp; The required DLLs are now plugin-ins though I expect they have rough edges.&amp;nbsp; I'll make up an example some time soon.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Random.&amp;nbsp; Did find that staggering the programming 'helped' but didn't eliminate the problem. If we stagger them completely then it seems to work okay.&amp;nbsp; But then programming is slow. Programming with a single programmer always works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might look at the DLL's at some point then.&amp;nbsp; I might also try compiling the programmer for Linux and see if the issue persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2015 05:06:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Multiple-USBDM-programmers-and-ARM-Programmer-command-line/m-p/438108#M3162</guid>
      <dc:creator>matthewharper</dc:creator>
      <dc:date>2015-05-16T05:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple USBDM programmers and ARM_Programmer command line utility</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Multiple-USBDM-programmers-and-ARM-Programmer-command-line/m-p/438109#M3163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;I have uploaded an example CPP program using the new DLLs&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/podonoghue/usbdm-eclipse-makefiles-build/tree/master/USBDM_Programmer_API_Example" title="https://github.com/podonoghue/usbdm-eclipse-makefiles-build/tree/master/USBDM_Programmer_API_Example"&gt;usbdm-eclipse-makefiles-build/USBDM_Programmer_API_Example at master · podonoghue/usbdm-eclipse-makefiles-build · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 11:20:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Multiple-USBDM-programmers-and-ARM-Programmer-command-line/m-p/438109#M3163</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2015-05-17T11:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple USBDM programmers and ARM_Programmer command line utility</title>
      <link>https://community.nxp.com/t5/OSBDM-and-TBDML/Multiple-USBDM-programmers-and-ARM-Programmer-command-line/m-p/438110#M3164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks I will look at your example in the next few days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional hints &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definitely appears that the problem occurs when we have more than one programmer on a USB bus controller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Often both units on the same controller become unusable after the failure occurs. (Bringing up the ARM_programmer.exe GUI shows both as&lt;/P&gt;&lt;P&gt;unavailable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we reset (as in reset the K20 processor with a clip lead from reset to gnd) the unit that failed, then everything works again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 22:01:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/OSBDM-and-TBDML/Multiple-USBDM-programmers-and-ARM-Programmer-command-line/m-p/438110#M3164</guid>
      <dc:creator>matthewharper</dc:creator>
      <dc:date>2015-05-21T22:01:09Z</dc:date>
    </item>
  </channel>
</rss>

