<?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>CodeWarrior for MCU中的主题 Data Serially-In Ethernet-Out on an NE64 board</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Data-Serially-In-Ethernet-Out-on-an-NE64-board/m-p/136594#M1879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using a Freescale EVB9S12NE64 board to take readings serially over RS232 from a device, and transmit (UDP) this data to a PC over NE64's Ethernet to a computer. It sounds simple, but I'm a bit stuck as I'm not familiar with embedded devices. Is there a simple quick method to achive this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried modifying the Connector_application which came with the board, but I came to a dead end, as I couldn't find any easy way/driver to implement the data reception from the serial port (SCI). I'm using Codewarrior IDE 5.7, the special edition one. So i'm a bit restricted on code-size and files number.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2007 21:45:46 GMT</pubDate>
    <dc:creator>Ryu</dc:creator>
    <dc:date>2007-06-12T21:45:46Z</dc:date>
    <item>
      <title>Data Serially-In Ethernet-Out on an NE64 board</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Data-Serially-In-Ethernet-Out-on-an-NE64-board/m-p/136594#M1879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using a Freescale EVB9S12NE64 board to take readings serially over RS232 from a device, and transmit (UDP) this data to a PC over NE64's Ethernet to a computer. It sounds simple, but I'm a bit stuck as I'm not familiar with embedded devices. Is there a simple quick method to achive this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried modifying the Connector_application which came with the board, but I came to a dead end, as I couldn't find any easy way/driver to implement the data reception from the serial port (SCI). I'm using Codewarrior IDE 5.7, the special edition one. So i'm a bit restricted on code-size and files number.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 21:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Data-Serially-In-Ethernet-Out-on-an-NE64-board/m-p/136594#M1879</guid>
      <dc:creator>Ryu</dc:creator>
      <dc:date>2007-06-12T21:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Data Serially-In Ethernet-Out on an NE64 board</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Data-Serially-In-Ethernet-Out-on-an-NE64-board/m-p/136595#M1880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi Ryu&lt;BR /&gt;&lt;BR /&gt;Take a look at the uTasker project - &lt;A href="http://www.uTasker.com" rel="nofollow noopener noreferrer" target="_blank"&gt;www.uTasker.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It includes all that you need including the UART driver (with several modes - character, message with flow-control). It is free for non-commercial applications and includes full support.&lt;BR /&gt;&lt;BR /&gt;To get an idea of code size see the following tutorial:&lt;BR /&gt;&lt;A href="http://http://www.utasker.com/docs/NE64/uTaskerV1.2-Tutorial.PDF" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.utasker.com/docs/NE64/uTaskerV1.2-Tutorial.PDF&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Using just UDP it will occupy about 8..10k of space but it may be worth looking at TCP because it will allow end to end flow control (see the Telnet demo) and so avoid UART overruns.&lt;BR /&gt;&lt;BR /&gt;Examples of UART-&amp;gt;UDP and UDP-&amp;gt;UART code&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;PRE&gt;// read UART input and sent to UDP portLength = fnRead( SerialPortID, ptrUDP_Frame-&amp;gt;ucUDP_Message, MEDIUM_MESSAGE);fnSendUDP(MyUDP_Socket, ucIP, usPortNr, ptrUDP_Frame, Length, OWN_TASK);&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;UDP-&amp;gt;UART (using call back on UDP frame reception&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;PRE&gt;extern int fnUDPListner(USOCKET SocketNr, unsigned char ucEvent, unsigned char *ucIP, unsigned short usPortNr, unsigned char *data, unsigned short usLength){    switch (ucEvent) {    case UDP_EVENT_RXDATA:        fnWrite(SerialPortID, data, usLength);        break;    }}&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;The project comes with a GNU build and a serial loader/debugger as well as a CW project.&lt;BR /&gt;Simply remove unwanted files (like smtp, pop3, etc. to keep below the max allowed file count of eval version). It also contains an NE64 simulator so you can completly develop and test your project before moving to the target. The UART will be simulated over a COM port and the Ethernet interface by the PC's NIC.&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mark Butcher&lt;BR /&gt;&lt;BR /&gt;P.S. There is a live NE64 demo on the web site above. You can&amp;nbsp; also telnet to it at "telnet 84.253.57.46"&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 01:14:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Data-Serially-In-Ethernet-Out-on-an-NE64-board/m-p/136595#M1880</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2007-06-19T01:14:41Z</dc:date>
    </item>
  </channel>
</rss>

