• seikechen
    了解作者
  • C/C++
    开发工具
  • 2.3MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 10 积分
    下载积分
  • 15
    下载次数
  • 2017-08-02 12:38
    上传日期
(1)控制步进电机正传或者反转 (2)简易定位电机现在的位置 (3)自动还原到原来位置 (4)实验平台:stm32+28BYJ-48不经电机
步进电机_pos.zip
  • 步进电机_pos
  • SYSTEM
  • delay
  • delay.h
    1.5KB
  • delay.c
    4.9KB
  • usart
  • usart.h
    1.3KB
  • usart.c
    5.1KB
  • sys
  • sys.c
    616B
  • sys.h
    2.6KB
  • STM32F10x_FWLib
  • inc
  • stm32f10x_dac.h
    14.9KB
  • stm32f10x_pwr.h
    4.3KB
  • stm32f10x_flash.h
    24.8KB
  • stm32f10x_exti.h
    6.7KB
  • stm32f10x_fsmc.h
    26.4KB
  • stm32f10x_bkp.h
    7.4KB
  • stm32f10x_dma.h
    20.3KB
  • stm32f10x_i2c.h
    29.3KB
  • stm32f10x_usart.h
    16.2KB
  • stm32f10x_iwdg.h
    3.7KB
  • misc.h
    8.8KB
  • stm32f10x_gpio.h
    19.7KB
  • stm32f10x_spi.h
    17.3KB
  • stm32f10x_tim.h
    51.2KB
  • stm32f10x_sdio.h
    21.4KB
  • stm32f10x_can.h
    26.9KB
  • stm32f10x_dbgmcu.h
    3.7KB
  • stm32f10x_adc.h
    21.2KB
  • stm32f10x_wwdg.h
    2.9KB
  • stm32f10x_rcc.h
    29.7KB
  • stm32f10x_rtc.h
    3.8KB
  • stm32f10x_cec.h
    6.4KB
  • stm32f10x_crc.h
    2.1KB
  • src
  • stm32f10x_rcc.c
    50.1KB
  • stm32f10x_cec.c
    11.4KB
  • stm32f10x_gpio.c
    22.7KB
  • stm32f10x_rtc.c
    8.4KB
  • stm32f10x_usart.c
    37.4KB
  • stm32f10x_dbgmcu.c
    5KB
  • stm32f10x_pwr.c
    8.6KB
  • stm32f10x_tim.c
    106.6KB
  • stm32f10x_flash.c
    61.1KB
  • stm32f10x_spi.c
    29.5KB
  • stm32f10x_fsmc.c
    34.7KB
  • stm32f10x_adc.c
    46.1KB
  • stm32f10x_bkp.c
    8.3KB
  • stm32f10x_crc.c
    3.3KB
  • stm32f10x_dma.c
    28.9KB
  • stm32f10x_sdio.c
    28.3KB
  • stm32f10x_dac.c
    18.6KB
  • stm32f10x_wwdg.c
    5.6KB
  • misc.c
    6.9KB
  • stm32f10x_exti.c
    6.8KB
  • stm32f10x_can.c
    44KB
  • stm32f10x_iwdg.c
    4.8KB
  • stm32f10x_i2c.c
    44.7KB
  • OBJ
  • delay.d
    656B
  • pwm.crf
    263.4KB
  • PWM.hex
    16.7KB
  • stm32f10x_usart.crf
    267.9KB
  • stm32f10x_rcc.d
    753B
  • main.d
    651B
  • misc.d
    618B
  • delay.crf
    263.3KB
  • PWM.sct
    479B
  • led.crf
    262.9KB
  • stm32f10x_it.crf
    261.8KB
  • system_stm32f10x.crf
    263.5KB
  • main.crf
    263.3KB
  • main.o
    279.9KB
  • stm32f10x_it.d
    668B
  • sys.d
    585B
  • system_stm32f10x.o
    277.7KB
  • core_cm3.d
    109B
  • usart.crf
    267.9KB
  • stm32f10x_rcc.o
    288.1KB
  • misc.o
    277.5KB
  • stm32f10x_it.o
    277.8KB
  • stm32f10x_tim.crf
    284KB
  • startup_stm32f10x_hd.o
    6.7KB
  • led.d
    624B
  • startup_stm32f10x_hd.d
    63B
  • stepper.crf
    264.9KB
  • stm32f10x_tim.d
    753B
  • stm32f10x_rcc.crf
    269.3KB
  • pwm.o
    280.4KB
  • stm32f10x_gpio.o
    283.7KB
  • system_stm32f10x.d
    681B
  • PWM.htm
    56.5KB
  • PWM_Target 1.dep
    14KB
  • pwm.d
    655B
  • PWM.lnp
    541B
  • PWM.axf
    290.8KB
  • PWM.build_log.htm
    2KB
  • usart.d
    722B
