• chaoqiang
    了解作者
  • Others
    开发工具
  • 5.5MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 5
    下载次数
  • 2017-06-29 01:06
    上传日期
MODBUS 实现用DMA方式传输串口数据
dma usart.rar
  • dma usart
  • listing
  • dma-usart.map
    105.2KB
  • dma.map
    70.5KB
  • startup_stm32f10x_hd.lst
    52KB
  • lib_driver
  • dma.h
    57B
  • usart.h
    131B
  • time.c
    1.5KB
  • usart.c
    2KB
  • time.h
    71B
  • dma.c
    3.2KB
  • cmsis
  • startup
  • startup_stm32f10x_hd.s
    15.1KB
  • core_cm3.c
    16.9KB
  • core_cm3.h
    83.7KB
  • system_stm32f10x.h
    2KB
  • system_stm32f10x.c
    35.7KB
  • stm32f10x.h
    619.1KB
  • user
  • stm32f10x_it.c
    6.8KB
  • main.c
    2.2KB
  • dma-usart.uvproj
    23.8KB
  • JLinkSettings.ini
    650B
  • dma-usart_uvopt.bak
    30.6KB
  • dma-usart_uvproj.bak
    23.6KB
  • dma-usart_dma-usart.dep
    69.8KB
  • JLinkLog.txt
    95.7KB
  • dma-usart.build_log.htm
    196B
  • dma-usart.uvgui_Administrator.bak
    151.9KB
  • dma-usart.uvgui.Administrator
    151.9KB
  • dma_dma.dep
    49.5KB
  • stm32f10x_conf.h
    3.2KB
  • dma.uvproj
    0B
  • dma-usart.uvopt
    30.6KB
  • system_stm32f10x.c
    35.7KB
  • dma.build_log.htm
    2.1KB
  • stm32f10x_it.h
    2KB
  • MODBUS
  • modbus.c
    4.1KB
  • mbrtu.c
    12.3KB
  • mbconfig.h
    5.5KB
  • mb.h
    19.3KB
  • port.h
    1.7KB
  • mbcrc.c
    5.4KB
  • mbfuncdiag.c
    1.6KB
  • mbrtu.h
    2.3KB
  • mbfuncother.c
    3.5KB
  • mbcrc.h
    1.7KB
  • mbfuncholding.c
    11.9KB
  • mbutils.c
    5KB
  • mbport.h
    4.8KB
  • mbfunc.h
    3KB
  • mbproto.h
    3.6KB
  • portevent.c
    1.7KB
  • mbframe.h
    3.7KB
  • port.c
    1.4KB
  • mbfuncdisc.c
    4.5KB
  • mbfuncinput.c
    4.7KB
  • mb.c
    12.2KB
  • mbutils.h
    4.1KB
  • portserial.c
    3.5KB
  • modbus_data.h
    599B
  • mbfunccoils.c
    9.7KB
  • porttimer.c
    3.8KB
  • output
  • stm32f10x_exti.o
    371.3KB
  • mbfuncdisc.o
    26.1KB
  • stm32f10x_rcc.o
    381KB
  • stm32f10x_rtc.d
    1.7KB
  • dma.crf
    341KB
  • stm32f10x_rtc.crf
    341KB
  • stm32f10x_dbgmcu.o
    369.6KB
  • mbutils.o
    24.1KB
  • mbfuncdiag.crf
    18B
  • stm32f10x_iwdg.o
    370.2KB
  • mbfuncholding.crf
    24.9KB
  • portserial.o
    382.4KB
  • mbcrc.o
    16.6KB
  • usart.d
    1.7KB
  • system_stm32f10x.o
    370.9KB
  • dma-usart.sct
    479B
  • stm32f10x_dma.o
    374KB
  • stm32f10x_fsmc.o
    376.8KB
  • mb.d
    1.9KB
  • time.crf
    339.8KB
  • stm32f10x_exti.d
    1.8KB
  • stm32f10x_dac.d
    1.7KB
  • mbutils.crf
    21.4KB
  • core_cm3.crf
    3.5KB
  • stm32f10x_crc.crf
    339.7KB
  • mbfuncinput.crf
    22.3KB
  • modbus.o
    383.8KB
  • usart.o
    375.9KB
  • modbus.crf
    353KB
  • porttimer.d
    1.9KB
  • mbfuncdisc.crf
    22.3KB
  • porttimer.o
    380.4KB
  • stm32f10x_cec.crf
    341.6KB
