<?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: RIoTboard peripheral access error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/RIoTboard-peripheral-access-error/m-p/402087#M59456</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;I2C peripheral is mapped to the memory and when debugger trying access this area as 32bit word, cpu raise exception - debugger try access memory area as 32bit size words, but I2C registers are 16bit words. For fast test, try read 2Bytes (16bit) or 1Byte only from I2C register address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="42443_42443.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120399i39FA034969D6AD60/image-size/large?v=v2&amp;amp;px=999" role="button" title="42443_42443.png" alt="42443_42443.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="mem_view2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58908iA4C0624D38F324B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="mem_view2.png" alt="mem_view2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="42444_42444.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120400i64343C24BE15AE88/image-size/large?v=v2&amp;amp;px=999" role="button" title="42444_42444.png" alt="42444_42444.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="mem_view3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58909iDB613AC8719E422D/image-size/large?v=v2&amp;amp;px=999" role="button" title="mem_view3.png" alt="mem_view3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2015 15:36:37 GMT</pubDate>
    <dc:creator>jamesbone</dc:creator>
    <dc:date>2015-06-26T15:36:37Z</dc:date>
    <item>
      <title>RIoTboard peripheral access error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RIoTboard-peripheral-access-error/m-p/402086#M59455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently using a RIoTboard (i.MX6S based SBC) for bare-metal programming. Have come across a peripheral access error (doc with problem description and basic code attached) with regards the I2C (and UARTs). I am probably missing some sort of configuration setup, but for the life of me I cannot figure out what!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Very briefly, (more details in the doc) I am using ARM DS-5 and when I try to access the I2C modules (via the debug interface) I get a synchronous external abort (I experience the same problem with the UARTs). I am using the default clock setup so the peripheral clock (ipg_clk_s derived from ipg_clk_root) for peripheral bus register read/writes should be running. I have enabled all gated clocks as part of an initialisation script (all in attached basic code).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem has me stalled at the moment and I am keen to sort it out. Any and all help on the matter would be much appreciated.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335701"&gt;CortexA9MPCore-Startup.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 07:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RIoTboard-peripheral-access-error/m-p/402086#M59455</guid>
      <dc:creator>paulsymonds</dc:creator>
      <dc:date>2015-06-16T07:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: RIoTboard peripheral access error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RIoTboard-peripheral-access-error/m-p/402087#M59456</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;I2C peripheral is mapped to the memory and when debugger trying access this area as 32bit word, cpu raise exception - debugger try access memory area as 32bit size words, but I2C registers are 16bit words. For fast test, try read 2Bytes (16bit) or 1Byte only from I2C register address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="42443_42443.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120399i39FA034969D6AD60/image-size/large?v=v2&amp;amp;px=999" role="button" title="42443_42443.png" alt="42443_42443.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="mem_view2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58908iA4C0624D38F324B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="mem_view2.png" alt="mem_view2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="42444_42444.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120400i64343C24BE15AE88/image-size/large?v=v2&amp;amp;px=999" role="button" title="42444_42444.png" alt="42444_42444.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="mem_view3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/58909iDB613AC8719E422D/image-size/large?v=v2&amp;amp;px=999" role="button" title="mem_view3.png" alt="mem_view3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 15:36:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RIoTboard-peripheral-access-error/m-p/402087#M59456</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2015-06-26T15:36:37Z</dc:date>
    </item>
  </channel>
</rss>

