gd32移植freemodbus通讯
立即下载
资源介绍:
支持ModbusRTU通讯,支持多种功能码,可以和Modbus Poll上位机通讯
T1F7D8 000:006.330 SEGGER J-Link V7.58a Log File
T1F7D8 000:006.477 DLL Compiled: Nov 11 2021 16:50:12
T1F7D8 000:006.482 Logging started @ 2023-09-21 07:55
T1F7D8 000:006.487 - 6.489ms
T1F7D8 000:006.499 JLINK_SetWarnOutHandler(...)
T1F7D8 000:006.505 - 0.008ms
T1F7D8 000:006.511 JLINK_OpenEx(...)
T1F7D8 000:007.932 Firmware: J-Link V9 compiled May 7 2021 16:26:12
T1F7D8 000:008.243 Firmware: J-Link V9 compiled May 7 2021 16:26:12
T1F7D8 000:008.450 Decompressing FW timestamp took 162 us
T1F7D8 000:014.425 Hardware: V9.60
T1F7D8 000:014.464 S/N: 59604054
T1F7D8 000:014.475 OEM: SEGGER
T1F7D8 000:014.481 Feature(s): GDB, RDI, FlashBP, FlashDL, JFlash
T1F7D8 000:015.425 TELNET listener socket opened on port 19021
T1F7D8 000:015.571 WEBSRV WEBSRV_Init(): Starting webserver thread(s)
T1F7D8 000:015.692 WEBSRV Webserver running on local port 19080
T1F7D8 000:082.116 - 75.618ms returns "O.K."
T1F7D8 000:082.148 JLINK_GetEmuCaps()
T1F7D8 000:082.153 - 0.007ms returns 0xB9FF7BBF
T1F7D8 000:082.166 JLINK_TIF_GetAvailable(...)
T1F7D8 000:082.324 - 0.165ms
T1F7D8 000:082.336 JLINK_SetErrorOutHandler(...)
T1F7D8 000:082.341 - 0.006ms
T1F7D8 000:082.367 JLINK_ExecCommand("ProjectFile = "E:\03 PN\07 培训班\GD32F303实战课程\00 开发板\02 例程代码\10 modbus\JLinkSettings.ini"", ...).
T1F7D8 000:094.360 Ref file found at: C:\Keil_v5\ARM\Segger\JLinkDevices.ref
T1F7D8 000:094.437 XML referenced by ref file: C:\Program Files\SEGGER\JLink\JLinkDevices.xml
T1F7D8 000:095.290 C:\Program Files\SEGGER\JLink\JLinkDevices.xml evaluated successfully.
T1F7D8 000:122.408 - 40.048ms returns 0x00
T1F7D8 000:138.408 JLINK_ExecCommand("Device = GD32F303ZE", ...).
T1F7D8 000:142.850 Device "GD32F303ZE" selected.
T1F7D8 000:143.116 - 4.699ms returns 0x00
T1F7D8 000:143.129 JLINK_ExecCommand("DisableConnectionTimeout", ...).
T1F7D8 000:143.138 - 0.004ms returns 0x01
T1F7D8 000:143.144 JLINK_GetHardwareVersion()
T1F7D8 000:143.148 - 0.006ms returns 96000
T1F7D8 000:143.154 JLINK_GetDLLVersion()
T1F7D8 000:143.164 - 0.011ms returns 75801
T1F7D8 000:143.169 JLINK_GetOEMString(...)
T1F7D8 000:143.176 JLINK_GetFirmwareString(...)
T1F7D8 000:143.181 - 0.006ms
T1F7D8 000:153.155 JLINK_GetDLLVersion()
T1F7D8 000:153.166 - 0.013ms returns 75801
T1F7D8 000:153.172 JLINK_GetCompileDateTime()
T1F7D8 000:153.176 - 0.016ms
T1F7D8 000:166.125 JLINK_GetFirmwareString(...)
T1F7D8 000:166.138 - 0.015ms
T1F7D8 000:170.520 JLINK_GetHardwareVersion()
T1F7D8 000:170.532 - 0.014ms returns 96000
T1F7D8 000:173.972 JLINK_GetSN()
T1F7D8 000:173.984 - 0.013ms returns 59604054
T1F7D8 000:176.915 JLINK_GetOEMString(...)
T1F7D8 000:182.875 JLINK_TIF_Select(JLINKARM_TIF_JTAG)
T1F7D8 000:183.565 - 0.699ms returns 0x00
T1F7D8 000:183.581 JLINK_HasError()
T1F7D8 000:183.604 JLINK_SetSpeed(5000)
T1F7D8 000:183.672 - 0.087ms
T1F7D8 000:183.696 JLINK_GetIdData(pIdData)
T1F7D8 000:197.457 TotalIRLen = 9, IRPrint = 0x0011
T1F7D8 000:203.062 JTAG chain detection found 2 devices:
T1F7D8 000:206.199 #0 Id: 0x4BA00477, IRLen: 04, CoreSight JTAG-DP
T1F7D8 000:209.152 #1 Id: 0x790007A3, IRLen: 05, Unknown device
T1F7D8 000:213.784 DPv0 detected
T1F7D8 000:216.901 Scanning AP map to find all available APs
T1F7D8 000:231.868 AP[1]: Stopped AP scan as end of AP map has been reached
T1F7D8 000:235.150 AP[0]: AHB-AP (IDR: 0x24770011)
T1F7D8 000:238.376 Iterating through AP map to find AHB-AP to use
T1F7D8 000:242.085 AP[0]: Core found
T1F7D8 000:245.101 AP[0]: AHB-AP ROM base: 0xE00FF000
T1F7D8 000:248.337 CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
T1F7D8 000:257.509 Found Cortex-M4 r0p1, Little endian.
T1F7D8 000:257.864 -- Max. mem block: 0x00010C40
T1F7D8 000:258.011 CPU_ReadMem(4 bytes @ 0xE000EDF0)
T1F7D8 000:259.027 CPU_WriteMem(4 bytes @ 0xE000EDF0)
T1F7D8 000:259.277 CPU_ReadMem(4 bytes @ 0xE0002000)
T1F7D8 000:265.341 FPUnit: 6 code (BP) slots and 2 literal slots
T1F7D8 000:265.357 CPU_ReadMem(4 bytes @ 0xE000EDFC)
T1F7D8 000:265.727 CPU_ReadMem(4 bytes @ 0xE0001000)
T1F7D8 000:266.114 CPU_WriteMem(4 bytes @ 0xE0001000)
T1F7D8 000:266.364 CPU_ReadMem(4 bytes @ 0xE000ED88)
T1F7D8 000:266.626 CPU_WriteMem(4 bytes @ 0xE000ED88)
T1F7D8 000:266.876 CPU_ReadMem(4 bytes @ 0xE000ED88)
T1F7D8 000:267.131 CPU_WriteMem(4 bytes @ 0xE000ED88)
T1F7D8 000:276.568 CoreSight components:
T1F7D8 000:279.669 ROMTbl[0] @ E00FF000
T1F7D8 000:279.685 CPU_ReadMem(64 bytes @ 0xE00FF000)
T1F7D8 000:280.214 CPU_ReadMem(32 bytes @ 0xE000EFE0)
T1F7D8 000:283.806 [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
T1F7D8 000:283.821 CPU_ReadMem(32 bytes @ 0xE0001FE0)
T1F7D8 000:293.170 [0][1]: E0001000 CID B105E00D PID 003BB002 DWT
T1F7D8 000:293.189 CPU_ReadMem(32 bytes @ 0xE0002FE0)
T1F7D8 000:296.922 [0][2]: E0002000 CID B105E00D PID 002BB003 FPB
T1F7D8 000:296.939 CPU_ReadMem(32 bytes @ 0xE0000FE0)
T1F7D8 000:300.986 [0][3]: E0000000 CID B105E00D PID 003BB001 ITM
T1F7D8 000:301.005 CPU_ReadMem(32 bytes @ 0xE0040FE0)
T1F7D8 000:309.133 [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU
T1F7D8 000:309.151 CPU_ReadMem(32 bytes @ 0xE0041FE0)
T1F7D8 000:312.479 [0][5]: E0041000 CID 00000000 PID 00000000 ???
T1F7D8 000:312.527 pIdData->ScanLen=9
T1F7D8 000:312.535
T1F7D8 000:312.539 pIdData->NumDevices=2
T1F7D8 000:312.545
T1F7D8 000:312.548 pIdData->aId[0]=0x4BA00477
T1F7D8 000:312.554
T1F7D8 000:312.557 pIdData->aIrRead[0]=0
T1F7D8 000:312.563
T1F7D8 000:312.566 pIdData->aScanLen[0]=0
T1F7D8 000:312.572
T1F7D8 000:312.575 pIdData->aScanRead[0]=0
T1F7D8 000:312.581
T1F7D8 000:312.584 - 128.890ms
T1F7D8 000:312.602 JLINK_JTAG_GetDeviceID(DeviceIndex = 0)
T1F7D8 000:312.607 - 0.007ms returns 1268778103
T1F7D8 000:312.613 JLINK_JTAG_GetDeviceInfo(DeviceIndex = 0)
T1F7D8 000:312.617 - 0.006ms returns 0
T1F7D8 000:312.621 JLINK_JTAG_GetDeviceID(DeviceIndex = 1)
T1F7D8 000:312.625 - 0.005ms returns 2030045091
T1F7D8 000:312.630 JLINK_JTAG_GetDeviceInfo(DeviceIndex = 1)
T1F7D8 000:312.634 - 0.005ms returns 1
T1F7D8 000:312.642 JLINK_GetDLLVersion()
T1F7D8 000:312.646 - 0.005ms returns 75801
T1F7D8 000:312.689 JLINK_CORE_GetFound()
T1F7D8 000:312.696 - 0.008ms returns 0xE0000FF
T1F7D8 000:312.701 JLINK_GetDebugInfo(0x100 = JLINKARM_ROM_TABLE_ADDR_INDEX)
T1F7D8 000:312.755 Value=0xE00FF000
T1F7D8 000:312.761 - 0.062ms returns 0
T1F7D8 000:315.918 JLINK_GetDebugInfo(0x100 = JLINKARM_ROM_TABLE_ADDR_INDEX)
T1F7D8 000:315.930 Value=0xE00FF000
T1F7D8 000:315.936 - 0.020ms returns 0
T1F7D8 000:315.941 JLINK_GetDebugInfo(0x101 = JLINKARM_DEBUG_INFO_ETM_ADDR_INDEX)
T1F7D8 000:315.946 Value=0x00000000
T1F7D8 000:315.951 - 0.011ms returns 0
T1F7D8 000:315.956 JLINK_ReadMemEx(0xE0041FF0, 0x10 Bytes, Flags = 0x02000004)
T1F7D8 000:315.987 CPU_ReadMem(16 bytes @ 0xE0041FF0)
T1F7D8 000:316.405 Data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
T1F7D8 000:316.420 - 0.466ms returns 16 (0x10)
T1F7D8 000:316.429 JLINK_GetDebugInfo(0x102 = JLINKARM_DEBUG_INFO_MTB_ADDR_INDEX)
T1F7D8 000:316.435 Value=0x00000000
T1F7D8 000:316.441 - 0.014ms returns 0
T1F7D8 000:316.447 JLINK_GetDebugInfo(0x103 = JLINKARM_DEBUG_INFO_TPIU_ADDR_INDEX)
T1F7D8 000:316.452 Value=0xE0040000
T1F7D8 000:316.458 - 0.013ms returns 0
T1F7D8 000:316.463 JLINK_GetDebugInfo(0x104 = JLINKARM_DEBUG_INFO_ITM_ADDR_INDEX)
T1F7D8 000:316.468 Value=0xE0000000
T1F7D8 000:316.474 - 0.013ms returns 0
T1F7D8 000:316.480 JLINK_GetDebugInfo(0x105 = JLINKARM_DEBUG_INFO_DWT_ADDR_INDEX)
T1F7D8 000:316.484 Value=0xE0001000
T1F7D8 000:316.490 - 0.012ms returns 0
T1F7D8 000:316.496 JLINK_GetDebugInfo(0x106 = JLINKARM_DEBUG_INFO_FPB_ADDR_INDEX)
T1F7D8 000:316.500 Value=0xE0002000
T1F7D8 000:316.506 - 0.012ms returns 0
T1F7D8 000:316.512 JLINK_GetDebugInfo(0x107 = JLINKARM_DEBUG_INFO_NVIC_ADDR_INDEX)
T1F7D8 000:316.516
资源文件列表:
gd32modbus通讯.zip 大约有248个文件