<?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>LPC Microcontrollers中的主题 Casper Loader Register</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Casper-Loader-Register/m-p/1406104#M47763</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying&amp;nbsp;to use LPC55S69's CASPER's LOADER register, described in Sec 45.4.3 of UM11424 (i.e Register 0x400_A5000 offset 0x8).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven’t found any example of how it should be used in the SDK, if you have an example it would be great.&lt;/P&gt;&lt;P&gt;What I've tried is to store in Casper's RAM (offset 0xc00 for example) the value that I would have written to CTRL0 and CTRL1 in one DoubleWorld (that is CTRL0 word in 0x400_0c00, CTRL1 in 0x400_4c00). In my example I've used the values:&lt;BR /&gt;CTRL0&lt;BR /&gt;&amp;nbsp; ABBPAIR = 0&lt;BR /&gt;&amp;nbsp; ABOFF = 0&lt;BR /&gt;&amp;nbsp; CDBPAIR = 0&lt;BR /&gt;&amp;nbsp; CDOFF = 0&lt;/P&gt;&lt;P&gt;CTRL1&lt;BR /&gt;&amp;nbsp; Iter = 4&lt;BR /&gt;&amp;nbsp; Mode = "Zero"&lt;BR /&gt;&amp;nbsp; RESOFF = 0x00.&lt;BR /&gt;&amp;nbsp; CSKIP = No skip = 0x00&lt;BR /&gt;Thus I wrote CTRL0 = 0x00000000, CTRL1 = 0x00001704.&lt;BR /&gt;Then I wrote into the LOADER register the value 0x30000001. In my intentions it should instruct it to point to offset 0xc00 and run for 1 iteration.&lt;/P&gt;&lt;P&gt;Afterwards I started polling the IDLE/Busy bit to know when execution was finished.&lt;/P&gt;&lt;P&gt;Unfortunately execution never finished, the STATUS register always returned 0x20 (and sometimes 0x30). Furthermore, no word in 0x00 was set to 0x00.&lt;/P&gt;&lt;P&gt;If you have any advice on using this register or a code snippet, it would be great.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jan 2022 15:13:03 GMT</pubDate>
    <dc:creator>albertobattistello</dc:creator>
    <dc:date>2022-01-27T15:13:03Z</dc:date>
    <item>
      <title>Casper Loader Register</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Casper-Loader-Register/m-p/1406104#M47763</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying&amp;nbsp;to use LPC55S69's CASPER's LOADER register, described in Sec 45.4.3 of UM11424 (i.e Register 0x400_A5000 offset 0x8).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven’t found any example of how it should be used in the SDK, if you have an example it would be great.&lt;/P&gt;&lt;P&gt;What I've tried is to store in Casper's RAM (offset 0xc00 for example) the value that I would have written to CTRL0 and CTRL1 in one DoubleWorld (that is CTRL0 word in 0x400_0c00, CTRL1 in 0x400_4c00). In my example I've used the values:&lt;BR /&gt;CTRL0&lt;BR /&gt;&amp;nbsp; ABBPAIR = 0&lt;BR /&gt;&amp;nbsp; ABOFF = 0&lt;BR /&gt;&amp;nbsp; CDBPAIR = 0&lt;BR /&gt;&amp;nbsp; CDOFF = 0&lt;/P&gt;&lt;P&gt;CTRL1&lt;BR /&gt;&amp;nbsp; Iter = 4&lt;BR /&gt;&amp;nbsp; Mode = "Zero"&lt;BR /&gt;&amp;nbsp; RESOFF = 0x00.&lt;BR /&gt;&amp;nbsp; CSKIP = No skip = 0x00&lt;BR /&gt;Thus I wrote CTRL0 = 0x00000000, CTRL1 = 0x00001704.&lt;BR /&gt;Then I wrote into the LOADER register the value 0x30000001. In my intentions it should instruct it to point to offset 0xc00 and run for 1 iteration.&lt;/P&gt;&lt;P&gt;Afterwards I started polling the IDLE/Busy bit to know when execution was finished.&lt;/P&gt;&lt;P&gt;Unfortunately execution never finished, the STATUS register always returned 0x20 (and sometimes 0x30). Furthermore, no word in 0x00 was set to 0x00.&lt;/P&gt;&lt;P&gt;If you have any advice on using this register or a code snippet, it would be great.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 15:13:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Casper-Loader-Register/m-p/1406104#M47763</guid>
      <dc:creator>albertobattistello</dc:creator>
      <dc:date>2022-01-27T15:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Casper Loader Register</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Casper-Loader-Register/m-p/1417964#M47975</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181571"&gt;@albertobattistello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just wanted to maintain you updated on this ( you may remember a email that I send you while ago, via internal support system)&lt;/P&gt;
&lt;P&gt;Currently there are no implementations on the LPC55 SDK for CASPER loader registers that we could take as a reference. Also we have not seen problems with your implementation, that could explain why this could not work. Therefore we are reviewing with relative API owners.&lt;/P&gt;
&lt;P&gt;My apologies for any inconvenience and many thanks for your patience.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 06:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Casper-Loader-Register/m-p/1417964#M47975</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2022-02-23T06:37:57Z</dc:date>
    </item>
  </channel>
</rss>

