<?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: Flashing/Erasing boards using SPSDK integrated within GUI with python 3.12 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780893#M55081</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224718"&gt;@Kateb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your feedback.&lt;/P&gt;
&lt;P&gt;Without GUI, just&amp;nbsp;p&lt;SPAN&gt;utting the board in&amp;nbsp;mode ISP (Bootloader) and Resetting the board normal mode&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;manually&lt;/STRONG&gt;, does it work well?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Is these functionalities possible by integrating SPSDK within the python GUI application?&lt;/P&gt;
&lt;P&gt;==&amp;gt;Actually, I think in theory, I think it is possible. But as I know, there is no customer to do in this way. I need to check with our internal team to double confirm.&lt;/P&gt;
&lt;P&gt;Do you have full logs?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I checked the logs you provided, it seems it raises&lt;STRONG&gt; " No Response, Timeout Error !"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Christine_Li_1-1703762523409.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256133iA39EF9A20CCCCFE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Christine_Li_1-1703762523409.png" alt="Christine_Li_1-1703762523409.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Christine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Dec 2023 11:22:34 GMT</pubDate>
    <dc:creator>Christine_Li</dc:creator>
    <dc:date>2023-12-28T11:22:34Z</dc:date>
    <item>
      <title>Flashing/Erasing boards using SPSDK integrated within GUI with python 3.12</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780021#M55057</link>
      <description>&lt;P&gt;Seasons Greeting,&lt;/P&gt;&lt;P&gt;I'm using&amp;nbsp;KW45B41Z with VID:PID=1FC9:0143 and SER=E2KIV02VWSX53.&lt;/P&gt;&lt;P&gt;My intent is to Flash and/or Erase, Set parameters, etc... using&amp;nbsp;&lt;/P&gt;&lt;P&gt;spsdk.mboot.mcuboot.py and other pieces of code from the spsdk&amp;nbsp;integrated within &lt;STRONG&gt;python 3.12&lt;/STRONG&gt; GUI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when running the GUI Erase function calling mcuboot&amp;nbsp;flash_erase_all() for example, I get this kind of errors:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;Exception in Tkinter callback&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;Traceback (most recent call last):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;File "c:\Python312\Lib\tkinter\__init__.py", line 1948, in __call__&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;return self.func(*args)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;^^^^^^^^^^^^^^^^&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;File "C:\_dev\spsdk\examples\bmw-poc-gui.py", line 1133, in &amp;lt;lambda&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;erase_board_button = tb.Button(blhost_frame, text='Erase Board', command= lambda: self.board.erase_board(self.vid_pid) , bootstyle = INFO)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;File "C:\_dev\spsdk\examples\bmw-poc-gui.py", line 404, in erase_board&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;mb.reset(reopen=False)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;File "C:\_dev\spsdk\spsdk\mboot\mcuboot.py", line 730, in reset&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;status = self._process_cmd(cmd_packet).status&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;File "C:\_dev\spsdk\spsdk\mboot\mcuboot.py", line 129, in _process_cmd&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;assert isinstance(response, CmdResponse)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2" color="#800000"&gt;AssertionError&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;the piece of code I use :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;def&lt;/SPAN&gt; &lt;SPAN&gt;erase_board&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;self&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;vid_pid&lt;/SPAN&gt;&lt;SPAN&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;interfaces&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;MbootUSBInterface&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;scan&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; &lt;SPAN&gt;interfaces&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"Not founded MCU-BOOT device"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;sys&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;exit&lt;/SPAN&gt;&lt;SPAN&gt;() &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;with&lt;/SPAN&gt; &lt;SPAN&gt;McuBoot&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;interfaces&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;], &lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;mb&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;mb&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;flash_erase_all&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;except&lt;/SPAN&gt; &lt;SPAN&gt;McuBootCommandError&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt; &lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;error_value&lt;/SPAN&gt; &lt;SPAN&gt;!=&lt;/SPAN&gt; &lt;SPAN&gt;StatusCode&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ROMLDR_UNEXPECTED_COMMAND&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;raise&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;except&lt;/SPAN&gt; &lt;SPAN&gt;subprocess&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;CalledProcessError&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;"Command failed with return code &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;returncode&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;except&lt;/SPAN&gt; &lt;SPAN&gt;Exception&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;err&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;"Command failed with return code &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;err&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;err&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;args&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;# arguments stored in .args&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;err&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;args&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;except&lt;/SPAN&gt; &lt;SPAN&gt;McuBootError&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;str&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;sys&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;exit&lt;/SPAN&gt;&lt;SPAN&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;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier" color="#800000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;mb&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;reset&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;reopen&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;False&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thank for the help and for the work of the great team behind the great SPSDK library&lt;/P&gt;&lt;P&gt;Kateb&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Dec 2023 09:56:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780021#M55057</guid>
      <dc:creator>Kateb</dc:creator>
      <dc:date>2023-12-26T09:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing/Erasing boards using SPSDK integrated within GUI with python 3.12</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780507#M55067</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224718"&gt;@Kateb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will deal with this case and check it on my local side, once have any updates, will let you know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Christine.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 09:58:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780507#M55067</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2023-12-27T09:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing/Erasing boards using SPSDK integrated within GUI with python 3.12</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780509#M55068</link>
      <description>&lt;P&gt;Thanks Christine.&lt;/P&gt;&lt;P&gt;The requirement of the python application is to allow our client to Flash/Erase etc..&lt;STRONG&gt;.without&lt;/STRONG&gt; having to put the board in&amp;nbsp;&lt;SPAN&gt;mode ISP (Bootloader) &lt;STRONG&gt;manually&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Putting the board in&amp;nbsp;mode ISP (Bootloader) and Resetting the board normal mode are&amp;nbsp; to be done programmaticaly by the python application (using GUI buttons)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is these functionalities possible by integrating SPSDK within the python GUI application??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and Happy Holidays.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kateb&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 10:11:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780509#M55068</guid>
      <dc:creator>Kateb</dc:creator>
      <dc:date>2023-12-27T10:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing/Erasing boards using SPSDK integrated within GUI with python 3.12</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780799#M55075</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224718"&gt;@Kateb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May I know your SPSDK version?&lt;/P&gt;&lt;P&gt;You can get version by "spsdk --version" command.&lt;/P&gt;&lt;P&gt;And about your KW45, which SDK version are you using? What's the example in your board right now?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Christine.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 07:34:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780799#M55075</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2023-12-28T07:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing/Erasing boards using SPSDK integrated within GUI with python 3.12</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780834#M55076</link>
      <description>&lt;P&gt;Hi Christine,&lt;/P&gt;&lt;P&gt;Please see my comments below in &lt;FONT color="#008000"&gt;green&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;May I know your SPSDK version?&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;FONT color="#008000"&gt;SPSDK&amp;nbsp;version is 2.0.1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;And about your KW45, which SDK version are you using?&lt;/P&gt;&lt;P class="lia-indent-padding-left-90px"&gt;&lt;FONT color="#008000"&gt;SDK 2.12.6&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;What's the example in your board right now?&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;FONT color="#008000"&gt;FreeRtos digital-key-device&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks ...Kateb&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 08:35:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780834#M55076</guid>
      <dc:creator>Kateb</dc:creator>
      <dc:date>2023-12-28T08:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing/Erasing boards using SPSDK integrated within GUI with python 3.12</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780893#M55081</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224718"&gt;@Kateb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your feedback.&lt;/P&gt;
