T2398 000:804 SEGGER J-Link V4.15n (beta) Log File (0000ms, 0803ms total)
T2398 000:804 DLL Compiled: Jun 18 2010 19:55:09 (0000ms, 0803ms total)
T2398 000:804 Logging started @ 2014-04-04 22:44 (0000ms, 0803ms total)
T2398 000:804 JLINK_SetWarnOutHandler(...) (0000ms, 0803ms total)
T2398 000:804 JLINK_OpenEx(...)
Firmware: J-Link ARM V8 compiled Jan 31 2018 18:34:52
Hardware: V8.00
S/N: 20080643
Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull returns O.K. (0100ms, 0803ms total)
T2398 000:904 JLINK_SetErrorOutHandler(...) (0000ms, 0903ms total)
T2398 000:904 JLINK_ExecCommand("ProjectFile = "E:\360云盘\设计资料\自己项目\W5500_TCPIP\W5500_TCPIP V1.0\Modbus_TCP\Modbus_TCP_20140331\USER\JLinkSettings.ini"", ...) returns 0x00 (0002ms, 0903ms total)
T2398 000:909 JLINK_ExecCommand("DisableConnectionTimeout", ...) returns 0x00 (0000ms, 0905ms total)
T2398 000:909 JLINK_TIF_Select(JLINKARM_TIF_JTAG) returns 0x00 (0000ms, 0905ms total)
T2398 000:909 JLINK_SetSpeed(2000) (0001ms, 0905ms total)
T2398 000:910 JLINK_GetHardwareVersion() returns 0x13880 (0000ms, 0906ms total)
T2398 000:910 JLINK_GetDLLVersion() returns 41514 (0000ms, 0906ms total)
T2398 000:910 JLINK_GetFirmwareString(...) (0000ms, 0906ms total)
T2398 000:913 JLINK_GetDLLVersion() returns 41514 (0000ms, 0906ms total)
T2398 000:913 JLINK_GetCompileDateTime() (0000ms, 0906ms total)
T2398 000:914 JLINK_GetFirmwareString(...) (0000ms, 0906ms total)
T2398 000:915 JLINK_GetHardwareVersion() returns 0x13880 (0000ms, 0906ms total)
T2398 000:918 JLINK_Reset() >0x2F8 JTAG>TotalIRLen = 9, IRPrint = 0x0011 >0x30 JTAG> >0x210 JTAG> >0x118 JTAG> >0xD8 JTAG> >0x198 JTAG> >0x38 JTAG> >0x118 JTAG> >0xD8 JTAG> >0x2F0 JTAG> >0x2F0 JTAG> >0x198 JTAG> >0x198 JTAG>Found Cortex-M3 r1p1, Little endian. >0xD8 JTAG> >0x240 JTAG> >0x198 JTAG> >0x198 JTAG>TPIU fitted. >0x198 JTAG>ETM fitted. >0x198 JTAG> FPUnit: 6 code (BP) slots and 2 literal slots >0x198 JTAG> >0x250 JTAG> >0x240 JTAG> >0x280 JTAG> >0x198 JTAG> >0x198 JTAG> >0x240 JTAG>
>0x240 JTAG> >0x198 JTAG> >0x198 JTAG> >0x17A8 JTAG> >0x240 JTAG> >0x198 JTAG> >0x17A8 JTAG> >0x198 JTAG> -- CPU_WriteMem(4 bytes @ 0xE000EDFC) -- CPU_WriteMem(4 bytes @ 0xE0001028) -- CPU_WriteMem(4 bytes @ 0xE0001038) -- CPU_WriteMem(4 bytes @ 0xE0001048) -- CPU_WriteMem(4 bytes @ 0xE0001058) (0065ms, 0906ms total)
T2398 000:983 JLINK_GetIdData(...) ScanLen=9 NumDevices=2 aId[0]=0x3BA00477 aIrRead[0]=0 aScanLen[0]=0 aScanRead[0]=0 (0000ms, 0971ms total)
T2398 000:983 JLINK_JTAG_GetDeviceID(DeviceIndex = 0) returns 0x3BA00477 (0000ms, 0971ms total)
T2398 000:983 JLINK_JTAG_GetDeviceInfo(DeviceIndex = 0) returns 0x00 (0000ms, 0971ms total)
T2398 000:983 JLINK_JTAG_GetDeviceID(DeviceIndex = 1) returns 0x6414041 (0000ms, 0971ms total)
T2398 000:983 JLINK_JTAG_GetDeviceInfo(DeviceIndex = 1) returns 0x00 (0000ms, 0971ms total)
T2398 000:983 JLINK_GetDebugInfo(0x100) -- Value=0xE00FF003 returns 0x00 (0000ms, 0971ms total)
T2398 000:984 JLINK_ReadMem (0xE00FF000, 0x0018 Bytes, ...) -- CPU_ReadMem(24 bytes @ 0xE00FF000) -- Data: 03 F0 F0 FF 03 20 F0 FF 03 30 F0 FF 03 10 F0 FF ... returns 0x00 (0002ms, 0971ms total)
T2398 000:986 JLINK_ReadMemU32(0xE000ED00, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000ED00) -- Data: 31 C2 1F 41 returns 0x01 (0000ms, 0973ms total)
T2398 000:987 JLINK_Halt() returns 0x00 (0000ms, 0973ms total)
T2398 000:987 JLINK_IsHalted() returns TRUE (0000ms, 0973ms total)
T2398 000:987 JLINK_ReadMemU32(0xE000EDF0, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000EDF0) -- Data: 03 00 03 00 returns 0x01 (0001ms, 0973ms total)
T2398 000:988 JLINK_WriteU32(0xE000EDF0, 0xA05F0003) -- CPU_WriteMem(4 bytes @ 0xE000EDF0) returns 0x00 (0001ms, 0974ms total)
T2398 000:989 JLINK_WriteU32(0xE000EDFC, 0x01000000) -- CPU_WriteMem(4 bytes @ 0xE000EDFC) returns 0x00 (0000ms, 0975ms total)
T2398 000:989 JLINK_ReadMemU32(0xE0002000, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE0002000) -- Data: 60 02 00 00 returns 0x01 (0001ms, 0975ms total)
T2398 000:990 JLINK_ReadMemU32(0xE0001000, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE0001000) -- Data: 01 00 00 40 returns 0x01 (0001ms, 0976ms total)
T2398 000:995 JLINK_ExecCommand("Device = STM32F103VC", ...)
JLINK_ExecCommand("map ram 0x20000000 - 0x2000BFFF", ...) returns 0x00 (0000ms, 0000ms total)
JLINK_AddMirrorAreaEx(Addr = 0x00000000, Size = 0x00000000) (0000ms, 0000ms total)
returns 0x00 (0001ms, 0977ms total)
T2398 000:996 JLINK_GetHWStatus(...) returns 0x00 (0000ms, 0978ms total)
T2398 000:999 JLINK_GetNumBPUnits(Type = 0xFFFFFF00) >0x2F8 JTAG>TotalIRLen = 9, IRPrint = 0x0011 >0x30 JTAG> >0x210 JTAG> >0x118 JTAG> >0xD8 JTAG> >0x198 JTAG> >0x38 JTAG> >0x118 JTAG> >0xD8 JTAG> >0x2F0 JTAG> >0x2F0 JTAG> >0x198 JTAG> >0x198 JTAG>Found Cortex-M3 r1p1, Little endian. >0xD8 JTAG> >0x240 JTAG> >0x198 JTAG> >0x198 JTAG>TPIU fitted. >0x198 JTAG>ETM fitted. >0x198 JTAG> FPUnit: 6 code (BP) slots and 2 literal slots >0x198 JTAG> returns 0x06 (0026ms, 0978ms total)
T2398 001:025 JLINK_GetNumBPUnits(Type = 0xF0) returns 0x800 (0001ms, 1004ms total)
T2398 001:026 JLINK_GetNumWPUnits() returns 0x04 (0000ms, 1005ms total)
T2398 001:029 JLINK_GetSpeed() returns 0x7D0 (0000ms, 1005ms total)
T2398 001:031 JLINK_ReadMemU32(0xE000E004, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000E004) -- Data: 01 00 00 00 returns 0x01 (0000ms, 1005ms total)
T2398 001:032 JLINK_WriteMem(0xE0001000, 0x001C Bytes, ...) -- Data: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... -- CPU_WriteMem(28 bytes @ 0xE0001000) returns 0x1C (0000ms, 1005ms total)
T2398 001:032 JLINK_ReadMem (0xE0001000, 0x001C Bytes, ...) -- CPU_ReadMem(28 bytes @ 0xE0001000) -- Data: 01 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 ... returns 0x00 (0002ms, 1005ms total)
T2398 001:034 JLINK_Halt() returns 0x00 (0000ms, 1007ms total)
T2398 001:034 JLINK_IsHalted() returns TRUE (0000ms, 1007ms total)
T2398 001:035 JLINK_WriteMem(0x20000000, 0x0164 Bytes, ...) -- Data: 00 BE 0A E0 0D 78 2D 06 68 40 08 24 40 00 00 D3 ... -- CPU_WriteMem(356 bytes @ 0x20000000) returns 0x164 (0004ms, 1007ms total)
T2398 001:039 JLINK_WriteReg(R0, 0x08000000) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R1, 0x007A1200) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R2, 0x00000001) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R3, 0x00000000) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R4, 0x00000000) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R5, 0x00000000) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R6, 0x00000000) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R7, 0x00000000) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R8, 0x00000000) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R9, 0x20000160) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R10, 0x00000000) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R11, 0x00000000) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R12, 0x00000000) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R13, 0x20000800) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R14, 0x20000001) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(R15, 0x20000038) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(XPSR, 0x01000000) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(MSP, 0x20000800) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(PSP, 0x20000800) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_WriteReg(CFBP, 0x00000000) returns 0x00 (0000ms, 1011ms total)
T2398 001:039 JLINK_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2) -- CPU_ReadMem(2 bytes @ 0x20000000) returns 0x00000001 (
没有合适的资源?快使用搜索试试~ 我知道了~
STM32+W5500 Modbus-TCP协议功能实现
共108个文件
c:46个
h:45个
s:8个
5星 · 超过95%的资源 需积分: 50 1.0k 下载量 120 浏览量
2014-04-04
23:11:42
上传
评论 56
收藏 376KB ZIP 举报
温馨提示
经过这几天的学习与调试,终于在STM32F103VCT6+W5500(SPI1)+Freemodbus 平台上,实现Modbus-TCP协议的功能。其实很简单,只要熟悉Modbus-RTU通讯,明白Modbus帧的结构等,Modbus-TCP只是在原来的帧结构上加个头,去个尾,然后用TCP传输即可。 关键的内容就是怎样获取W5500新接收的数据包,并发送给Modbus事件状态机驱动协议的执行,数据的处理。 主要参考Freemodbus demo里的Modbus-TCP协议实现的思路,获取缓存区的读写与发送响应。
资源推荐
资源详情
资源评论
收起资源包目录
STM32+W5500 Modbus-TCP协议功能实现 (108个子文件)
STM32-DEMO_uvopt.bak 85KB
stm32f10x_tim.c 107KB
stm32f10x_flash.c 61KB
stm32f10x_rcc.c 50KB
stm32f10x_adc.c 46KB
stm32f10x_i2c.c 45KB
stm32f10x_can.c 44KB
stm32f10x_usart.c 37KB
system_stm32f10x.c 36KB
stm32f10x_fsmc.c 35KB
stm32f10x_spi.c 30KB
stm32f10x_dma.c 29KB
stm32f10x_sdio.c 28KB
stm32f10x_gpio.c 23KB
stm32f10x_dac.c 19KB
core_cm3.c 17KB
mbascii.c 14KB
W5500.c 14KB
stm32f10x_cec.c 11KB
mb.c 11KB
mbfuncholding.c 11KB
mbrtu.c 10KB
main.c 9KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
mbfunccoils.c 8KB
stm32f10x_bkp.c 8KB
misc.c 7KB
stm32f10x_exti.c 7KB
stm32f10x_wwdg.c 6KB
usart1.c 6KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
stm32f10x_it.c 5KB
mbtcp.c 4KB
mbcrc.c 4KB
mbfuncdisc.c 4KB
mbutils.c 4KB
mbfuncinput.c 3KB
System_Init.c 3KB
stm32f10x_crc.c 3KB
porttcp.c 3KB
led.c 3KB
mbfuncother.c 2KB
portevent.c 2KB
SysTick.c 1004B
mbfuncdiag.c 348B
STM32-DEMO_STM32_Modbus_TCP V1.0.dep 31KB
stm32f10x.h 619KB
core_cm3.h 84KB
stm32f10x_tim.h 51KB
stm32f10x_rcc.h 30KB
stm32f10x_i2c.h 29KB
stm32f10x_can.h 27KB
stm32f10x_fsmc.h 26KB
stm32f10x_flash.h 25KB
stm32f10x_sdio.h 21KB
stm32f10x_adc.h 21KB
stm32f10x_dma.h 20KB
stm32f10x_gpio.h 20KB
mb.h 18KB
stm32f10x_spi.h 17KB
stm32f10x_usart.h 16KB
stm32f10x_dac.h 15KB
misc.h 9KB
stm32f10x_bkp.h 7KB
stm32f10x_exti.h 7KB
stm32f10x_cec.h 6KB
stm32f10x_pwr.h 4KB
mbconfig.h 4KB
mbutils.h 4KB
W5500.h 4KB
stm32f10x_rtc.h 4KB
stm32f10x_iwdg.h 4KB
stm32f10x_dbgmcu.h 4KB
mbport.h 3KB
stm32f10x_conf.h 3KB
mbfunc.h 3KB
stm32f10x_wwdg.h 3KB
device.h 3KB
mbframe.h 2KB
mbproto.h 2KB
stm32f10x_crc.h 2KB
stm32f10x_it.h 2KB
system_stm32f10x.h 2KB
led.h 2KB
port.h 2KB
mbascii.h 1KB
mbrtu.h 1KB
mbtcp.h 1KB
mbcrc.h 446B
usart1.h 283B
SysTick.h 155B
JLinkSettings.ini 285B
startup_stm32f10x_hd.lst 51KB
STM32_Modbus_TCP_V1.map 77KB
startup_stm32f10x_xl.s 16KB
startup_stm32f10x_cl.s 15KB
startup_stm32f10x_hd_vl.s 15KB
startup_stm32f10x_hd.s 15KB
共 108 条
- 1
- 2
zhangsz_sh
- 粉丝: 4133
- 资源: 96
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 技术资料分享TF卡资料很好的技术资料.zip
- 技术资料分享TF介绍很好的技术资料.zip
- 10、安徽省大学生学科和技能竞赛A、B类项目列表(2019年版).xlsx
- 9、教育主管部门公布学科竞赛(2015版)-方喻飞
- C语言-leetcode题解之83-remove-duplicates-from-sorted-list.c
- C语言-leetcode题解之79-word-search.c
- C语言-leetcode题解之78-subsets.c
- C语言-leetcode题解之75-sort-colors.c
- C语言-leetcode题解之74-search-a-2d-matrix.c
- C语言-leetcode题解之73-set-matrix-zeroes.c
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页