<?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>S32 Design StudioのトピックS32V234: LINUX CLI command to read/write a memory mapped register</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32V234-LINUX-CLI-command-to-read-write-a-memory-mapped-register/m-p/857569#M4333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What LINUX CLI command&amp;nbsp;will use to&amp;nbsp;read.write a peripheral registers for S32V234.&lt;/P&gt;&lt;P&gt;I have tried "devmem2", but its not printing a right value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: To dump SIUL2_MIDR1 register.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Memory mapped base address for SIUL2 is 0x40006C000. Based on S32V234 reference manual, offset for SIUL2_MIDR1 is 0x4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using devmem2 command and tried to dump a SIUL2_MIDR1(0x40006C04) register and terminal output is given below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;root@s32v234bbmini:~# devmem2 0x4006C008&lt;BR /&gt;/dev/ 1010.557066] &lt;STRONG&gt;Synchronous External Abort: synchronous external abort (0x92000210) at 0x0000007fb79a7008&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;mem opened.&lt;/STRONG&gt;&lt;BR /&gt;Memory mapped at address 0x7fb79a7000.&lt;/P&gt;&lt;P&gt;Bus error&lt;BR /&gt;root@s32v234bbmini:~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK version: Auto-BSP (18.0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2019 00:00:28 GMT</pubDate>
    <dc:creator>bmohan</dc:creator>
    <dc:date>2019-01-24T00:00:28Z</dc:date>
    <item>
      <title>S32V234: LINUX CLI command to read/write a memory mapped register</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32V234-LINUX-CLI-command-to-read-write-a-memory-mapped-register/m-p/857569#M4333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What LINUX CLI command&amp;nbsp;will use to&amp;nbsp;read.write a peripheral registers for S32V234.&lt;/P&gt;&lt;P&gt;I have tried "devmem2", but its not printing a right value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: To dump SIUL2_MIDR1 register.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Memory mapped base address for SIUL2 is 0x40006C000. Based on S32V234 reference manual, offset for SIUL2_MIDR1 is 0x4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using devmem2 command and tried to dump a SIUL2_MIDR1(0x40006C04) register and terminal output is given below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;root@s32v234bbmini:~# devmem2 0x4006C008&lt;BR /&gt;/dev/ 1010.557066] &lt;STRONG&gt;Synchronous External Abort: synchronous external abort (0x92000210) at 0x0000007fb79a7008&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;mem opened.&lt;/STRONG&gt;&lt;BR /&gt;Memory mapped at address 0x7fb79a7000.&lt;/P&gt;&lt;P&gt;Bus error&lt;BR /&gt;root@s32v234bbmini:~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK version: Auto-BSP (18.0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 00:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32V234-LINUX-CLI-command-to-read-write-a-memory-mapped-register/m-p/857569#M4333</guid>
      <dc:creator>bmohan</dc:creator>
      <dc:date>2019-01-24T00:00:28Z</dc:date>
    </item>
  </channel>
</rss>

