<?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: Updated Debug Mailbox commands for LPC55S69 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082007#M41569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your confirmation, Laura!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2020 18:06:25 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2020-08-20T18:06:25Z</dc:date>
    <item>
      <title>Updated Debug Mailbox commands for LPC55S69</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082002#M41564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the LPC55S69-EVK. I'm looking at using the Debug Mailbox commands but the ones as documented in Table 1058 in section 51.5.7 don't seem to work. Specifically, I'm interested in the bulk erase option. I saw a reference in &lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/1270158?commentID=1270158#comment-1270916" title="https://community.nxp.com/message/1270158?commentID=1270158#comment-1270916"&gt;https://community.nxp.com/message/1270158?commentID=1270158#comment-1270916&lt;/A&gt;&amp;nbsp; that the manual was incorrect. Can someone give a full listing of the mailbox commands so I can cross check my code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I've observed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command 0x1 (start): RETURN reads 0x0&lt;/P&gt;&lt;P&gt;Command 0x2 (bulk erase): RETURN reads 0x100002&lt;/P&gt;&lt;P&gt;Command 0x3 (Reserved): RETURN reads 0x100002&lt;/P&gt;&lt;P&gt;Command 0x4 (end) issued after 0x1: RETURN reads 0x0&lt;/P&gt;&lt;P&gt;Command 0x5 (ISP mode): RETURN reads 0x0&lt;/P&gt;&lt;P&gt;Command 0x7 (start debug): Hangs forever (looks like WAIT from the DAP). I'm aware of the errata for 0A vs 1B silicon but I still see hangs even with the suggested workaround and waiting upto 5 seconds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 19:03:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082002#M41564</guid>
      <dc:creator>laura1</dc:creator>
      <dc:date>2020-08-11T19:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Updated Debug Mailbox commands for LPC55S69</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082003#M41565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laura,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, I am investigating the issues you are reporting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me to have more certain on the following?&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;OL&gt;&lt;LI&gt;You board has rev0A or rev 1B sillicon of LPC55S69?&lt;/LI&gt;&lt;LI&gt;The script/code you are writing to perform&amp;nbsp; DM-AP &lt;STRONG&gt;&lt;EM&gt;bulk erase,&lt;/EM&gt;&lt;/STRONG&gt; and &lt;STRONG&gt;start debug&lt;/STRONG&gt;&amp;nbsp; commands.&amp;nbsp; &lt;SPAN style="color: #999999;"&gt;(in the case you have the script saved,&amp;nbsp; or if is based on&lt;SPAN style="color: #00ccff;"&gt; &lt;A href="https://www.nxp.com/webapp/Download?colCode=UM11126&amp;amp;location=null" style="color: #00ccff;"&gt;UM11126&lt;/A&gt; &lt;/SPAN&gt;section&amp;nbsp;51.6.1 &lt;EM&gt;Debug session with uninitialized/invalid flash image or ISP mode&amp;nbsp; &amp;nbsp;&lt;/EM&gt;or &lt;A href="https://www.nxp.com/docs/en/errata/ES_LPC55S6x.pdf" style="color: #999999;"&gt;&lt;SPAN style="color: #00ccff;"&gt;Errata sheet&lt;/SPAN&gt; &lt;/A&gt;LPC55S6x section&amp;nbsp;&lt;EM&gt;3.6 ROM.6: ROM fails to respond to debug session request on version 0A parts)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Further details regarding your application.&lt;/LI&gt;&lt;/OL&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you for your patience. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 20:52:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082003#M41565</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-08-14T20:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Updated Debug Mailbox commands for LPC55S69</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082004#M41566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The report I gave was on rev 0A silicon. I verified that on rev 1B silicon the 0x3 command _does_ work for erasing the flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The scripting I'm using is based off of both the manual and the errata sheet. This includes the extra wait described in errata (I wait a full 5 seconds)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) I'm looking at the debug mailbox for error recovery and also possibly debugging. Right now I'm just verifying what the capabilities of the debug mailbox are.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 19:43:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082004#M41566</guid>
      <dc:creator>laura1</dc:creator>
      <dc:date>2020-08-18T19:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Updated Debug Mailbox commands for LPC55S69</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082005#M41567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laura,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;Below are my comments using LPC55s69-EVB revision 2, with LPC55s69 rev 0A and J-link commander.&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I was not able to erase the flash, using command 0x02 Bulk erase.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The 0x03 does not works for rev 0A,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have already made a report on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL start="2"&gt;&lt;LI&gt;Suggested workaround on the errata sheet for initiating a debug session, (command 0x07) was not successful on my rev0A sillicon.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have already made a report on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt; Just to confirm, did the workaround failed also on&amp;nbsp;your LPC55s69 rev 1B?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 04:20:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082005#M41567</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-08-20T04:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Updated Debug Mailbox commands for LPC55S69</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082006#M41568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The workaround _does_ work on the 1B and I see the correct sequence in the manual.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 17:35:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082006#M41568</guid>
      <dc:creator>laura1</dc:creator>
      <dc:date>2020-08-20T17:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Updated Debug Mailbox commands for LPC55S69</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082007#M41569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your confirmation, Laura!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 18:06:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1082007#M41569</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-08-20T18:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Updated Debug Mailbox commands for LPC55S69</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1151635#M42186</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/156397"&gt;@laura1&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Summarizing all the post.&lt;/P&gt;
&lt;P&gt;1 We disregard the use of the rev 0A of the LPC55S69 to the costumers, since we have made important fixes on the rev 1B.&lt;/P&gt;
&lt;P&gt;2 DM-AP command 0x03 is for mass erase. So UM is incorrect, actually 0x02 is reserved. We have raised this issue to UM owner, it will be corrected on future revisions. Thank you for pointing out this!&lt;/P&gt;
&lt;P&gt;Yours,&lt;/P&gt;
&lt;P&gt;Diego.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 14:54:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Updated-Debug-Mailbox-commands-for-LPC55S69/m-p/1151635#M42186</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-09-10T14:54:48Z</dc:date>
    </item>
  </channel>
</rss>

