T92FC 000:408 SEGGER J-Link V4.54a Log File (0001ms, 0273ms total)
T92FC 000:408 DLL Compiled: Sep 17 2012 15:58:45 (0001ms, 0273ms total)
T92FC 000:408 Logging started @ 2016-12-02 09:36 (0001ms, 0273ms total)
T92FC 000:409 JLINK_SetWarnOutHandler(...) (0000ms, 0273ms total)
T92FC 000:409 JLINK_OpenEx(...)
Firmware: J-Link V9 compiled Sep 18 2015 19:53:12
Hardware: V9.40
S/N: 85484346
Feature(s): GDB, RDI, FlashBP, FlashDL, JFlash, RDDI returns O.K. (0035ms, 0308ms total)
T92FC 000:444 JLINK_SetErrorOutHandler(...) (0000ms, 0308ms total)
T92FC 000:444 JLINK_ExecCommand("ProjectFile = "C:\Users\amo\Desktop\STM32F103-DualCDC-master\STM32F103-DualCDC-master\Project\DualCDC\MDK\JLinkSettings.ini"", ...) returns 0x00 (0000ms, 0308ms total)
T92FC 000:444 JLINK_ExecCommand("Device = STM32F103RC", ...)
JLINK_ExecCommand("map ram 0x20000000 - 0x2000BFFF", ...) returns 0x00 (0000ms, 0000ms total)
JLINK_AddMirrorAreaEx(Addr = 0x00000000, Size = 0x00000000) (0000ms, 0000ms total)
Device "STM32F103RC" selected (256 KB flash, 48 KB RAM). returns 0x00 (0002ms, 0310ms total)
T92FC 000:446 JLINK_ExecCommand("DisableConnectionTimeout", ...) returns 0x00 (0000ms, 0310ms total)
T92FC 000:446 JLINK_TIF_Select(JLINKARM_TIF_SWD) returns 0x00 (0005ms, 0315ms total)
T92FC 000:451 JLINK_SetSpeed(1000) (0001ms, 0316ms total)
T92FC 000:452 JLINK_GetHardwareVersion() returns 0x16F30 (0000ms, 0316ms total)
T92FC 000:452 JLINK_GetDLLVersion() returns 45401 (0000ms, 0316ms total)
T92FC 000:452 JLINK_GetFirmwareString(...) (0000ms, 0316ms total)
T92FC 000:452 JLINK_GetDLLVersion() returns 45401 (0000ms, 0316ms total)
T92FC 000:452 JLINK_GetCompileDateTime() (0000ms, 0316ms total)
T92FC 000:452 JLINK_GetFirmwareString(...) (0000ms, 0316ms total)
T92FC 000:452 JLINK_GetHardwareVersion() returns 0x16F30 (0000ms, 0316ms total)
T92FC 000:452 JLINK_SetResetType(JLINKARM_RESET_TYPE_NORMAL) returns JLINKARM_RESET_TYPE_NORMAL (0000ms, 0316ms total)
T92FC 000:452 JLINK_Reset() >0x108 TIF> >0x108 TIF>STM32F1xxx: Can not attach to CPU. Trying connect under reset. >0x108 TIF> >0x108 TIF>JLINK_GetId() >0x108 TIF> >0x108 TIF>STM32F1xxx: Can not attach to CPU. Trying connect under reset. >0x108 TIF> >0x108 TIF> returns 0x00000000 (0514ms, 1345ms total)
T92FC 001:481 JLINK_GetId() >0x108 TIF> >0x108 TIF>STM32F1xxx: Can not attach to CPU. Trying connect under reset. >0x108 TIF> >0x108 TIF> returns 0x00000000 (0515ms, 1860ms total)
T92FC 001:997 JLINK_GetFirmwareString(...) (0000ms, 1860ms total)
T9A44 001:997
Firmware: J-Link V9 compiled Sep 18 2015 19:53:12
Hardware: V9.40
S/N: 85484346
Feature(s): GDB, RDI, FlashBP, FlashDL, JFlash, RDDI
Firmware: J-Link V9 compiled Sep 18 2015 19:53:12
Hardware: V9.40
S/N: 85484346
Feature(s): GDB, RDI, FlashBP, FlashDL, JFlash, RDDIJLINK_SWO_Control(JLINKARM_SWO_CMD_GET_SPEED_INFO, ...) returns 0x00 (0002ms, 1862ms total)
T92FC 032:009 JLINK_SWO_Control(JLINKARM_SWO_CMD_GET_SPEED_INFO, ...) returns 0x00 (0002ms, 1864ms total)
T92FC 032:011 JLINK_SWO_Control(JLINKARM_SWO_CMD_GET_SPEED_INFO, ...) returns 0x00 (0002ms, 1866ms total)
T92FC 037:369 JLINK_Close() (0222ms, 2088ms total)
T92FC 037:591 JLINK_Close() (0001ms, 2089ms total)
T92FC 037:592 JLINK_Close() (0000ms, 2089ms total)
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
STM32F103 USB转双串口。使用CDC类。插上电脑后,会出来两个虚拟串口,如果提示找不到驱动,指定驱动路径到inf文件夹即可。 相比ST官方提供的只有1路串口的例程,方便了很多 用到的IO定义如下: 串口1:PA9和PA10 const GPIO_InitTypeDef TX1_pin = { GPIO_Pin_9, GPIO_Speed_50MHz, GPIO_Mode_AF_PP }; const GPIO_InitTypeDef RX1_pin = { GPIO_Pin_10, GPIO_Speed_50MHz, GPIO_Mode_IN_FLOATING }; 串口2:PA2和PA3 const GPIO_InitTypeDef TX2_pin = { GPIO_Pin_2, GPIO_Speed_50MHz, GPIO_Mode_AF_PP }; const GPIO_InitTypeDef RX2_pin = { GPIO_Pin_3, GPIO_Speed_50MHz, GPIO_Mode_IN_FLOATING }; USB使能脚:PC15 #define USB_DISCONNECT GPIOC #define USB_DISCONNECT_PIN GPIO_Pin_15 //GPIO_Pin_12 #define RCC_APB2Periph_GPIO_DISCONNECT RCC_APB2Periph_GPIOC 你可以根据自己板子的定义自行修改,修改办法是搜索上面这些宏定义,找到地方直接改掉并重新编译即可
资源推荐
资源详情
资源评论
收起资源包目录
STM32F103 USB转双串口 (116个子文件)
DualCDC.uvgui.amo 132KB
DualCDC.uvgui_amo.bak 134KB
DualCDC_uvproj.bak 27KB
DualCDC_uvopt.bak 26KB
stm32f10x_tim.c 100KB
stm32f10x_rcc.c 47KB
stm32f10x_adc.c 45KB
otgd_fs_cal.c 38KB
stm32f10x_i2c.c 36KB
stm32f10x_fsmc.c 33KB
stm32f10x_usart.c 33KB
usb_core.c 31KB
stm32f10x_can.c 30KB
system_stm32f10x.c 29KB
stm32f10x_spi.c 29KB
usb_regs.c 28KB
stm32f10x_sdio.c 27KB
stm32f10x_dma.c 27KB
stm32f10x_flash.c 25KB
otgd_fs_int.c 25KB
stm32f10x_gpio.c 18KB
core_cm3.c 16KB
otgd_fs_dev.c 13KB
stm32f10x_dac.c 13KB
usb_prop.c 13KB
otgd_fs_pcd.c 12KB
hw_config.c 11KB
usb_desc.c 9KB
stm32f10x_pwr.c 8KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
usb_istr.c 7KB
misc.c 7KB
stm32f10x_exti.c 6KB
usb_int.c 6KB
usb_pwr.c 5KB
stm32f10x_wwdg.c 5KB
stm32f10x_it.c 5KB
usb_sil.c 5KB
stm32f10x_iwdg.c 5KB
stm32f10x_dbgmcu.c 4KB
usb_mem.c 3KB
stm32f10x_crc.c 3KB
usb_init.c 3KB
main.c 3KB
usb_endp.c 1KB
STM32F1-vcom_x86.cat 6KB
STM32F1-vcom_amd64.cat 6KB
DualCDC_DualCDC.dep 42KB
License.doc 39KB
stm32f10x.h 572KB
core_cm3.h 44KB
stm32f10x_tim.h 43KB
otgd_fs_regs.h 30KB
usb_regs.h 30KB
stm32f10x_rcc.h 28KB
stm32f10x_fsmc.h 25KB
stm32f10x_sdio.h 21KB
stm32f10x_adc.h 20KB
stm32f10x_dma.h 20KB
stm32f10x_can.h 20KB
stm32f10x_flash.h 19KB
stm32f10x_spi.h 17KB
stm32f10x_i2c.h 17KB
stm32f10x_gpio.h 17KB
stm32f10x_usart.h 16KB
stm32f10x_dac.h 13KB
usb_core.h 9KB
otgd_fs_cal.h 9KB
misc.h 8KB
usb_conf.h 8KB
stm32f10x_bkp.h 7KB
stm32f10x_exti.h 6KB
otgd_fs_dev.h 5KB
stm32f10x_pwr.h 4KB
usb_istr.h 4KB
stm32f10x_rtc.h 4KB
stm32f10x_iwdg.h 4KB
otgd_fs_pcd.h 4KB
stm32f10x_conf.h 3KB
usb_prop.h 3KB
stm32f10x_dbgmcu.h 3KB
usb_desc.h 3KB
usb_type.h 3KB
stm32f10x_wwdg.h 3KB
usb_def.h 3KB
otgd_fs_int.h 2KB
usb_init.h 2KB
system_stm32f10x.h 2KB
stm32f10x_it.h 2KB
usb_pwr.h 2KB
usb_lib.h 2KB
stm32f10x_crc.h 2KB
usb_sil.h 2KB
usb_mem.h 2KB
usb_int.h 2KB
hw_config.h 1KB
CMSIS_Core.htm 50KB
STM32F1-vcom.inf 2KB
JLinkSettings.ini 578B
共 116 条
- 1
- 2
资源评论
家猫戏很足
- 粉丝: 0
- 资源: 15
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功