<?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>P-SeriesのトピックRe: work with processor registers?</title>
    <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259859#M596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Marius.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I want to boot up a Linux on P1022 via SD card. So, I do not need CW for boot up according to your comments. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Aug 2013 09:56:10 GMT</pubDate>
    <dc:creator>jackrubby</dc:creator>
    <dc:date>2013-08-26T09:56:10Z</dc:date>
    <item>
      <title>work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259857#M594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on p1022 with a sample designed board. I want to use only SATA and Ethernet processor features and I put a sd card with minimal image.&lt;/P&gt;&lt;P&gt;1- Should I modify registers content to use these features? or primary initialize features is adequate?&lt;/P&gt;&lt;P&gt;2-&amp;nbsp; How can I read/write registers? Is CodeWarrior only way ?&lt;/P&gt;&lt;P&gt;3- For example in Protocol Control Register (PROCTL), DTW bits are 00 at first.How can I change DTW to 01 for 4-bit data transfer rate in eSDHC? Is it possible before booting minimal image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Aug 2013 10:10:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259857#M594</guid>
      <dc:creator>jackrubby</dc:creator>
      <dc:date>2013-08-17T10:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259858#M595</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;Can you tell us what do you need more exactly? To boot up a Linux on your P1022 board via SD card? In positive case, you should have an u-boot on the SD card, the DIP SW settings set up for booting up from ESDHC and after the u-boot is up and running you can start to boot the linux image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure, you can make u-boot and Linux debug using CW (you can have access to stack, variables, memory view, both memory-map and core registers, break-points and so on).&lt;/P&gt;&lt;P&gt;About SATA and Ethernet features...these are already included in the SDK Linux image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 07:20:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259858#M595</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2013-08-21T07:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259859#M596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Marius.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I want to boot up a Linux on P1022 via SD card. So, I do not need CW for boot up according to your comments. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 09:56:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259859#M596</guid>
      <dc:creator>jackrubby</dc:creator>
      <dc:date>2013-08-26T09:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259860#M597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I confirm that you don't need CW for booting up the board. A linux machine is enough for mounting the SD card and to write your images.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 09:59:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259860#M597</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2013-08-26T09:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259861#M598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I change core registers, will changes stay in next boot up ? or if it starts in next boot up a Linux image, will changes remove?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 06:11:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259861#M598</guid>
      <dc:creator>jackrubby</dc:creator>
      <dc:date>2013-08-27T06:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259862#M599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At any booting up procedure, system reset is triggered, so both core and memory mapped (processor) registers will be set up to the default values (you can look in the reference and core manuals for these values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 07:05:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259862#M599</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2013-08-27T07:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259863#M600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, If I want to enable ECC, I will set ECC_EN by CW. How can I have ECC enable forever?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 07:40:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259863#M600</guid>
      <dc:creator>jackrubby</dc:creator>
      <dc:date>2013-08-27T07:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259864#M601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to put this setting in the u-boot code and during booting time this setting will be set up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 07:44:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259864#M601</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2013-08-27T07:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259865#M602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should I put every setting in the u-boot? How can I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 08:25:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259865#M602</guid>
      <dc:creator>jackrubby</dc:creator>
      <dc:date>2013-08-27T08:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259866#M603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must get familiar with our last Linux SDK 1.4 [1] (contains also the u-boot support). You can find the documentation here [2]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you to put the the register settings in the last stage, just after u-boot relocation in DDR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[1] &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=SDKLINUX&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=SDKLINUX&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;Linux® SDK for QorIQ Processors Product Summary Page&lt;/A&gt;&lt;/P&gt;&lt;P&gt;[2] &lt;A href="http://www.freescale.com/infocenter/index.jsp?topic=%2Fqfamily-sdk%2Findex.html" title="http://www.freescale.com/infocenter/index.jsp?topic=%2Fqfamily-sdk%2Findex.html"&gt;Freescale Technical Information Center&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 08:44:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259866#M603</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2013-08-27T08:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259867#M604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with Linux SDK 1.3, is it necessary to get SDK 1.4 ?&lt;/P&gt;&lt;P&gt;I am familiar with setting some variables in u-boot before boot up Linux image, but I have not set any core registers up to now. How can I do this? Is it similar with setting variables? what do you mean with last stage?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 09:17:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259867#M604</guid>
      <dc:creator>jackrubby</dc:creator>
      <dc:date>2013-08-27T09:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259868#M605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every time our suggestion is to use the last software/tools just to have the latest support in place. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to add your code in the u-boot files and re-compile it.&lt;/P&gt;&lt;P&gt;About core registers setup, please take a look in the u-boot files how mtspr/mfspr instructions are used.&lt;/P&gt;&lt;P&gt;Also, I suggest to put your code after pre-early u-boot initalization, maybe cpu_init_r() or/and board_init_r() functions are the best places to used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 14:28:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259868#M605</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2013-08-27T14:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259869#M606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I set or reset GPIOs? Is there any drivers for initializing GPIOs?&lt;/P&gt;&lt;P&gt;And how can I send and receive data by SPI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 08:40:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259869#M606</guid>
      <dc:creator>jackrubby</dc:creator>
      <dc:date>2013-08-28T08:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259870#M607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can interact with SPI flash from u-boot command line using sf command:&lt;/P&gt;&lt;P&gt;=&amp;gt; sf&lt;/P&gt;&lt;P&gt;sf - SPI flash sub-system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usage:&lt;/P&gt;&lt;P&gt;sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and chip select&lt;/P&gt;&lt;P&gt;sf read addr offset len&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - read `len' bytes starting at&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; `offset' to memory at `addr'&lt;/P&gt;&lt;P&gt;sf write addr offset len&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - write `len' bytes from memory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at `addr' to flash at `offset'&lt;/P&gt;&lt;P&gt;sf erase offset [+]len&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - erase `len' bytes from `offset'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; `+len' round up `len' to block size&lt;/P&gt;&lt;P&gt;sf update addr offset len&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - erase and write `len' bytes from memory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at `addr' to flash at `offset'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About GPIO support in SDK please take a look in documentation. Second link from above email.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 11:05:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259870#M607</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2013-09-02T11:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259871#M608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Marius for your answers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked in documentation that you mentioned above. In i.MX processors section, there are some useful information for GPIOs like GPIO programming (read and write mode) and IOMUX Controller. But in QorIQ processors section, there isn't any useful information for GPIO programming. How can I read and write each GPIO pin? or set and reset it? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 06:27:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259871#M608</guid>
      <dc:creator>jackrubby</dc:creator>
      <dc:date>2013-09-04T06:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259872#M609</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;I never played with the GPIO registers, but I found some code for 9132QDS board.&lt;/P&gt;&lt;P&gt;See below for the function toggling GPIO2. Maybe you can use something similar in your code and call in appropriate places:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;static&lt;/STRONG&gt; &lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;void&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; &lt;STRONG style="background: silver;"&gt;dbg_io_trig&lt;/STRONG&gt;()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #3f7f5f;"&gt;/ SC3850 Core View To Power Architecture CCSR: 0xFEF0_0000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;volatile&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #005032;"&gt;UINT32&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; * Guts_Pmuxcr3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = (&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;volatile&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #005032;"&gt;UINT32&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; *)(0xFEFE0068); &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// GUTS_PMUXCR3: Alternate Function Signal Multiplex Control Register 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;volatile&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #005032;"&gt;UINT32&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; * Gpio1_Gpdir = (&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;volatile&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #005032;"&gt;UINT32&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; *)(0xFEF0F000); &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// GPIO1_GPDIR: GPIO1 direction register&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;volatile&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #005032;"&gt;UINT32&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; * Gpio1_Gpdat = (&lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;volatile&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #005032;"&gt;UINT32&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; *)(0xFEF0F008); &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// GPIO1_GPDAT: GPIO1 data register&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// Enable GPIO[2]: USB_TIMER1 FIELD [BITS 22-23]set to "01"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; *(Guts_Pmuxcr3) = 0x100;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// Set Direction for GPIO[2] to Output: FIELD DR2 [BIT 2] set to '1'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; *(Gpio1_Gpdir) = 0x20000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// Set GPIO[2] to '1': FIELD D2 [BIT 2] set to '1'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; *(Gpio1_Gpdat) = 0x20000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// Set GPIO[2] to '0': FIELD D2 [BIT 2] set to '0'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; *(Gpio1_Gpdat) = 0x00000000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 15:13:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259872#M609</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2013-09-04T15:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259873#M610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note 9132 SoC supports both SC and PA cores, so the above&amp;nbsp; code is run up from SC core perspective, so if you need something similar but from PA side, you'll need to change the CCSRBAR base to your default SoC CCSRBAR. I think for P1022 is 0xff700000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 15:19:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259873#M610</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2013-09-04T15:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259874#M611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there only &lt;A href="http://cache.freescale.com/files/32bit/doc/fact_sheet/BSC9132QDSFS.pdf?fpsp=1" title="QorIQ Qonverge BSC9132QDS - Fact Sheet"&gt;QorIQ Qonverge BSC9132QDS - Fact Sheet&lt;/A&gt; documentation for 9132 ?!&lt;/P&gt;&lt;P&gt;I couldn't find any useful documentation for 9132 to look at address registers. which documentation illustrate address values completely?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Sep 2013 12:46:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259874#M611</guid>
      <dc:creator>jackrubby</dc:creator>
      <dc:date>2013-09-07T12:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259875#M612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The BSC9132 reference manual is still under NDA and is not publicly available. You can contact your sale representative to NDA access to the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2013 07:32:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259875#M612</guid>
      <dc:creator>marius_grigoras</dc:creator>
      <dc:date>2013-09-10T07:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: work with processor registers?</title>
      <link>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259876#M613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to your given code for GPIOs, I wrote a similar code that it is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdint.h&amp;gt;&lt;BR /&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/P&gt;&lt;P&gt;static void dbg_io_initial()&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;// e500 Core View To Power Architecture CCSR: 0x0_FF70_0000&lt;/P&gt;&lt;P&gt;volatile uint32_t * Guts_Pmuxcr = (volatile uint32_t *)(0xFF7E0060);&amp;nbsp;&amp;nbsp; // GUTS_PMUXCR: Alternate Function Signal Multiplex Control Register&lt;BR /&gt;volatile uint32_t * Gpio3_Gpdir = (volatile uint32_t *)(0xFF70F200);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // GPIO3_GPDIR: GPIO3 direction register&lt;/P&gt;&lt;P&gt;volatile uint32_t * Gpio3_Gpdat = (volatile uint32_t *)(0xFF70F208);&amp;nbsp;&amp;nbsp;&amp;nbsp; // GPIO3_GPDAT: GPIO3 data register&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Enable GPIO3[10]: IRQ_DEBUG1_GPIO FIELD [BIT 26] set to "1"&lt;/P&gt;&lt;P&gt;*(Guts_Pmuxcr) = 0x00000010;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Set Direction for GPIO3[10] to Output: FIELD DR10 [BIT 10] set to '1'&lt;/P&gt;&lt;P&gt;*(Gpio3_Gpdir) = 0x00200000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Set GPIO3[10] to '0': FIELD D10 [BIT 10] set to '0'&lt;/P&gt;&lt;P&gt;*(Gpio3_Gpdat) = 0x00000000;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main(){&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbg_io_initial();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run this code on P1022, but Guts_Pmuxcr couldn't been initialized. I got &lt;STRONG&gt;segmentation fault.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Do I have to write codes in kernel level?&amp;nbsp; or write a driver?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 09:26:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/work-with-processor-registers/m-p/259876#M613</guid>
      <dc:creator>jackrubby</dc:creator>
      <dc:date>2013-09-17T09:26:51Z</dc:date>
    </item>
  </channel>
</rss>

