在STM32上实现的操作系统

  • Z8_154170
    了解作者
  • 7.9MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-26 03:13
    上传日期
在STM32平台实现的操作系统最简单的操作系统 实现任务调度 想学习操作系统的有福气了
SHIOSV12能计算CPU利用率能检查任务堆栈溢出能自动进行任务切好和任务的挂起和恢复,但是Systick的优先级必须设成0,还不知道为什么.zip
内容介绍
T1434 000:090 SEGGER J-Link V4.62 Log File (0001ms, 0089ms total) T1434 000:090 DLL Compiled: Jan 25 2013 15:19:47 (0002ms, 0090ms total) T1434 000:090 Logging started @ 2016-10-26 10:28 (0002ms, 0090ms total) T1434 000:092 JLINK_SetWarnOutHandler(...) (0000ms, 0090ms total) T1434 000:092 JLINK_OpenEx(...) Firmware: J-Link ARM V8 compiled Nov 14 2012 22:34:52 Hardware: V8.00 S/N: 99999994 Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFULL returns O.K. (0035ms, 0125ms total) T1434 000:127 JLINK_SetErrorOutHandler(...) (0000ms, 0125ms total) T1434 000:127 JLINK_ExecCommand("ProjectFile = "F:\32\OS代码迭代\SHIOS\MDK-ARM\JLinkSettings.ini"", ...) returns 0x00 (0001ms, 0126ms total) T1434 000:128 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 (0004ms, 0130ms total) T1434 000:132 JLINK_ExecCommand("DisableConnectionTimeout", ...) returns 0x00 (0000ms, 0130ms total) T1434 000:132 JLINK_TIF_Select(JLINKARM_TIF_SWD) returns 0x00 (0001ms, 0131ms total) T1434 000:133 JLINK_SetSpeed(2000) (0001ms, 0132ms total) T1434 000:134 JLINK_GetHardwareVersion() returns 0x13880 (0000ms, 0132ms total) T1434 000:134 JLINK_GetDLLVersion() returns 46200 (0000ms, 0132ms total) T1434 000:134 JLINK_GetFirmwareString(...) (0000ms, 0132ms total) T1434 000:145 JLINK_GetDLLVersion() returns 46200 (0000ms, 0132ms total) T1434 000:145 JLINK_GetCompileDateTime() (0000ms, 0132ms total) T1434 000:147 JLINK_GetFirmwareString(...) (0001ms, 0133ms total) T1434 000:150 JLINK_GetHardwareVersion() returns 0x13880 (0000ms, 0133ms total) T1434 000:158 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> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 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> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 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> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF>TPIU fitted.ETM fitted. >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF>FPUnit: 6 code (BP) slots and 2 literal slots >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 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> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> >0x0D TIF> >0x21 TIF>Found Cortex-M3 r1p1, Little endian. >0x0D TIF> >0x21 TIF> returns 0x1BA01477 (0061ms, 0194ms total) T1434 000:219 JLINK_GetDeviceFamily() returns 3 (0000ms, 0194ms total) T1434 000:219 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 (0001ms, 0195ms total) T1434 000:220 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, 0196ms total) T1434 000:221 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, 0197ms total) T1434 000:222 JLINK_ReadMemU32(0xE000ED00, 0x0001 Items, ...) -- CPU is running -- CPU_ReadMem(4 bytes @ 0xE000ED00) -- Data: 31 C2 1F 41 returns 0x01 (0001ms, 0198ms total) T1434 000:223 JLINK_SetResetType(JLINKARM_RESET_TYPE_NORMAL) returns JLINKARM_RESET_TYPE_NORMAL (0000ms, 0198ms total) T1434 000:223 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) (0020ms, 0218ms total) T1434 000:243 JLINK_ReadReg(R15) returns 0x08001F40 (0000ms, 0218ms total) T1434 000:243 JLINK_ReadReg(XPSR) returns 0x01000000 (0000ms, 0218ms total) T1434 000:243 JLINK_Halt() returns 0x00 (0000ms, 0218ms total) T1434 000:243 JLINK_IsHalted() returns TRUE (0000ms, 0218ms total) T1434 000:243 JLINK_ReadMemU32(0xE000EDF0, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000EDF0) -- Data: 03 00 03 00 returns 0x01 (0001ms, 0219ms total) T1434 000:244 JLINK_WriteU32(0xE000EDF0, 0xA05F0003) -- CPU_WriteMem(4 bytes @ 0xE000EDF0) returns 0x00 (0001ms, 0220ms total) T1434 000:245 JLINK_WriteU32(0xE000EDFC, 0x01000000) -- CPU_WriteMem(4 bytes @ 0xE000EDFC) returns 0x00 (0001ms, 0221ms total) T1434 000:247 JLINK_GetHWStatus(...) returns 0x00 (0000ms, 0221ms total) T1434 000:247 JLINK_GetNumBPUnits(Type = 0xFFFFFF00) returns 0x06 (0000ms, 0221ms total) T1434 000:248 JLINK_GetNumBPUnits(Type = 0xF0) returns 0x2000 (0000ms, 0221ms total) T1434 000:248 JLINK_GetNumWPUnits() returns 0x04 (0000ms, 0221ms total) T1434 000:248 JLINK_GetSpeed() returns 0x7D0 (0000ms, 0221ms total) T1434 000:249 JLINK_ReadMemU32(0xE000E004, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000E004) -- Data: 01 00 00 00 returns 0x01 (0001ms, 0222ms total) T1434 000:250 JLINK_ReadMemU32(0xE000E004, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE000E004) -- Data: 01 00 00 00 returns 0x01 (0001ms, 0223ms total) T1434 000:251 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, 0224ms total) T1434 000:252 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, 0225ms total) T1434 000:253 JLINK_ReadReg(R15) returns 0x08001F40 (0000ms, 0225ms total) T1434 000:253 JLINK_ReadReg(XPSR) returns 0x01000000 (0000ms, 0225ms total) T1434 000:253 JLINK_WriteU32(0xE0041FB0, 0xC5ACCE55) -- CPU_WriteMem(4 bytes @ 0xE0041FB0) returns 0x00 (0001ms, 0226ms total) T1434 000:254 JLINK_ReadMemU32(0xE0041000, 0x0001 Items, ...) -- CPU_ReadMem(4 bytes @ 0xE0041000) -- Data: 01 00 00 00 returns 0x01 (0001ms, 0227ms total) T1434 000:255 JLINK_WriteU32(0xE0041000, 0x00000000) -- CPU_WriteMem(4 bytes @ 0xE0041000) returns 0x00 (0001ms, 0228ms total) T1434 000:261 JLINK_SWO_Control(JLINKARM_SWO_CMD_GET_SPEED_INFO, ...) returns 0x00 (0000ms, 0228ms total) T1434 000:261 JLINK_SWO_Control(JLINKARM_SWO_CMD_STOP, ...) returns 0x00 (0000ms, 0228ms total) T1434 000:262 JLINK_SWO_Control(JLINKARM_SWO_CMD_START, ...) -- UART -- 6000000bps -- CPU_ReadMem(4 bytes @ 0xE0042004) returns 0x00 (0002ms, 0231ms total) T1434 000:264 JLINK_WriteU32(0xE0040004, 0x00000001) -- CPU_WriteMem(4 bytes @ 0xE0040004) returns 0x00 (0001ms, 0232ms total) T1434 000:266 JLINK_WriteU32(0xE0040010, 0x0000000B) -- CPU_WriteMem(4 bytes @ 0xE0040010) returns 0x00 (0001ms, 0233ms total) T1434 000:267 JLINK_W
评论
    相关推荐