这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 综合技术 » 基础知识 » Keil,uVision3,UC,OS,II 如何用Keil uVision3来

共5条 1/1 1 跳转至

Keil,uVision3,UC,OS,II 如何用Keil uVision3来调试UC/OS-II的程序??

院士
2006-09-17 18:14:16     打赏
Keil,uVision3,UC,OS,II 如何用Keil uVision3来调试UC/OS-II的程序??



关键词: uVision3     何用     调试     OS-II     程序    

院士
2006-12-22 22:43:00     打赏
2楼


      我现在正在研究Keil uVision3,当我用它来调试UC/OS-II配来的程序时,结果有很多错误,部分错误是和头文件有关,我不知道该如何修改是好??
      请指教!!!! 1: 以下是我调试的错误,错误过多,请指教!!!以下是我调试的错误,错误过多,请指教!!!

compiling TEST.C...
..\SOFTWARE\uCOS-II\EX1_x86L\BC45\SOURCE\includes.h(17): error:  #5: CANnot open source input file "conio.h": No such file or directory
compiling PC.C...
..\SOFTWARE\BLOCKS\PC\BC45\PC.C(13): error:  #5: CANnot open source input file "includes.h": No such file or directory
compiling OS_CPU_C.C...
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_C.C(21): error:  #5: CANnot open source input file "includes.h": No such file or directory
assembling OS_CPU_A.ASM...
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(23): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(24): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(25): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(26): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(28): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(29): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(30): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(32): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(33): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(34): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(35): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(36): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(37): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(38): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(40): error: A1163E: Unknown opcode LARGE , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(41): error: A1167E: Invalid line start
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(42): error: A1167E: Invalid line start
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(43): error: A1163E: Unknown opcode PAGE , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(74): error: A1105E: Area directive missing
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(74): warning: A1088W: Faking declaration of area AREA |$$$$$$$|
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(74): error: A1429E: Expected register list
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(76): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(77): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(79): error: A1163E: Unknown opcode CALL , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(81): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(82): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(84): error: A1163E: Unknown opcode LES , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(85): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(86): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(88): error: A1215E: Bad register list symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(89): error: A1215E: Bad register list symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(90): error: A1163E: Unknown opcode POPA , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(92): error: A1163E: Unknown opcode IRET , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(94): error: A1108E: Multiply defined symbol '_OSStartHighRdy'
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(96): error: A1163E: Unknown opcode PAGE , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(128): error: A1429E: Expected register list
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(128): warning: A1488W: PROC/FUNC at line 74 without matching ENDP/ENDFUNC
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(130): error: A1163E: Unknown opcode PUSHA , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(131): error: A1215E: Bad register list symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(132): error: A1215E: Bad register list symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(134): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(135): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(137): error: A1163E: Unknown opcode LES , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(138): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(139): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(141): error: A1163E: Unknown opcode CALL , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(143): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(144): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(145): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(146): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(148): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(149): error: A1151E: Bad register name symbol
compiling uCOS_II.C...
..\SOFTWARE\uCOS-II\SOURCE\uCOS_II.C(15): error:  #5: CANnot open source input file "includes.h": No such file or directory
Target not created 2: 设置一下.h文件的路径啰在OPTIONS中设一下Include的路径 3: include文件添加进去后,剩下的错误?我原来用BC31调试的时候是要把汇编的编译器移到文件夹里的,在这里是不是也需要,那要怎么移呢?还有"conio.h"这个文件库文件里为什么没有??
Build target 'Target 1'
assembling Startup.s...
compiling TEST.C...
..\SOFTWARE\uCOS-II\EX1_x86L\BC45\SOURCE\includes.h(17): error:  #5: CANnot open source input file "conio.h": No such file or directory
compiling PC.C...
..\SOFTWARE\uCOS-II\EX1_x86L\BC45\SOURCE\includes.h(17): error:  #5: CANnot open source input file "conio.h": No such file or directory
compiling OS_CPU_C.C...
..\SOFTWARE\uCOS-II\EX1_x86L\BC45\SOURCE\includes.h(17): error:  #5: CANnot open source input file "conio.h": No such file or directory
assembling OS_CPU_A.ASM...
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(23): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(24): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(25): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(26): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(28): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(29): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(30): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(32): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(33): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(34): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(35): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(36): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(37): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(38): error: A1163E: Unknown opcode EXTRN , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(40): error: A1163E: Unknown opcode LARGE , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(41): error: A1167E: Invalid line start
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(42): error: A1167E: Invalid line start
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(43): error: A1163E: Unknown opcode PAGE , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(74): error: A1105E: Area directive missing
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(74): warning: A1088W: Faking declaration of area AREA |$$$$$$$|
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(74): error: A1429E: Expected register list
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(76): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(77): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(79): error: A1163E: Unknown opcode CALL , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(81): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(82): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(84): error: A1163E: Unknown opcode LES , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(85): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(86): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(88): error: A1215E: Bad register list symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(89): error: A1215E: Bad register list symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(90): error: A1163E: Unknown opcode POPA , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(92): error: A1163E: Unknown opcode IRET , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(94): error: A1108E: Multiply defined symbol '_OSStartHighRdy'
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(96): error: A1163E: Unknown opcode PAGE , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(128): error: A1429E: Expected register list
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(128): warning: A1488W: PROC/FUNC at line 74 without matching ENDP/ENDFUNC
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(130): error: A1163E: Unknown opcode PUSHA , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(131): error: A1215E: Bad register list symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(132): error: A1215E: Bad register list symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(134): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(135): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(137): error: A1163E: Unknown opcode LES , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(138): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(139): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(141): error: A1163E: Unknown opcode CALL , expecting opcode or Macro
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(143): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(144): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(145): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(146): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(148): error: A1151E: Bad register name symbol
..\SOFTWARE\uCOS-II\Ix86L\BC45\OS_CPU_A.ASM(149): error: A1151E: Bad register name symbol
compiling uCOS_II.C...
..\SOFTWARE\uCOS-II\EX1_x86L\BC45\SOURCE\includes.h(17): error:  #5: CANnot open source input file "conio.h": No such file or directory
Target not created 4: 前几天刚在BC31调试通了前几天刚在BC31调试通了,有需要整个工程的和我联系
jiangrong2001@163.com

工程师
2011-04-17 10:02:11     打赏
3楼
这个不是维库电子市场上面的么~~

菜鸟
2011-05-12 15:17:55     打赏
4楼
安装路径有问题。

菜鸟
2011-07-13 18:04:55     打赏
5楼
这种资源大概每个IC网上都有嘛,拿过来也是资源共享,让更多的人看得到!!

共5条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]