虫虫首页|资源下载|资源专辑|精品软件|心愿单
m 登录|注册

STM32不完全手册 例程源码 29个

源代码在线查看: jlinklog.txt

软件大小: 5.41M 下载次数: 2
上传用户: lanjingbinglong
关键词: STM 32 完全手册 源码
下载地址: 电信下载 网通下载 移动下载 联通下载 VIP VIP

相关代码

					
					T098C 000:328 J-Link ARM DLL Log File (0001ms, 0325ms total)
					T098C 000:328 DLL Compiled: Jun 30 2009 19:10:31 (0001ms, 0325ms total)
					T098C 000:328 Logging started @ 2011-01-13 01:41 (0001ms, 0325ms total)
					T098C 000:329 JLINKARM_SetWarnOutHandler(...) (0000ms, 0326ms total)
					T098C 000:329 JLINKARM_OpenEx(...)Firmware: J-Link ARM V8 compiled May 20 2010 17:07:46 (0004ms, 0326ms total)
					T098C 000:329   returns O.K. (0084ms, 0326ms total)
					T098C 000:413 JLINKARM_SetErrorOutHandler(...) (0000ms, 0410ms total)
					T098C 000:413 JLINKARM_TIF_Select(JLINKARM_TIF_SWD)  returns 0x00 (0003ms, 0410ms total)
					T098C 000:418 JLINKARM_SetSpeed(10000) (0001ms, 0413ms total)
					T098C 000:420 JLINKARM_GetHardwareVersion()  returns 0x13880 (0000ms, 0414ms total)
					T098C 000:420 JLINKARM_GetDLLVersion()  returns 40802 (0000ms, 0414ms total)
					T098C 000:420 JLINKARM_GetFirmwareString(...) (0000ms, 0414ms total)
					T098C 000:425 JLINKARM_GetDLLVersion()  returns 40802 (0000ms, 0414ms total)
					T098C 000:425 JLINKARM_GetCompileDateTime() (0000ms, 0414ms total)
					T098C 000:428 JLINKARM_GetFirmwareString(...) (0000ms, 0414ms total)
					T098C 000:432 JLINKARM_GetHardwareVersion()  returns 0x13880 (0000ms, 0414ms total)
					T098C 000:439 JLINKARM_JTAG_StoreRaw(..., 0x108 Bits)  returns 0x00 (0000ms, 0414ms total)
					T098C 000:439 JLINKARM_JTAG_GetU32(BitPos = 227) >0x108 TIF>  returns 0x1BA01477 (0002ms, 0414ms total)
					T098C 000:441 JLINKARM_ReadMem (0xE00FF000, 0x0018 Bytes, ...) >0x108 TIF>Found SWD-DP with ID 0x1BA01477 >0x33 TIF> >0x33 TIF> >0x35 TIF> >0x33 TIF> >0x35 TIF> >0x33 TIF> >0x33 TIF> >0x35 TIF> >0x66 TIF> >0x66 TIF> >0x35 TIF> >0x16D TIF> >0xD0 TIF> >0xD0 TIF>TPIU fitted. >0xD0 TIF> >0xD0 TIF>  FPUnit: 6 code (BP) slots and 2 literal slots >0xD0 TIF> -- 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 (0044ms, 0416ms total)
					T098C 000:485 JLINKARM_ReadMemU32(0xE000ED00, 0x0001 Items, ...) -- CPU is running -- CPU_ReadMem(4 bytes @ 0xE000ED00) -- Data:  31 C2 1F 41  returns 0x01 (0001ms, 0460ms total)
					T098C 000:486 JLINKARM_Halt()  returns 0x00 (0005ms, 0461ms total)
					T098C 000:491 JLINKARM_IsHalted()  returns TRUE (0001ms, 0466ms total)
					T098C 000:492 JLINKARM_ReadMemU32(0xE000EDF0, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000EDF0) -- Data:  03 00 03 00  returns 0x01 (0003ms, 0466ms total)
					T098C 000:495 JLINKARM_WriteU32(0xE000EDF0, 0xA05F0003) -- CPU_WriteMem(4 bytes @ 0xE000EDF0)  returns 0x00 (0002ms, 0469ms total)
					T098C 000:497 JLINKARM_WriteU32(0xE000EDFC, 0x01000000) -- CPU_WriteMem(4 bytes @ 0xE000EDFC)  returns 0x00 (0002ms, 0471ms total)
					T098C 000:499 JLINKARM_ReadMemU32(0xE0002000, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE0002000) -- Data:  60 02 00 00  returns 0x01 (0002ms, 0473ms total)
					T098C 000:501 JLINKARM_ReadMemU32(0xE0001000, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE0001000) -- Data:  01 00 00 40  returns 0x01 (0002ms, 0475ms total)
					
					                JLINKARM_AddMirrorAreaEx(Addr = 0x00000000, Size = 0x00000000) (0000ms, 0000ms total)
					              JLINKARM_GetHWStatus(...)  returns 0x00 (0002ms, 0477ms total)
					T098C 000:509 JLINKARM_GetNumBPUnits(Type = 0xFFFFFF00) >0x108 TIF>Found SWD-DP with ID 0x1BA01477 >0x33 TIF> >0x33 TIF> >0x35 TIF> >0x33 TIF> >0x35 TIF> >0x33 TIF> >0x33 TIF> >0x35 TIF> >0x66 TIF> >0x66 TIF> >0x35 TIF> >0x16D TIF> >0xD0 TIF> >0xD0 TIF>TPIU fitted. >0xD0 TIF> >0xD0 TIF>  FPUnit: 6 code (BP) slots and 2 literal slots >0xD0 TIF>  returns 0x06 (0039ms, 0479ms total)
					T098C 000:548 JLINKARM_GetNumBPUnits(Type = 0xF0)  returns 0x800 (0000ms, 0518ms total)
					T098C 000:548 JLINKARM_GetNumWPUnits()  returns 0x04 (0000ms, 0518ms total)
					T098C 000:549 JLINKARM_GetSpeed()  returns 0x2580 (0000ms, 0518ms total)
					T098C 000:551 JLINKARM_ReadMemU32(0xE000E004, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000E004) -- Data:  01 00 00 00  returns 0x01 (0002ms, 0518ms total)
					T098C 000:553 JLINKARM_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, 0520ms total)
					T098C 000:555 JLINKARM_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, 0522ms total)
					T098C 000:557 JLINKARM_SetResetType(JLINKARM_RESET_TYPE_NORMAL)  returns JLINKARM_RESET_TYPE_NORMAL (0000ms, 0524ms total)
					T098C 000:557 JLINKARM_Reset() >0x108 TIF>Found SWD-DP with ID 0x1BA01477 >0x33 TIF> >0x33 TIF> >0x35 TIF> >0x33 TIF> >0x35 TIF> >0x33 TIF> >0x33 TIF> >0x35 TIF> >0x66 TIF> >0x66 TIF> >0x35 TIF> >0x16D TIF> >0xD0 TIF> >0xD0 TIF>TPIU fitted. >0xD0 TIF> >0xD0 TIF>  FPUnit: 6 code (BP) slots and 2 literal slots >0xD0 TIF> (0058ms, 0524ms total)
					T098C 000:615 JLINKARM_Halt()  returns 0x00 (0001ms, 0582ms total)
					T098C 000:616 JLINKARM_IsHalted()  returns TRUE (0001ms, 0583ms total)
					T098C 000:619 JLINKARM_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, 0583ms total)
					T098C 000:622 JLINKARM_ReadMem (0x20000000, 0x0164 Bytes, ...) -- CPU_ReadMem(384 bytes @ 0x20000000) -- Updating C cache (384 bytes @ 0x20000000) -- Read from C cache (356 bytes @ 0x20000000) -- Data:  00 BE 0A E0 0D 78 2D 06 68 40 08 24 40 00 00 D3 ...  returns 0x00 (0003ms, 0586ms total)
					T098C 000:625 JLINKARM_WriteReg(R0, 0x08000000)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R1, 0x007A1200)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R2, 0x00000001)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R3, 0x00000000)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R4, 0x00000000)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R5, 0x00000000)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R6, 0x00000000)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R7, 0x00000000)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R8, 0x00000000)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R9, 0x20000160)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R10, 0x00000000)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R11, 0x00000000)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R12, 0x00000000)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R13, 0x20000800)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R14, 0x20000001)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(R15, 0x20000038)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(XPSR, 0x01000000)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(MSP, 0x20000800)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(PSP, 0x20000800)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_WriteReg(CFBP, 0x00000000)  returns 0x00 (0000ms, 0589ms total)
					T098C 000:625 JLINKARM_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2) -- CPU_ReadMem(2 bytes @ 0x20000000)  returns 0x00000001 (0002ms, 0589ms total)
					T098C 000:627 JLINKARM_Go() -- CPU_WriteMem(2 bytes @ 0x20000000) -- CPU_WriteMem(4 bytes @ 0xE0002008) -- CPU_WriteMem(4 bytes @ 0xE000200C) -- CPU_WriteMem(4 bytes @ 0xE0002010) -- CPU_WriteMem(4 bytes @ 0xE0002014) -- CPU_WriteMem(4 bytes @ 0xE0002018) -- CPU_WriteMem(4 bytes @ 0xE000201C) (0017ms, 0591ms total)
					T098C 000:644 JLINKARM_IsHalted() -- CPU_ReadMem(2 bytes @ 0x20000000)  returns TRUE (0007ms, 0608ms total)
					T098C 000:651 JLINKARM_ReadReg(R15)  returns 0x20000000 (0000ms, 0608ms total)
					T098C 000:651 JLINKARM_ClrBPEx(BPHandle = 0x00000001)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:651 JLINKARM_ReadReg(R0)  returns 0x00000000 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R0, 0x08000000)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R1, 0x00000400)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R2, 0x000000FF)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R3, 0x00000000)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R4, 0x00000000)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R5, 0x00000000)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R6, 0x00000000)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R7, 0x00000000)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R8, 0x00000000)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R9, 0x20000160)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R10, 0x00000000)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R11, 0x00000000)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R12, 0x00000000)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R13, 0x20000800)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R14, 0x20000001)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(R15, 0x20000020)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(XPSR, 0x01000000)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(MSP, 0x20000800)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(PSP, 0x20000800)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_WriteReg(CFBP, 0x00000000)  returns 0x00 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)  returns 0x00000002 (0000ms, 0608ms total)
					T098C 000:652 JLINKARM_Go() -- CPU_WriteMem(4 bytes @ 0xE0002008) -- CPU_WriteMem(4 bytes @ 0xE000200C) -- CPU_WriteMem(4 bytes @ 0xE0002010) -- CPU_WriteMem(4 bytes @ 0xE0002014) -- CPU_WriteMem(4 bytes @ 0xE0002018) -- CPU_WriteMem(4 bytes @ 0xE000201C) (0013ms, 0608ms total)
					T098C 000:665 JLINKARM_IsHalted() -- CPU_ReadMem(2 bytes @ 0x20000000)  returns TRUE (0007ms, 0621ms total)
					T098C 000:672 JLINKARM_ReadReg(R15)  returns 0x20000000 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_ClrBPEx(BPHandle = 0x00000002)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_ReadReg(R0)  returns 0x00000001 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R0, 0x08000000)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R1, 0x00000400)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R2, 0x000000FF)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R3, 0x00000000)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R4, 0x00000000)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R5, 0x00000000)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R6, 0x00000000)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R7, 0x00000000)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R8, 0x00000000)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R9, 0x20000160)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R10, 0x00000000)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R11, 0x00000000)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R12, 0x00000000)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R13, 0x20000800)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R14, 0x20000001)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(R15, 0x200000B6)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(XPSR, 0x01000000)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(MSP, 0x20000800)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(PSP, 0x20000800)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_WriteReg(CFBP, 0x00000000)  returns 0x00 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_SetBPEx(Addr = 0x20000000, Type = 0xFFFFFFF2)  returns 0x00000003 (0000ms, 0621ms total)
					T098C 000:672 JLINKARM_Go() -- CPU_WriteMem(4 bytes @ 0xE0002008) -- CPU_WriteMem(4 bytes @ 0xE000200C) -- CPU_WriteMem(4 bytes @ 0xE0002010) -- CPU_WriteMem(4 bytes @ 0xE0002014) -- CPU_WriteMem(4 bytes @ 0xE0002018) -- CPU_WriteMem(4 bytes @ 0xE000201C) (0014ms, 0621ms total)
					T098C 000:686 JLINKARM_IsHalted()  returns FALSE (0001ms, 0635ms total)
					T098C 000:737 JLINKARM_IsHalted() -- CPU_ReadMem(2 bytes @ 0x20000000)  returns TRUE (0007ms, 0635ms total)
					T098C 000:744 JLINKARM_ReadReg(R15)  returns 0x20000000 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_ClrBPEx(BPHandle = 0x00000003)  returns 0x00 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_ReadReg(R0)  returns 0x00000000 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_WriteReg(R0, 0x08000400)  returns 0x00 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_WriteReg(R1, 0x00000400)  returns 0x00 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_WriteReg(R2, 0x000000FF)  returns 0x00 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_WriteReg(R3, 0x00000000)  returns 0x00 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_WriteReg(R4, 0x00000000)  returns 0x00 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_WriteReg(R5, 0x00000000)  returns 0x00 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_WriteReg(R6, 0x00000000)  returns 0x00 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_WriteReg(R7, 0x00000000)  returns 0x00 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_WriteReg(R8, 0x00000000)  returns 0x00 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_WriteReg(R9, 0x20000160)  returns 0x00 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_WriteReg(R10, 0x00000000)  returns 0x00 (0000ms, 0635ms total)
					T098C 000:744 JLINKARM_WriteReg(R11, 0x00000000)  returns 0x00 (0000ms, 0635ms total)
				

相关资源