<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
<style>.hmmessage P{margin:0px;padding:0px}body.hmmessage{FONT-SIZE: 9pt;FONT-FAMILY:Tahoma}</style>Hello, every one.<br><br> I have port a freeMODBUS to RTEMS. I have a very simple testing in RTEMS 4.8.0 with a PC486 plateform, and it works OK. I attached it here and maybe someone is interested in it. <br><br> TO build it :<br> 1. download freeMODBUS package from it's website www.freemodbus.org, the version now is 1.3.0<br><br> 2. release freemodbus in a directory, and then build a new subdirectory "RTEMSi386" under the directory \demo<br><br> 3. release the atteched files in \demo\RTEMSi386,then MAKE it<br> <br> To test it:<br> run \demo\RTEMSi386\o-optimize\MODBUS-demo.exe in a PC computer plateform, it will use COM port 1 as MODBUS port. the serial port setting is : 38400,8,E,1, no hardware flow control; and MODBUS address is 0x01;<br><br> the demo can only response for Input registers, there are 4 registers which start address is 0x1000.<br><br> <br> Enjoy it, thank you.<br><br> <br><br /><hr />用 Windows Live Spaces 展示个性自我,与好友分享生活! <a href='http://spaces.live.com/?page=HP' target='_new'>了解更多信息!</a></body>
</html>