&lt;P&gt;Without GUI, just&amp;nbsp;p&lt;SPAN&gt;utting the board in&amp;nbsp;mode ISP (Bootloader) and Resetting the board normal mode&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;manually&lt;/STRONG&gt;, does it work well?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Is these functionalities possible by integrating SPSDK within the python GUI application?&lt;/P&gt;
&lt;P&gt;==&amp;gt;Actually, I think in theory, I think it is possible. But as I know, there is no customer to do in this way. I need to check with our internal team to double confirm.&lt;/P&gt;
&lt;P&gt;Do you have full logs?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I checked the logs you provided, it seems it raises&lt;STRONG&gt; " No Response, Timeout Error !"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Christine_Li_1-1703762523409.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/256133iA39EF9A20CCCCFE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Christine_Li_1-1703762523409.png" alt="Christine_Li_1-1703762523409.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Christine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 11:22:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780893#M55081</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2023-12-28T11:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing/Erasing boards using SPSDK integrated within GUI with python 3.12</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780925#M55082</link>
      <description>&lt;P&gt;Without GUI, just&amp;nbsp;p&lt;SPAN&gt;utting the board in&amp;nbsp;mode ISP (Bootloader) and Resetting the board normal mode&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;manually&lt;/STRONG&gt;, does it work well?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#008000"&gt;&lt;SPAN&gt;putting the board in&amp;nbsp;mode ISP works well on all boards, but one is refusing .... don't know why...&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Is these functionalities possible by integrating SPSDK within the python GUI application?&lt;/P&gt;&lt;P&gt;==&amp;gt;Actually, I think in theory, I think it is possible. But as I know, there is no customer to do in this way. I need to check with our internal team to double confirm.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#008000"&gt;thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Do you have full logs?&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#008000"&gt;Can't figure out where SPSDK is hiding the logs.....&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:41:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1780925#M55082</guid>
      <dc:creator>Kateb</dc:creator>
      <dc:date>2023-12-28T13:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing/Erasing boards using SPSDK integrated within GUI with python 3.12</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1781407#M55087</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224718"&gt;@Kateb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply and HAPPY NEW YEAR!&lt;/P&gt;
