<?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: I wrote the ROTK fields in the CMPA now why I cant connect with a debugger? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/I-wrote-the-ROTK-fields-in-the-CMPA-now-why-I-cant-connect-with/m-p/1281066#M45107</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;andrewfisher,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As I reply you on your another thread,&amp;nbsp;-&amp;gt;&amp;gt;&amp;nbsp;0x009DE00 is right.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And about configure CMPA, we need very be careful.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So if you want to use secure boot, recommend refer to&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com.cn/docs/en/application-note/AN12283.pdf" target="_blank"&gt;https://www.nxp.com.cn/docs/en/application-note/AN12283.pdf&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 10:27:47 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2021-05-24T10:27:47Z</dc:date>
    <item>
      <title>I wrote the ROTK fields in the CMPA now why I cant connect with a debugger?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I-wrote-the-ROTK-fields-in-the-CMPA-now-why-I-cant-connect-with/m-p/1280612#M45095</link>
      <description>&lt;P&gt;I am using a LPC55s28 and am tentatively trying to get secure boot working. I say tentative as it really doesn't feel like all thi info is there and it isn't even consistent in the UG UM11126.pdf&lt;/P&gt;&lt;P&gt;Eg pg141 fig 13 - the CMPA is at address 0x0003_E400 but on pg144 it is at 0x0009_E400!&lt;/P&gt;&lt;P&gt;I ran the following code (numbers changed to protect the innocent):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;	st = FFR_GetCustomerData(&amp;amp;my_flashInstance, (uint8_t *)CMPA, 0, 512);

	// RKTH: 3e562d88 35880e0d 0be586a3 137e5e1b e77eb765 3280a8e8 fa58f463 80227fe5
	CMPA[16] = 0x11111111;
	CMPA[17] = 0x22222222;
	CMPA[18] = 0x33333333;
	CMPA[19] = 0x44444444;
	CMPA[20] = 0x55555555;
	CMPA[21] = 0x66666666;
	CMPA[22] = 0x77777777;
	CMPA[23] = 0x88888888;

	st = FFR_CustFactoryPageWrite(&amp;amp;my_flashInstance, (uint8_t *)CMPA, false);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I cant connect to the board with the debugger nor is it running my blinky code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What have I done wrong? I didn't do anything to actually enable secure boot or lock out the debugger (or did I!)&lt;/P&gt;&lt;P&gt;Actually looking at fig5 pg141 the least significant words of the ROTK are not shown. Should I not have programmed them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 23:32:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I-wrote-the-ROTK-fields-in-the-CMPA-now-why-I-cant-connect-with/m-p/1280612#M45095</guid>
      <dc:creator>andrewfisher</dc:creator>
      <dc:date>2021-05-21T23:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: I wrote the ROTK fields in the CMPA now why I cant connect with a debugger?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I-wrote-the-ROTK-fields-in-the-CMPA-now-why-I-cant-connect-with/m-p/1281066#M45107</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;andrewfisher,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As I reply you on your another thread,&amp;nbsp;-&amp;gt;&amp;gt;&amp;nbsp;0x009DE00 is right.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And about configure CMPA, we need very be careful.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So if you want to use secure boot, recommend refer to&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com.cn/docs/en/application-note/AN12283.pdf" target="_blank"&gt;https://www.nxp.com.cn/docs/en/application-note/AN12283.pdf&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 10:27:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I-wrote-the-ROTK-fields-in-the-CMPA-now-why-I-cant-connect-with/m-p/1281066#M45107</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2021-05-24T10:27:47Z</dc:date>
    </item>
  </channel>
</rss>