内容介绍
T2F5C 000:351 SEGGER J-Link V4.91b (beta) Log File (0000ms, 0285ms total) T2F5C 000:351 DLL Compiled: Sep 15 2014 09:17:56 (0000ms, 0285ms total) T2F5C 000:351 Logging started @ 2016-01-30 16:47 (0000ms, 0285ms total) T2F5C 000:351 JLINK_SetWarnOutHandler(...) (0000ms, 0285ms total) T2F5C 000:351 JLINK_OpenEx(...) Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46 Hardware: V8.00 S/N: 17935099 Feature(s): RDI,FlashDL,FlashBP,JFlash returns O.K. (0278ms, 0563ms total) T2F5C 000:630 JLINK_SetErrorOutHandler(...) (0000ms, 0563ms total) T2F5C 000:630 JLINK_ExecCommand("ProjectFile = "C:\Users\Administrator\Desktop\ALIENTEK MINISTM32 实验8 PWM输出实验\USER\JLinkSettings.ini"", ...) returns 0x00 (0001ms, 0564ms total) T2F5C 000:656 JLINK_ExecCommand("Device = STM32F103RC", ...)Device "STM32F103RC" selected (256 KB flash, 48 KB RAM). returns 0x00 (0005ms, 0569ms total) T2F5C 000:661 JLINK_ExecCommand("DisableConnectionTimeout", ...) returns 0x01 (0000ms, 0569ms total) T2F5C 000:661 JLINK_GetHardwareVersion() returns 0x13880 (0000ms, 0569ms total) T2F5C 000:661 JLINK_GetDLLVersion() returns 49102 (0001ms, 0570ms total) T2F5C 000:662 JLINK_GetFirmwareString(...) (0000ms, 0570ms total) T2F5C 000:684 JLINK_GetDLLVersion() returns 49102 (0000ms, 0570ms total) T2F5C 000:684 JLINK_GetCompileDateTime() (0000ms, 0570ms total) T2F5C 000:689 JLINK_GetFirmwareString(...) (0000ms, 0570ms total) T2F5C 000:691 JLINK_GetHardwareVersion() returns 0x13880 (0000ms, 0570ms total) T2F5C 000:700 JLINK_TIF_Select(JLINKARM_TIF_SWD) returns 0x00 (0002ms, 0572ms total) T2F5C 000:702 JLINK_SetSpeed(10000) (0000ms, 0572ms total) T2F5C 000:702 JLINK_GetId() >0x108 TIF>Found SWD-DP with ID 0x1BA01477 >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x108 TIF>Found SWD-DP with ID 0x1BA01477 >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF>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 @ 0xE000ED88) -- CPU_WriteMem(4 bytes @ 0xE000ED88) -- CPU_ReadMem(4 bytes @ 0xE000ED88) -- CPU_WriteMem(4 bytes @ 0xE000ED88) -- CPU_ReadMem(4 bytes @ 0xE00FF010)TPIU fitted. -- CPU_ReadMem(4 bytes @ 0xE00FF014)ETM fitted. -- CPU_ReadMem(4 bytes @ 0xE00FF018) >0x0D TIF> >0x21 TIF> returns 0x1BA01477 (0067ms, 0639ms total) T2F5C 000:769 JLINK_GetDeviceFamily() returns 3 (0000ms, 0639ms total) T2F5C 000:772 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 (0000ms, 0639ms total) T2F5C 000:772 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 (0001ms, 0640ms total) T2F5C 000:773 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 (0001ms, 0641ms total) T2F5C 000:774 JLINK_ReadMemU32(0xE000ED00, 0x0001 Items, ...) -- CPU is running -- CPU_ReadMem(4 bytes @ 0xE000ED00) - Data: 31 C2 1F 41 returns 0x01 (0001ms, 0642ms total) T2F5C 000:775 JLINK_SetResetType(JLINKARM_RESET_TYPE_NORMAL) returns JLINKARM_RESET_TYPE_NORMAL (0000ms, 0642ms total) T2F5C 000:775 JLINK_Reset() -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE000EDF0) -- CPU is running -- CPU_WriteMem(4 bytes @ 0xE000EDFC) >0x35 TIF> -- 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) -- CPU_WriteMem(4 bytes @ 0xE0002000) -- CPU_ReadMem(4 bytes @ 0xE000EDFC) -- CPU_ReadMem(4 bytes @ 0xE0001000) (0019ms, 0661ms total) T2F5C 000:794 JLINK_Halt() returns 0x00 (0000ms, 0661ms total) T2F5C 000:794 JLINK_IsHalted() returns TRUE (0000ms, 0661ms total) T2F5C 000:794 JLINK_ReadMemU32(0xE000EDF0, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000EDF0) - Data: 03 00 03 00 returns 0x01 (0000ms, 0661ms total) T2F5C 000:794 JLINK_WriteU32(0xE000EDF0, 0xA05F0003) -- CPU_WriteMem(4 bytes @ 0xE000EDF0) returns 0x00 (0001ms, 0662ms total) T2F5C 000:795 JLINK_WriteU32(0xE000EDFC, 0x01000000) -- CPU_WriteMem(4 bytes @ 0xE000EDFC) returns 0x00 (0001ms, 0663ms total) T2F5C 000:808 JLINK_GetHWStatus(...) returns 0x00 (0001ms, 0664ms total) T2F5C 000:816 JLINK_GetNumBPUnits(Type = 0xFFFFFF00) returns 0x06 (0000ms, 0664ms total) T2F5C 000:816 JLINK_GetNumBPUnits(Type = 0xF0) returns 0x2000 (0000ms, 0664ms total) T2F5C 000:816 JLINK_GetNumWPUnits() returns 0x04 (0000ms, 0664ms total) T2F5C 000:824 JLINK_GetSpeed() returns 0xFA0 (0000ms, 0664ms total) T2F5C 000:829 JLINK_ReadMemU32(0xE000E004, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000E004) - Data: 01 00 00 00 returns 0x01 (0001ms, 0665ms total) T2F5C 000:830 JLINK_ReadMemU32(0xE000E004, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000E004) - Data: 01 00 00 00 returns 0x01 (0001ms, 0666ms total) T2F5C 000:831 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 (0001ms, 0667ms total) T2F5C 000:832 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 (0001ms, 0668ms total) T2F5C 000:833 JLINK_Halt() returns 0x00 (0000ms, 0668ms total) T2F5C 000:833 JLINK_IsHalted() returns TRUE (0000ms, 0668ms total) T2F5C 000:835 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 (0003ms, 0671ms total) T2F5C 000:838 JLINK_WriteReg(R0, 0x08000000) returns 0x00 (0000ms, 0671ms total) T2F5C 000:838 JLINK_WriteReg(R1, 0x007A1200) returns 0x00 (0000ms, 0671ms total) T2F5C 000:838 JLINK_WriteReg(R2, 0x00000001) returns 0x00 (0000ms, 0671ms total) T2F5C 000:838 JLINK_WriteReg(R3, 0x00000000) returns 0x00 (0000ms, 0671ms total) T2F5C 000:838 JLINK_WriteReg(R4, 0x00000000) returns 0x00 (0000ms, 0671ms total) T2F5C 000:838 JLINK_WriteReg(R5, 0x00000000) returns 0x00 (0001ms, 0672ms total) T2F5C 000:839 JLINK_WriteReg(R6, 0x00000000) returns 0x00 (0000ms, 0672ms total) T2F5C 000:839 JLINK_WriteReg(R7, 0x00000000) returns 0x00 (0000ms, 0672ms total) T2F5C 000:839 JLINK_WriteReg(R8, 0x00000000) returns 0x00 (0000ms, 0672ms total) T2F5C 000:839 JLINK_WriteReg(R9, 0x20000160) returns 0x00 (0000ms, 0672ms total) T2F5C 000:839 JLINK_WriteReg(R10, 0x00000000) returns 0x00 (0000ms, 0672ms total) T2F5C 000:839 JLINK_WriteReg(R11, 0x00000000) returns 0x00 (0000ms, 0672ms total) T2F5C 000:839 JLINK_WriteReg(R12, 0x00000000) returns 0x00 (0000ms, 0672ms total) T2F5C 000:839 JLINK_WriteReg(R13 (SP), 0x20000800) returns 0x00 (0000ms, 0672ms total) T2F5C 000:839 JLINK_WriteReg(R14, 0x20000001) returns 0x00 (0000ms, 0672ms total) T2F5C 000:839 JLINK_Wr
评论
    相关推荐