&lt;P&gt;I discussed with our internal team, we have a GUI tool can use. I will attach it as attachment.&lt;/P&gt;
&lt;P&gt;Hope this tool can provide you some conveniece.&lt;/P&gt;
&lt;P&gt;And about the error in your program, we need more time to discuss and track why.&lt;/P&gt;
&lt;P&gt;But we have a suggestion that in your GUI program, you can use blhost to call flash-erase-all like below:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bvz bvy bwa bwb bwc bwd bwe bwf bwg bwh bwi bwj bwk bwl bwm bwn bwo bwp bwq bwr bws bwt bwu bwv bww bwx bwy bwz bxa bxb bxc bxd bxe bxf"&gt;blhost.exe -p COM3,115200 flash-erase-all 0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bvz bvy bwa bwb bwc bwd bwe bwf bwg bwh bwi bwj bwk bwl bwm bwn bwo bwp bwq bwr bws bwt bwu bwv bww bwx bwy bwz bxa bxb bxc bxd bxe bxf"&gt;Please have a try and remember to choose correct COM port.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And also, we have a guide:&amp;nbsp;&lt;SPAN class="ui-provider ed bvz bvy bwa bwb bwc bwd bwe bwf bwg bwh bwi bwj bwk bwl bwm bwn bwo bwp bwq bwr bws bwt bwu bwv bww bwx bwy bwz bxa bxb bxc bxd bxe bxf"&gt;&lt;A class="fui-Link ___10kug0w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn" title="https://www.nxp.com/docs/en/application-note/an13883.pdf" href="https://www.nxp.com/docs/en/application-note/AN13883.pdf" target="_blank" rel="noreferrer noopener" aria-label="Link Updating KW45 Radio Firmware via ISP using SPSDK"&gt;&lt;STRONG&gt;Updating KW45 Radio Firmware via ISP using SPSDK .&lt;/STRONG&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ui-provider ed bvz bvy bwa bwb bwc bwd bwe bwf bwg bwh bwi bwj bwk bwl bwm bwn bwo bwp bwq bwr bws bwt bwu bwv bww bwx bwy bwz bxa bxb bxc bxd bxe bxf"&gt;If you don't know before, this AN may bring some help to you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ui-provider ed bvz bvy bwa bwb bwc bwd bwe bwf bwg bwh bwi bwj bwk bwl bwm bwn bwo bwp bwq bwr bws bwt bwu bwv bww bwx bwy bwz bxa bxb bxc bxd bxe bxf"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="ui-provider ed bvz bvy bwa bwb bwc bwd bwe bwf bwg bwh bwi bwj bwk bwl bwm bwn bwo bwp bwq bwr bws bwt bwu bwv bww bwx bwy bwz bxa bxb bxc bxd bxe bxf"&gt;Christine.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 03:27:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1781407#M55087</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2024-01-02T03:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing/Erasing boards using SPSDK integrated within GUI with python 3.12</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1781529#M55088</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224718"&gt;@Kateb&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, I forgot to attach the attachment in previous comment.&lt;/P&gt;
&lt;P&gt;Please see here, just put the blhost.exe in the same folder with the KW45_ProgrammingTool, then you can directly use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Christine.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 08:00:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1781529#M55088</guid>
      <dc:creator>Christine_Li</dc:creator>
      <dc:date>2024-01-02T08:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing/Erasing boards using SPSDK integrated within GUI with python 3.12</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1839991#M55810</link>
      <description>Hi Christine,&lt;BR /&gt;7zip is asking for password to unzip....Thanks</description>
      <pubDate>Wed, 03 Apr 2024 07:35:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1839991#M55810</guid>
      <dc:creator>Kateb</dc:creator>
      <dc:date>2024-04-03T07:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing/Erasing boards using SPSDK integrated within GUI with python 3.12</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1976979#M57103</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205377"&gt;@Christine_Li&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am encountering the same issue as Kateb, is it possible for you to provide the password to access the zip file in order to flash the KW45 through the spsdk tool ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aladdine_0-1729245299511.png" style="width: 960px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305498i648343E192AC173E/image-dimensions/960x48?v=v2" width="960" height="48" role="button" title="Aladdine_0-1729245299511.png" alt="Aladdine_0-1729245299511.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After monitoring the frames exchanged when flashing the demoboard KW45-EVK/LOC and the ones when flashing the KW45 chip are the same up until it stops in the middle of the exchange for no apparent reason. Maybe it has to do with the utility I am using.&lt;/P&gt;&lt;P&gt;Any guidance from your part would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance,&amp;nbsp;&lt;BR /&gt;Aladdine.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 09:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Flashing-Erasing-boards-using-SPSDK-integrated-within-GUI-with/m-p/1976979#M57103</guid>
      <dc:creator>Aladdine</dc:creator>
      <dc:date>2024-10-18T09:57:35Z</dc:date>
    </item>
  </channel>
</rss>

