[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a MODBUS port to RTEMS
- Date: Tue, 3 Jun 2008 11:38:10 +0800
- From: danilliu at hotmail.com (liudanil)
- Subject: a MODBUS port to RTEMS
Hello, every one.
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.
TO build it :
1. download freeMODBUS package from it's website www.freemodbus.org, the version now is 1.3.0
2. release freemodbus in a directory, and then build a new subdirectory "RTEMSi386" under the directory \demo
3. release the atteched files in \demo\RTEMSi386?then MAKE it
To test it?
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;
the demo can only response for Input registers, there are 4 registers which start address is 0x1000.
Enjoy it, thank you.
_________________________________________________________________
?????????live mail????????
http://get.live.cn/product/mail.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rtems.rtems.org/pipermail/rtems-users/attachments/20080603/b569f3c6/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeMODBUS_in_RTEMSi386.rar
Type: application/x-msdownload
Size: 20835 bytes
Desc: not available
Url : http://rtems.rtems.org/pipermail/rtems-users/attachments/20080603/b569f3c6/attachment-0001.bin