<?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>i.MX ProcessorsのトピックRe: Android: accessing UARTs/Serial Ports on Freescale's EVK51</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222387#M14968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carl,&lt;/P&gt;&lt;P&gt;Note that (1) the &amp;nbsp;&lt;STRONG&gt;~myandroid/device/fsl/imx51_bbg/init.rc&lt;/STRONG&gt; &amp;nbsp;is copied to &amp;nbsp;&lt;STRONG&gt;out/target/product/imx51_bbg/root/init.freescale.rc &amp;nbsp;&lt;/STRONG&gt;and (2) the &amp;nbsp;&lt;STRONG&gt;~myandroid/device/fsl/imx5x/init.rc&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;is copied to&amp;nbsp;&lt;STRONG&gt;out/target/product/imx51_bbg/root/init.rc&amp;nbsp;&lt;/STRONG&gt; upon Make.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should modify (1) with your own specific changes. &amp;nbsp;Subsequently you can confirm the changes by noting the &lt;STRONG&gt;init.freescale.rc&lt;/STRONG&gt; contents in the out folder after Make.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2012 14:14:46 GMT</pubDate>
    <dc:creator>mbp</dc:creator>
    <dc:date>2012-07-18T14:14:46Z</dc:date>
    <item>
      <title>Android: accessing UARTs/Serial Ports on Freescale's EVK51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222380#M14961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wondering outloud if anybody has had any success in accessing &amp;amp; utilizing the UARTs/serial ports on the EVK when running Android.&amp;nbsp; I have been working on porting the Android serialPort API (&lt;A href="http://code.google.com/p/android-serialport-api/" rel="nofollow"&gt;&lt;SPAN style="color: #065C9E; "&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://code.google.com/p/android-serialport-api/" target="test_blank"&gt;http://code.google.com/p/android-serialport-api/&lt;/A&gt;) but running into permissions issues (among others).&amp;nbsp; I am using the prebuilt library and not rebuilding&amp;nbsp;via NDK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone has success with serial port access - I would appreciate some pointers or a code snippet/sample.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 13:54:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222380#M14961</guid>
      <dc:creator>mbp</dc:creator>
      <dc:date>2010-06-22T13:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Android: accessing UARTs/Serial Ports on Freescale's EVK51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222381#M14962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you ever have any luck with using the uart I am working on a app that will require doing so on the QSB.&lt;/P&gt;&lt;P&gt;Amy pointers would be&amp;nbsp;appreciated&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 22:02:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222381#M14962</guid>
      <dc:creator>PaulMcGregor</dc:creator>
      <dc:date>2011-09-27T22:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Android: accessing UARTs/Serial Ports on Freescale's EVK51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222382#M14963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I have. &amp;nbsp;The product you see in my 'pic' is controlling our test 'modules' via the second UART. &amp;nbsp;Reserving the 1st UART for console duties. &amp;nbsp;If you do a bit of a search on this site you will find a series of steps to gain access of the UART. &amp;nbsp;If you didn't find it here it must be in the MX51EVK group (I originally posted both groups with this query).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 22:34:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222382#M14963</guid>
      <dc:creator>mbp</dc:creator>
      <dc:date>2011-09-27T22:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Android: accessing UARTs/Serial Ports on Freescale's EVK51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222383#M14964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok - I took a peek and Can't find anything either (wonder where it went??). &amp;nbsp;Anyway you need to download the serial-port-api project (android.serialport). &amp;nbsp;You can play with this as a standalone app - all the source is there. &amp;nbsp;Build the C driver using ndk and include as a library. &amp;nbsp;Then tweak the Android/Linux code; babbage.c (I think - would have to power up the Linux system to recall) to add the definitions for the new UART you want to use (e.g. UART2 for ttymxc1). &amp;nbsp;Then include the SerialPort.java (I do have SerialPortFinder as well - but I think I can yank it). &amp;nbsp;I installed my own variants of the serial-port app; read thread, onDataReceived and OutputStream write functions. &amp;nbsp;That's the core.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 23:04:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222383#M14964</guid>
      <dc:creator>mbp</dc:creator>
      <dc:date>2011-09-27T23:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Android: accessing UARTs/Serial Ports on Freescale's EVK51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222384#M14965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to get the serial-port-api project running on my SABRE Tablet and getting the same read/write permissions error. I am using ttymxc0 and I can successfully write echo "test" &amp;gt; /dev/ttymxc0 via the Debug board, but fail when trying to run the app. Did anyone ever figure out the permissions issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 00:01:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222384#M14965</guid>
      <dc:creator>ScottIngham_ng</dc:creator>
      <dc:date>2012-01-05T00:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Android: accessing UARTs/Serial Ports on Freescale's EVK51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222385#M14966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. &amp;nbsp;You must chmod 777 /dev/ttymxc0. &amp;nbsp;You can temporarily do this from the console port or&amp;nbsp;permanently&amp;nbsp;in the init.rc file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 15:26:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222385#M14966</guid>
      <dc:creator>mbp</dc:creator>
      <dc:date>2012-01-05T15:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Android: accessing UARTs/Serial Ports on Freescale's EVK51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222386#M14967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do one change the init.rc ? I have tried opening it in several programs without success, and opening it on the boards Emulated terminal does not work either? Chmod 777 /dev/ttymxc0 works like a charm but as u posted before its only temporary&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Carl&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;CITE&gt;Mike Petersen said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/android-accessing-uartsserial?groupUrl=androiddevelopers&amp;amp;commentId=4103961%3AComment%3A52683&amp;amp;groupId=4103961%3AGroup%3A608#4103961Comment52752"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;Yes. &amp;nbsp;You must chmod 777 /dev/ttymxc0. &amp;nbsp;You can temporarily do this from the console port or&amp;nbsp;permanently&amp;nbsp;in the init.rc file.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 06:41:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222386#M14967</guid>
      <dc:creator>CarlIgelstram</dc:creator>
      <dc:date>2012-07-18T06:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Android: accessing UARTs/Serial Ports on Freescale's EVK51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222387#M14968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carl,&lt;/P&gt;&lt;P&gt;Note that (1) the &amp;nbsp;&lt;STRONG&gt;~myandroid/device/fsl/imx51_bbg/init.rc&lt;/STRONG&gt; &amp;nbsp;is copied to &amp;nbsp;&lt;STRONG&gt;out/target/product/imx51_bbg/root/init.freescale.rc &amp;nbsp;&lt;/STRONG&gt;and (2) the &amp;nbsp;&lt;STRONG&gt;~myandroid/device/fsl/imx5x/init.rc&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;is copied to&amp;nbsp;&lt;STRONG&gt;out/target/product/imx51_bbg/root/init.rc&amp;nbsp;&lt;/STRONG&gt; upon Make.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should modify (1) with your own specific changes. &amp;nbsp;Subsequently you can confirm the changes by noting the &lt;STRONG&gt;init.freescale.rc&lt;/STRONG&gt; contents in the out folder after Make.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 14:14:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222387#M14968</guid>
      <dc:creator>mbp</dc:creator>
      <dc:date>2012-07-18T14:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Android: accessing UARTs/Serial Ports on Freescale's EVK51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222388#M14969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SOLVED - in the various responses above!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 21:33:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222388#M14969</guid>
      <dc:creator>mbp</dc:creator>
      <dc:date>2014-01-24T21:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Android: accessing UARTs/Serial Ports on Freescale's EVK51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222389#M14970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I loaded Adeneo android 2.3.3version image on imx53quick sort board its working fine . But when i write the data and through the serial port application with /dev/ttymxc0 port it is giving read/write permissions are needed. For that i did&amp;nbsp; temporally by setting chmod 777 /dev/ttymxc0 through minicom its working perfectly . so my quesion is how to set the permissions permanently in Android (In linux we will modify init.rc file) so how should i proceed further , and i changed &lt;/P&gt;&lt;P&gt;1) i.MX53-QSB-Android-Gingerbread-Release4.3/src/device/fsl/imx53_loco/init.rc&amp;nbsp; with chmod 0777 /dev/ttymxc0 .After this i compiled&amp;nbsp;&amp;nbsp; but no success &lt;/P&gt;&lt;P&gt;2)i.MX53-QSB-Android-Gingerbread-Release4.3/src/device/fsl/imx5x/init.rc with chmod 0777 /dev/ttymxc0 . After this i compiled&amp;nbsp;&amp;nbsp; but no success &lt;/P&gt;&lt;P&gt;3)i.MX53-QSB-Android-Gingerbread-Release4.3/src/system/core/rootdir/init.rc with chmod 0777 /dev/ttymxc0 After this i compiled&amp;nbsp;&amp;nbsp; but no success &lt;/P&gt;&lt;P&gt;So i followed above procedures but all fail can any one please give me suggestion how to set the permanent permissions in Android for /dev/ttymxc0 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; And also can i change the permissions in the Serial port apk through android application development tool ??????????? if that is possible please give me the solution how to do in application development &lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 04:38:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222389#M14970</guid>
      <dc:creator>arunmondkar</dc:creator>
      <dc:date>2014-03-21T04:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Android: accessing UARTs/Serial Ports on Freescale's EVK51</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222390#M14971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have noticed there are several init.rc file variants in several locations.&amp;nbsp; Some of these are the core and used in the make file to produce the .rc files that are run during boot.&amp;nbsp; Modifying one of these 'make(d)' .rc's will do nothing as they are overwritten on your next make!&amp;nbsp;&amp;nbsp;&amp;nbsp; The root 'user' init.rc file is located in the ~myandroid/device/fsl/imx5XXX/ directory and is copied to init.freescale.rc upon make.&amp;nbsp; So this is the file you need to modify.&amp;nbsp; After the make check the init.freescale.rc in your "out/target/product/....."&amp;nbsp; directory and you will see your modifications carried across and you will have confirmed you have updated the correct file!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 13:33:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-accessing-UARTs-Serial-Ports-on-Freescale-s-EVK51/m-p/222390#M14971</guid>
      <dc:creator>mbp</dc:creator>
      <dc:date>2014-03-21T13:33:58Z</dc:date>
    </item>
  </channel>
</rss>