内容介绍
T1778 000:493 SEGGER J-Link V4.80g Log File (0001ms, 0294ms total) T1778 000:493 DLL Compiled: Feb 13 2014 20:50:02 (0001ms, 0294ms total) T1778 000:493 Logging started @ 2016-07-24 00:14 (0001ms, 0294ms total) T1778 000:494 JLINK_SetWarnOutHandler(...) (0000ms, 0294ms total) T1778 000:494 JLINK_OpenEx(...) Firmware: J-Link ARM V8 compiled Nov 25 2013 19:20:08 Hardware: V8.00 S/N: 270676280 Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFULL returns O.K. (0291ms, 0585ms total) T1778 000:785 JLINK_SetErrorOutHandler(...) (0000ms, 0585ms total) T1778 000:785 JLINK_ExecCommand("ProjectFile = "D:\桌面\项目\程序\usart MODBUS\usart DMA\dma usart\user\JLinkSettings.ini"", ...) returns 0x00 (0007ms, 0592ms total) T1778 000:807 JLINK_ExecCommand("Device = STM32F103VE", ...)Device "STM32F103VE" selected (512 KB flash, 64 KB RAM). returns 0x00 (0017ms, 0609ms total) T1778 000:824 JLINK_ExecCommand("DisableConnectionTimeout", ...) returns 0x01 (0000ms, 0609ms total) T1778 000:824 JLINK_GetHardwareVersion() returns 0x13880 (0000ms, 0609ms total) T1778 000:825 JLINK_GetDLLVersion() returns 48007 (0000ms, 0610ms total) T1778 000:825 JLINK_GetFirmwareString(...) (0000ms, 0610ms total) T1778 000:850 JLINK_GetDLLVersion() returns 48007 (0000ms, 0610ms total) T1778 000:850 JLINK_GetCompileDateTime() (0000ms, 0610ms total) T1778 000:856 JLINK_GetFirmwareString(...) (0000ms, 0610ms total) T1778 000:861 JLINK_GetHardwareVersion() returns 0x13880 (0000ms, 0610ms total) T1778 000:886 JLINK_TIF_Select(JLINKARM_TIF_JTAG) returns 0x00 (0010ms, 0620ms total) T1778 000:896 JLINK_SetSpeed(2000) (0002ms, 0622ms total) T1778 000:898 JLINK_GetIdData(...) >0x2F8 JTAG>TotalIRLen = 9, IRPrint = 0x0011 >0x30 JTAG> >0x210 JTAG> >0x40 JTAG> >0x40 JTAG> >0x40 JTAG> >0x30 JTAG> >0x40 JTAG> >0x40 JTAG> >0x40 JTAG> >0x40 JTAG> >0x40 JTAG> >0x40 JTAG> >0x40 JTAG> >0x40 JTAG> >0x2F8 JTAG>TotalIRLen = 9, IRPrint = 0x0011 >0x30 JTAG> >0x210 JTAG> >0x70 JTAG> >0x40 JTAG> >0x40 JTAG> >0x40 JTAG> >0x50 JTAG> >0x80 JTAG> >0x40 JTAG> >0x30 JTAG> >0x40 JTAG> >0x40 JTAG> >0x30 JTAG> >0x40 JTAG> >0x50 JTAG> Found Cortex-M3 r1p1, Little endian. -- CPU_WriteMem(4 bytes @ 0xE0002000) -- CPU_ReadMem(4 bytes @ 0xE000EDF0) -- CPU_ReadMem(4 bytes @ 0xE0002000)FPUnit: 6 code (BP) slots and 2 literal slots -- CPU_ReadMem(4 bytes @ 0xE000EDFC) -- CPU_ReadMem(4 bytes @ 0xE0001000) -- CPU_WriteMem(4 bytes @ 0xE0001000) -- CPU_ReadMem(4 bytes @ 0xE00FF010)TPIU fitted. -- CPU_ReadMem(4 bytes @ 0xE00FF014)ETM fitted. -- CPU_ReadMem(4 bytes @ 0xE00FF018) ScanLen=9 NumDevices=2 aId[0]=0x3BA00477 aIrRead[0]=0 aScanLen[0]=0 aScanRead[0]=0 (0131ms, 0753ms total) T1778 001:030 JLINK_JTAG_GetDeviceID(DeviceIndex = 0) returns 0x3BA00477 (0000ms, 0754ms total) T1778 001:030 JLINK_JTAG_GetDeviceInfo(DeviceIndex = 0) returns 0x00 (0000ms, 0754ms total) T1778 001:030 JLINK_JTAG_GetDeviceID(DeviceIndex = 1) returns 0x6414041 (0000ms, 0754ms total) T1778 001:030 JLINK_JTAG_GetDeviceInfo(DeviceIndex = 1) returns 0x00 (0000ms, 0754ms total) T1778 001:030 JLINK_GetDeviceFamily() returns 3 (0000ms, 0754ms total) T1778 001:038 JLINK_ReadMem (0xE00FFFF0, 0x0010 Bytes, ...) -- CPU is running -- CPU_ReadMem(16 bytes @ 0xE00FFFF0) -- Data: 0D 00 00 00 10 00 00 00 05 00 00 00 B1 00 00 00 returns 0x00 (0004ms, 0758ms total) T1778 001:042 JLINK_ReadMem (0xE00FFFD0, 0x0020 Bytes, ...) -- CPU is running -- CPU_ReadMem(32 bytes @ 0xE00FFFD0) -- Data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... returns 0x00 (0002ms, 0760ms total) T1778 001:044 JLINK_ReadMem (0xE00FF000, 0x0018 Bytes, ...) -- CPU is running -- 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, 0762ms total) T1778 001:046 JLINK_ReadMemU32(0xE000ED00, 0x0001 Items, ...) -- CPU is running -- CPU_ReadMem(4 bytes @ 0xE000ED00) -- Data: 31 C2 1F 41 returns 0x01 (0002ms, 0764ms total) T1778 001:048 JLINK_SetResetType(JLINKARM_RESET_TYPE_NORMAL) returns JLINKARM_RESET_TYPE_NORMAL (0000ms, 0764ms total) T1778 001:048 JLINK_Reset() -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE000EDF0) -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE000EDFC) -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE000ED0C) -- CPU is running -- CPU_ReadMem(4 bytes @ 0xE000EDF0) -- CPU is running -- CPU_ReadMem(4 bytes @ 0xE000EDF0) -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE000EDF0) -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE000EDFC) -- CPU is running -- CPU_ReadMem(4 bytes @ 0xE000EDF0) >0x80 JTAG> >0x40 JTAG> >0x30 JTAG> >0x40 JTAG> >0x50 JTAG> >0x40 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) -- CPU_WriteMem(4 bytes @ 0xE0002000) -- CPU_ReadMem(4 bytes @ 0xE000EDFC) -- CPU_ReadMem(4 bytes @ 0xE0001000) (0064ms, 0828ms total) T1778 001:112 JLINK_Halt() returns 0x00 (0000ms, 0828ms total) T1778 001:112 JLINK_IsHalted() returns TRUE (0000ms, 0828ms total) T1778 001:112 JLINK_ReadMemU32(0xE000EDF0, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000EDF0) -- Data: 03 00 03 00 returns 0x01 (0002ms, 0830ms total) T1778 001:114 JLINK_WriteU32(0xE000EDF0, 0xA05F0003) -- CPU_WriteMem(4 bytes @ 0xE000EDF0) returns 0x00 (0002ms, 0832ms total) T1778 001:116 JLINK_WriteU32(0xE000EDFC, 0x01000000) -- CPU_WriteMem(4 bytes @ 0xE000EDFC) returns 0x00 (0002ms, 0834ms total) T1778 001:135 JLINK_GetHWStatus(...) returns 0x00 (0002ms, 0837ms total) T1778 001:149 JLINK_GetNumBPUnits(Type = 0xFFFFFF00) returns 0x06 (0000ms, 0837ms total) T1778 001:149 JLINK_GetNumBPUnits(Type = 0xF0) returns 0x2000 (0000ms, 0837ms total) T1778 001:149 JLINK_GetNumWPUnits() returns 0x04 (0000ms, 0837ms total) T1778 001:168 JLINK_GetSpeed() returns 0x7D0 (0000ms, 0837ms total) T1778 001:179 JLINK_ReadMemU32(0xE000E004, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000E004) -- Data: 01 00 00 00 returns 0x01 (0002ms, 0839ms total) T1778 001:181 JLINK_ReadMemU32(0xE000E004, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000E004) -- Data: 01 00 00 00 returns 0x01 (0002ms, 0841ms total) T1778 001:183 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 (0002ms, 0843ms total) T1778 001:185 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, 0845ms total) T1778 001:187 JLINK_Halt() returns 0x00 (0000ms, 0845ms total) T1778 001:187 JLINK_IsHalted() returns TRUE (0000ms, 0845ms total) T1778 001:199 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 (0005ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R0, 0x08000000) returns 0x00 (0000ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R1, 0x007A1200) returns 0x00 (0000ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R2, 0x00000001) returns 0x00 (0000ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R3, 0x00000000) returns 0x00 (0000ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R4, 0x00000000) returns 0x00 (0000ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R5, 0x00000000) returns 0x00 (0000ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R6, 0x00000000) returns 0x00 (0000ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R7, 0x00000000) returns 0x00 (0000ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R8, 0x00000000) returns 0x00 (0000ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R9, 0x20000160) returns 0x00 (0000ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R10, 0x00000000) returns 0x00 (0000ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R11, 0x00000000) returns 0x00 (0000ms, 0850ms total) T1778 001:204 JLINK_WriteReg(R12, 0x00000000) returns 0x00 (0001ms, 0
评论
    相关推荐
    • USART_DMA.rar
      使用STM32CubeMX配置生成Keil4工程,实现串口接收不定长字符串
    • USART_DMA.rar
      用于STM32系列,串口接收DMA和发送DMA超详细注释,当时想去找个DMA串口接收浪费了挺多时间没有弄出来,为了以后方便再看一下吧
    • DMA_USART.zip
      在STM32中利用两个外部中断控制DMA的传输。DMA用于从USART2读取数据到内存,然后再由其将数据从内存发送至USART1。
    • STM32 USART DMA详细注释
      DMAUSART,有详细注释,很容易学会
    • 电子-usartdma.rar
      电子-usartdma.rar,单片机/嵌入式STM32-F0/F1/F2
    • USART_DMA.rar
      DMA,全称为: Direct Memory Access,即直接存储器访问。 DMA 传输方式无需 CPU 直接 控制传输,也没有中断处理方式那样保留现场和恢复现场的过程,通过硬件为 RAM 与 I/O 设备 开辟一条直接传送数据的通路, 能...
    • uasrt_dma_ receive重点.rar
      接受和发送串口都采用了DMA,大大减少了CPU的负担,非常好用,已经用在实际项目中。
    • USART1DMA.zip
      串口1,DMA方式 连续,超快速接收,项目中一测试。
    • DMA.rar
      APM32单片机DMA程序;替代STM32F030系列
    • SIM800C_MQTT.rar
      使用SIM800C模块,使用MQTT协议,连接中国移动onenet平台,能实现数据的订阅、发布、存储等