Changelog.txt 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  1. 2007-08-28 (REL_1_4_0) Christian Walter <wolti@sil.at>:
  2. Notes: Added support for HCS08. Fixed some small bugs in the documentation
  3. for the porting layer.
  4. Detailed notes:
  5. - FEATURES (HCS08) : Added new port.
  6. - BUGS (ALL) : Fixed some small bugs in the porting guide.
  7. 2007-07-17 (REL_1_3_0) Christian Walter <wolti@sil.at>:
  8. Notes: Added ARM7/AT91SAM7X port. Added Linux/TCP port from Steven Guo.
  9. Detailed notes:
  10. - FEATURES (ARM7): Added ARM7/AT91SAM7x port.
  11. - FEATURES (LINUX): Added Linux/TCP port from Steven Guo.
  12. - BUGS (ALL): Fixed bug in <eMBFuncReadInputRegister> where the high
  13. byte of the register count was ignored. This does not have a
  14. practical impact because the actual number of registers is always
  15. lower.
  16. 2007-07-17 (REL_1_3_0) Christian Walter <wolti@sil.at>:
  17. Notes: Added Linux/TCP port. Fixed bug in MSP430 port.
  18. Detailted notes:
  19. - FEATURE (LINUX): Added Linux/TCP port.
  20. - BUGS (MSP430): Fixed bug with calculating the timer value.
  21. 2007-04-25 (REL_1_2_0) Christian Walter <wolti@sil.at>:
  22. Notes: Added LPC214X ARM port with Keil compiler. Added Z8Encore port for
  23. Z8F6422 microcontroller.
  24. Detailed notes:
  25. - FEATURE (ARM): Added LPC214X ARM port for Keil ARM 2.41.
  26. - FEATURE (Z8ENCORE): Added Z8F6422 for Z8Encore using the ZDS II - Z8
  27. Encore! development tools.
  28. 2007-02-18 (REL_1_1_2) Christian Walter <wolti@sil.at>:
  29. Notes: Fixed typo with the defined defining the supported Modbus
  30. functions. Fixed bug when illegal slave address was passed to eMBInit
  31. where the error was not detected. Fixed typo in the holding registers
  32. where the frame for write multiple registers was parsed with the wrong
  33. constants. The fix is not critical because the values matched. Fixed bug
  34. in discrete input registers implementation where the frame was not parsed
  35. correctly. Added new support for a CodeWarrior Coldfire port.
  36. Detailed notes:
  37. - BUG (ALL): Modbus functions are compiled into the stack conditionally
  38. by changing the MB_FUNC_XXX defines to either true(1) or false(0).
  39. The defines for MB_FUNC_READ_HOLDING and MB_FUNC_WRITE_HOLDING
  40. were wrong.
  41. - BUG (ALL): eMBInit did not correctly check for addresses. Therefore
  42. is was possible to start the Modbus stack with an address of 0
  43. or one > 247.
  44. - BUG (ALL): eMBFuncWriteHoldingRegister should use
  45. MB_PDU_FUNC_WRITE_MUL_ADDR_OFF and not MB_PDU_FUNC_READ_ADDR_OFF.
  46. - BUG (ALL): eMBFuncReadDiscreteInputs calculated the number of discrete
  47. registers to read wrong.
  48. - FEATURE (ALL): Fixed some warnings in the code.
  49. 2006-11-19 (REL_1_1_1) Christian Walter <wolti@sil.at>:
  50. Notes: Fixed bug in Read/Write Multiple Registers function where
  51. the registers addresses where calculated wrong.
  52. Fixed bug in RTU and ASCII with the resource allocation in case of
  53. an error.
  54. Changed license to BSD style licsense.
  55. Detailed notes:
  56. - OTHER (ALL): License is now BSD for protocol stack.
  57. - BUG (ALL): The registers address received in a Modbus frame
  58. must be converted to application addresses. The code for this
  59. conversion was missing and therefore has lead to error when
  60. this function was used (Registers of by one, Start at > 1).
  61. - BUG (ALL): If the serial initialization within the porting fails
  62. a timer is still allocated in eMBRTUInit and eMBASCIIInit. This
  63. can lead to a memory leak depending upon the implementation of the
  64. porting layer.
  65. - FEATURE (MCF5235): Added sample shell scripts for testing.
  66. - FEATURE (MSP430): Added sample shell script for testing and
  67. changed default values to match the other ports.
  68. 2006-10-30 (REL_1_1_0) Christian Walter <wolti@sil.at>:
  69. Notes: Added support for Read/Write Multiple Registers function
  70. (0x17). Added some tips to reduce memory requirements.
  71. Added MSP430 Port for GCC and Rowley Crossworks.
  72. Detailed notes:
  73. - FEATURE (MSP430): Added new MSP430 port.
  74. - FEATURE (ALL): Added support for Read/Write Multiple Registers
  75. function (0x17). The implementation simply makes two callbacks
  76. to the eMBRegHoldingCB function where first the values are
  77. written and then the other register values are read.
  78. - FEATURE (ALL): Added some tips on reducing memory requirements
  79. with the protocol stack.
  80. 2006-10-30 (REL_1_0_5) Christian Walter <wolti@sil.at>:
  81. Notes: eMBDisable and eMBClose can now be called multiple times
  82. which makes shutdown of the protocol stack easier.
  83. Fixed bug in RTU state machine where we switched from the
  84. error state immediately to the idle state. Correct behaviour
  85. would be to wait till the end of frame.
  86. Added new STR71X GCC port which uses only freely available tools
  87. like GNU ARM, OpenOCD (Wiggler) and GDB.
  88. Detailed notes:
  89. - FEATURE (STR71X): Added GCC standalone port which does not
  90. depend on the Rowley Crosswork tools.
  91. - FEATURE (ALL): eMBDisable can now be called multiple times
  92. and returns MB_ENOERR in case is was already disabled.
  93. eMBClose also supports beeing called multiple times in
  94. which pvMBFrameCloseCur( ) is called when the protocol stack
  95. is in state STATE_DISABLED.
  96. - BUG (RTU): Fixed bug in xMBRTUReceiveFSM where the error
  97. state is immediately left because of a missing break. Instead
  98. we should wait till the damaged frame is finished.
  99. 2006-10-11 (REL_1_0_4) Christian Walter <wolti@sil.at>:
  100. Notes: Fixed bug when more than 255 coils are requested. Fixed bug in
  101. Linux/Cygwin port when not all bytes could be written by the first
  102. call to write. Added support for removing previously registered
  103. function handlers.
  104. Detailed notes:
  105. - BUG (ALL): mbfunccoils contained a bug which limited the amount
  106. of coils to read to 255.
  107. - BUG (LINUX): prvbMBPortSerialWrite contained a bug in the loop
  108. which writes the RTU/ASCII frame to the serial file descriptor.
  109. If not all bytes where written in the first call or write was
  110. interrupted the sent frame is corrupted.
  111. - FEATURE (ALL): eMBRegisterCB now supports NULL as handler
  112. argument in which case a previously registered function
  113. handler is deregistered from the protocol stack.
  114. 2006-09-27 (REL_1_0_3) Christian Walter <wolti@sil.at>:
  115. Notes: Added new functions to support registering of custom callback
  116. handlers. This makes it possible to implement new Modbus function
  117. codes without touching the protocol stack.
  118. New port for ATMega128 added. Thanks to Richard C Sandoz Jr. for
  119. the patches.
  120. Detailed notes:
  121. - FEATURE (ALL): Added support for registering new functions handlers
  122. with eMBRegisterCB.
  123. - FEATURE (AVR): Added patches from Richard C Sandoz Jr. for ATMega128
  124. 2006-09-06 (REL_1_0_2) Christian Walter <wolti@sil.at>:
  125. Notes: Fixed bug in FreeRTOS porting layer for STR71X/lwIP target where
  126. memory is not freed in the sys_arch_thread_remove function.
  127. Synched MCF5235TCP port with the FreeRTOS/lwIP port for the STR71X.
  128. Detailed notes:
  129. - BUG (STR71XTCP): Sys_arch_thread_remove did not free the memory from
  130. the TCB.
  131. - BUG (STR71XTCP): Unnecessary call to vTaskSuspendAll removed.
  132. - BUG (STR71XTCP): Bug with counting variable. The first to lwIP tasks
  133. got the same name (lwIP0).
  134. - FEATURE (MCF5235TCP): Enhanced functions from the STR71X/lwIP port
  135. merged into the Coldfire port.
  136. 2006-09-04 (REL_1_0_1) Christian Walter <wolti@sil.at>:
  137. Notes: Fixed bug in serial driver for STR71x target when the ring buffer
  138. overflows.
  139. Detailed notes:
  140. - BUG (STR71XTCP): Under high load the ring buffer in the serial driver
  141. functions might overflow. There was an error with counting the number
  142. of received characters which corrupted received frames.
  143. Now receiver correctly recovers in case of dropped bytes.
  144. 2006-09-04 (REL_1_0) Christian Walter <wolti@sil.at>:
  145. Notes: Added support for ATmega8, ATmega16, ATmega32, ATmega169 and
  146. RS485 drivers in the AVR support. Special thanks to Tran Minh Hoang
  147. for his contribution.
  148. Added a new lwIP port for the STR71X target which uses one serial
  149. interface for a PPP connection. This can be used for remote Modbus/TCP
  150. devices in combination with a Modem (E.g. GPRS or Analog).
  151. Detailed notes:
  152. - FEATURES (AVR): Integrated patches from Tran Minh Hoang to support the
  153. ATmega8, ATmega16, ATmega32, ATmega169 controllers.
  154. - FEATURES (AVR): Added support for RS485 drivers in the AVR code. The
  155. example supports the DS76176.
  156. - FEATURES (STR71XTCP): implemented function in STR71X/lwIP porting layer
  157. to remove running tasks.
  158. - FEATURES (STR71XTCP): added new thread creation function in STR71X/lwIP
  159. porting layer which allows specifing the stack size.
  160. - BUGS (STR71XTCP): pppOpen defined in ppp.c does not check the return
  161. value of sys_thread_new. If task creation fails the system crashes.
  162. - BUGS (STR71XTCP): pppMain must not return - Instead it should remove
  163. its task from the scheduler.
  164. 2006-08-30 (REL_9) Christian Walter <wolti@sil.at>:
  165. Notes: Added lwIP port for the MCF5235 target. The lwIP part is
  166. generic and therefore FreeModbus now works on any target with
  167. lwIP support.
  168. Detailed notes:
  169. - FEATURES: Incoperated MCF5235 FreeRTOS/lwIP port done by the
  170. author in this project.
  171. - FEATURES: Added lwIP port for FreeModbus
  172. - FEATURES: Added demo application for FreeModbus and lwIP.
  173. 2006-08-22 (REL_0_82) Christian Walter <wolti@sil.at>
  174. Notes: Fixed bug with Modbus ASCII support
  175. Detailed notes:
  176. - BUG: During the last upgrade an error was introduced in the
  177. initialization code of Modbus ASCII and therefore ASCII
  178. support was broken. The bug is fixed now and was tested with
  179. the Win32 port.
  180. 2006-08-22 (REL_0_81) Christian Walter <wolti@sil.at>
  181. Notes: Added porting guide
  182. Detailed notes:
  183. - OTHER: Added a new porting guide to the documentation.
  184. - OTHER: Added a empty example for new ports to the project as a
  185. starting point.
  186. 2006-08-01 (REL_0_8) Christian Walter <wolti@sil.at>
  187. Notes: Added Linux RTU/ASCII port.
  188. Detailed notes:
  189. - FEATURES: Added a new Linux RTU/ASCII port. The port should work
  190. on any Linux distribution and it should be possible to run it
  191. on uCLinux.
  192. 2006-06-26 (REL_0_7) Christian Walter <wolti@sil.at>
  193. Notes: Changed the WIN32 serial port to better fit into the design.
  194. Detailed notes:
  195. - OTHER: Design of the WIN32 serial port changed. The polling function
  196. for the serial device are now called from the event loop.
  197. - OTHER: Debugging uses the same interface as the WIN32/TCP port.
  198. 2006-06-25 Christian Walter <wolti@sil.at>
  199. Notes: Initial work on a Modbus/TCP port is available. The port includes
  200. an example for a Win32 port which uses the Winsock API.
  201. Detailed notes:
  202. - FEATURES: added required functions to core protocol stack to support
  203. a Modbus/TCP implementation.
  204. - FEATURES: added a Win32 port for the Modbus/TCP core. The port is
  205. currently limited to one concurrent client.
  206. - OTHER: The implementation of eMBClose to shutdown the protocol stack
  207. was changed to unify it with the new Modbus/TCP code.
  208. -
  209. 2006-06-18 Christian Walter <wolti@sil.at>
  210. Detailed notes:
  211. - OTHER: while working on the Win32 port some line feeds got
  212. wrong. Also some source files used tabs instead of spaces.
  213. - OTHER: prototypes for xMBUtilSetBits and xMBUtilGetBits fixed.
  214. usNBits should be ucNBits by convention.
  215. 2006-06-17 Christian Walter <wolti@sil.at>
  216. Notes: Fixed various bugs with the Win32 port
  217. Detailed notes:
  218. - FEATURES: implement shutdown functionality for protocol stack.
  219. - FEATURES: protocol stack can be enabled and disabled during runtime.
  220. - FEATURES: interface functions now do more error checking. For
  221. example if eMBPool is called in an uninitialized state.
  222. - FEATURES: extended Win32 demo application to use the new features.
  223. - BUG: fixed bug in Win32 demo for ASCII mode.
  224. 2006-06-16 Christian Walter <wolti@sil.at>
  225. Notes: The new version includes a new port for the
  226. Win32 platform
  227. Detailed notes:
  228. - FEATURES: added Win32 platform
  229. 2006-05-14 Christian Walter <wolti@sil.at>
  230. Notes: The new version includes a new port for the
  231. Freescale MCF5235 processor.
  232. Detailed notes:
  233. - FEATURES: added new MCF5235 port.
  234. - OTHER: fixed some missing code headers.
  235. 2006-05-01 Christian Walter <wolti@sil.at>
  236. Notes: This version removes the t1.5 timers from the Modbus RTU
  237. implementation because no one actually uses it and the CPU
  238. load is very high. T
  239. In addition some documentation cleanups has been done and the
  240. ARM demo has been updated.
  241. Detailed notes:
  242. - FEATURES: the t1.5 timeout has been removed. Therefore only
  243. one timer is required.
  244. - BUG: the ARM demo project missed some files in the project
  245. workspace and did not compile cleanly
  246. 2006-02-28 Christian Walter <wolti@sil.at>
  247. Notes: This version includes support for two new command
  248. (write multiple coils, read discrete input)
  249. Detailed notes:
  250. - BUG: some function used the wrong data types
  251. - FEATURES: added support for write multiple coils function.
  252. - FEATURES: added support for read discrete input.
  253. - OTHER: some code cleanups with lint tool.
  254. 2006-02-28 Christian Walter <wolti@sil.at>
  255. Notes: The new version 0.31 adds support for reading and writing the
  256. coil registers and add some bug fixes.
  257. Detailed notes:
  258. - BUG: fixed bug with to small modbus requests being ignored.
  259. - FEATURES: added support for write single coil function.
  260. - FEATURES: added support for working with byte packed bit fields
  261. to support coils and discrete inputs better.
  262. - API: API for set slave id functions changed.
  263. 2006-02-26 Christian Walter <wolti@sil.at>
  264. Notes: First public release which includes an ARM and AVR port.