Modbus-for-MCF5235TCP
modbus 

所属分类:单片机开发
开发工具:C/C++
文件大小:465KB
下载次数:3
上传日期:2014-12-20 13:48:20
上 传 者Mubaraque
说明:  Modbus for MCF5235TCP

文件列表:
MCF5235TCP\demo.c (5978, 2009-04-16)
MCF5235TCP\demo.vpj (11204, 2009-04-16)
MCF5235TCP\freertos\croutine.c (13417, 2009-04-16)
MCF5235TCP\freertos\include\croutine.h (27504, 2009-04-16)
MCF5235TCP\freertos\include\FreeRTOS.h (4966, 2009-04-16)
MCF5235TCP\freertos\include\list.h (11342, 2009-04-16)
MCF5235TCP\freertos\include\portable.h (6033, 2009-04-16)
MCF5235TCP\freertos\include\projdefs.h (2066, 2009-04-16)
MCF5235TCP\freertos\include\queue.h (16893, 2009-04-16)
MCF5235TCP\freertos\include\semphr.h (10222, 2009-04-16)
MCF5235TCP\freertos\include\serial.h (3124, 2009-04-16)
MCF5235TCP\freertos\include\task.h (31441, 2009-04-16)
MCF5235TCP\freertos\list.c (7686, 2009-04-16)
MCF5235TCP\freertos\portable\GCC\MCF5235\port.c (9603, 2009-04-16)
MCF5235TCP\freertos\portable\GCC\MCF5235\portmacro.h (7231, 2009-04-16)
MCF5235TCP\freertos\portable\MemMang\heap_1.c (4495, 2009-04-16)
MCF5235TCP\freertos\portable\MemMang\heap_2.c (9078, 2009-04-16)
MCF5235TCP\freertos\portable\MemMang\heap_3.c (2497, 2009-04-16)
MCF5235TCP\freertos\queue.c (30752, 2009-04-16)
MCF5235TCP\freertos\tasks.c (59689, 2009-04-16)
MCF5235TCP\FreeRTOSConfig.h (3372, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_can.h (23382, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_ccm.h (1741, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_cs.h (4440, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_eport.h (3576, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_etpu.h (27572, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_fec.h (11419, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_fmpll.h (1883, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_gpio.h (35485, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_i2c.h (1918, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_intc0.h (17257, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_intc1.h (17257, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_mdha.h (4335, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_pit.h (3425, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_qspi.h (2333, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_rcm.h (1064, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_rng.h (1360, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_scm.h (6493, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_sdramc.h (3629, 2009-04-16)
MCF5235TCP\include\arch\mcf523x\mcf523x_skha.h (5612, 2009-04-16)
... ...

FreeModbus Coldfire MC523x PORT with lwIP REQUIREMENTS ============ The FreeModbus/lwIP port requires are port of the lwIP TCP/IP stack for the target platform. This port includes a suitable Ethernet driver for lwIP as well as a FreeRTOS port. The FreeModbus part itself does NOT depend on FreeRTOS or the Coldfire ethernet controller and can therefore be used for creating other ports. The development environment used is based on the GNU C Compiler for a m68k-elf target as well as the insight debugger with some patches for the BDM interface[1]. GDB startup and linker scripts are supplied with the demo for the M5235BCC evaluation kit from Freescale. [1] ... BDM tools: http://sourceforge.net/projects/bdm/ USAGE ===== A makefile is supplied with the demo application and a binary can be produced by calling 'make all'. A special target 'debug' is provided which executes the insight debugger. At the insight debugger prompt one should select the appropriate target interface (either BDM/Direct or BDM/TCP) and should download the application to the development board. It is important that the GDB script setup-and-load is executed prior to downloading to initialize the SDRAM. After downloading one should call the GDB function 'execute' and the PC is set to the start of the executable. Execution can be started by typing 'continue' at the Insight console interface. In addition it is possible to download the software to the flash. This can be done by calling 'make flash-erase' and 'make flash-programm'. By default the port using the following settings: IP Address : 10.0.10.2 Netmask : 255.255.255.0 Gateway : 10.0.10.1 Modbus TCP Port : 502 COMMON PROBLEMS =============== Most of the problems have their origin in the startup scripts. The following list should serve as a checklist where each point must be satisfied for the port to work. - The FreeRTOS port only works correctly in the supervisor mode. There- fore the Coldfire CPU must run in the supervisor mode. - portVECTOR_TABLE does not point to the currently active vector table. Please also note that the vector table must be in RAM such that the FreeRTOS port can install a traphandler for the portYIELD() call. $Id: README.txt,v 1.1 2006/08/30 23:18:06 wolti Exp $ MCF5235 + lwIP port - Copyright (c) 2006 Christian Walter.

近期下载者

相关文件


收藏者