REAL6410 COMMON ERROR
- 格式:docx
- 大小:20.32 KB
- 文档页数:7
1. Warning 280:’i’:unreferenced local variable说明局部变量i 在函数中未作任何的存取操作解决方法消除函数中i 变量的宣告及即定义的参数在程序中并未调用2 Warning 206:’Music3’:missing function-prototype说明Music3( )函数未作宣告或未作外部宣告所以无法给其他函数调用解决方法将叙述void Music3(void)写在程序的最前端作宣告如果是其他文件的函数则要写成extern void Music3(void),即作外部宣告3Error:318:can’t open file ‘beep.h’说明在编译C:\8051\MANN.C 程序过程中由于main.c 用了指令#i nclude “beep.h”,但却找不到所致解决方法编写一个beep.h 的包含档并存入到c:\8051 的工作目录中4 Error 237:’LedOn’:function already has a body说明LedOn( )函数名称重复定义即有两个以上一样的函数名称解决方法修正其中的一个函数名称使得函数名称都是独立的5 ***WARNING 16:UNCALLED SEGMENT,IGNORED FOR OVERLAY PROCESSSEGMENT: ?PR?_DELAYX1MS?DELAY说明DelayX1ms( )函数未被其它函数调用也会占用程序记忆体空间解决方法去掉DelayX1ms( )函数或利用条件编译#if …..#endif,可保留该函数并不编译6 ***WARNING 6 :XDATA SPACE MEMORY OVERLAPFROM : 0025HTO: 0025H说明外部资料ROM 的0025H 重复定义地址解决方法外部资料ROM 的定义如下Pdata unsigned charXFR_ADC _at_0x25 其中XFR_ADC 变量的名称为0x25,请检查是否有其它的变量名称也是定义在0x25 处并修正它7 WARNING 206:’DelayX1ms’: missing function-prototype C:\8051\INPUT.CError 267 :’DelayX1ms ‘:requires ANSI-style prototypeC:\8051\INPUT.C说明程序中有调用DelayX1ms 函数但该函数没定义即未编写程序内容或函数已定义但未作宣告解决方法编写DelayX1ms 的内容编写完后也要作宣告或作外部宣告可在delay.h 的包含档宣告成外部以便其它函数调用8 ***WARNING 1:UNRESOLVED EXTERNAL SYMBOL SYMBOL:MUSIC3解决办法:1.是文件没有添加到工程里。
汇编常见错误解决⽅法总结汇编常见错误总结Block nesting error嵌套出错.嵌套的过程,段,结构,宏指令或重复块等⾮正常结束.例如在嵌套语句中有外层的结束语句,⽽⽆内层的结束语局1Extra characters on line⼀语句⾏有多余字符,可能是语句中给出的参数太多2Internal error-Register already defined这是⼀个内部错误.如出现该错误,请记下发⽣错误的条件,并使⽤Product Assistance Request 表与Microsoft公司联系3Unkown type specifer未知的类型说明符.例如类型字符拼错,把BYTE写成BIT,NEAR写成NAER等4Redefinition of symbol符号重定义.同⼀标识符在两个位置上定义.在汇编第⼀遍扫描时,在这个标识符的第⼆个定义位置上给出这个错误5Symbol is multidefined符号多重定义.同⼀标识符在两个位置上定义.在汇编第⼆遍扫描时,每当遇到这个标识符都给出这个错误6Phase error between passes两次扫描间的遍错.⼀个标号在⼆次扫描时得到不同的地址值,就会给出这种错误.若在启动MASM时使⽤/D 任选项,产⽣第⼀遍扫描的列表⽂件,它可帮助你查找这种错误7Already had ELSE clause已有ELSE语句.在⼀个条件块⾥使⽤多于⼀个的ELSE语句8Must be in conditional block没有在条件块⾥.通常是有ENDIF或ELSE语句,⽽⽆IF 语句9Symbol not defined符号未定义,在程序中引⽤了未定义的标识符10Syntax error语法错误.不是汇编程序所能识别的⼀个语句11Type illegal in context指定⾮法类型.例如对⼀个过程指定BYTE类型,⽽不是NEAR或FAR12Group name must be unique组名应是唯⼀的.作为组名的符号作为其他符号使⽤13Must be declared during pass 1必须在第⼀遍扫描期间定义.在第⼀遍扫描期间,如⼀个符号在未定义前就引⽤,就会出现这种错误.14Illegal public declaration⼀个标识符被⾮法的指定为PUBLIC类型15Symbol already defferent kind重新定义⼀个符号为不同种类符号.例如⼀个段名重新被当作变量名定义使⽤16Reserved word used as symbol把汇编语⾔规定的保留字作标识符使⽤17Forward reference illegal⾮法的向前引⽤.在第⼀遍扫描期间,引⽤⼀个未定义符号.18Operand must be register操作数位置上应是寄存器,但出现了标识符19Wrong type of register使⽤寄存器出错20Operand must be segment or group应该给出⼀个段名或组名.例如ASSUME语句中应为某段寄存器和指定⼀个段名或组名,⽽不应是别的标号或变量名等21Symbol has no segment不知道标识符的段属性22Operand must be type specifierSymbol alread defined locally以被指定为内部的标识符,企图在EXTRN语句中⼜定义外部标识24Segment paraneters are changed段参数被改变.如同⼀标识符定义在不同段内25Improper align/combin type段定义时的定位类型/组合类型使⽤出错26Reference to multidefined symbol指令引⽤了多重定义的标识符27Operand expected需要⼀个操作数,只有操作符28Operator expected需要⼀个操作符,但只有操作数29Divdsion by 0 or overflow除以0或溢出30Negative shift count运算符SHL或SHR的移位表达式值为负数31Operand type must match操作数类型不匹配.双操作数指令的两个操作数长度不⼀致,⼀个是字节,⼀个是字32Illegal use of external外部符号使⽤出错33Must be record field name应为记录字段名.在记录字段名位置上出现另外的符号34Must be record name or field name应为记录名或记录字段名.在记录名或记录字段名位置上出现另外的符号35Operand must be sizeMust be variable,label,or constant应该是变量名,标号,或常数的位置上出现了其他信息37Must be stucture field name应该为结构字段名.在结构字段名位置上出现了另外的符号38Lefe operand must segment操作数的左边应该是段的信息.如设DA1,DA2均是变量名,下列语句就是错误的:"MOV AX,DA1:DA2".DA1位置上应使⽤某段寄存器名39One operand must constant操作数必须是常数.40Operand must be in same segment or one constant"—"运算符⽤错.例如"MOV AL,—VAR",其中VAR是变量名,应有⼀常数参加运算.⼜如两个不同段的变量名相减出错41Normal type operand expected要求给出⼀个正常的操作数.42Constant expected要求给出⼀个常数.43Operand must have segment运算符SEG⽤错.44Must be associated with data在必须与数据段有关的位置上出现了代码段有关的项45Must be associated with code在必须与代码段有关的位置上出现了数据段有关的项46Multiple base registers同时使⽤了多个基址寄存器.如"MOV AX ,[SI][BP]"47Multiple index registers同时使⽤了多个变址寄存器.如"MOV AX ,[SI][DI]"指令仅要求使⽤基址寄存器或变址寄存器,⽽不能使⽤其他寄存器.49Illegal use of register⾮法使⽤寄存器出错50Value is out of range数值太⼤,超过允许值.例如:"MOV AL ,100H"51Operand not in current CS ASSUME segment操作数不在当前代码段内.通常指转移指令的⽬标地址不在当前CS段内52Improper operand type操作数类型使⽤不当.例如:"MOV VAR1,VAR2".两个操作数均为存储器操作数,不能汇编出⽬标代码53Jump out of range by %ld byte条件转移指令跳转范围超过-128~ 127个字节.出错⼚,信息同时给出超过的字节数54Index displacement must be constant变址寻址的位移量必须是常数55Illegal register value⾮法的寄存器值.⽬标代码中表达寄存器的值超过756Immediate mode illegal不允许使⽤⽴即数寻址.例如"MOV DS,CODE"其中CODE是段名,不能把段名作为⽴即数传送给段寄存器DS 57Illegal size for operand使⽤操作数⼤⼩(字节数)出错.例如:使⽤双字的存储器操作数58Byte register illegal要求⽤字寄存器的指令使⽤了字节寄存器.如PUSH,POP指令的操作数寄存器必须是字寄存器59Illegal uer of CS register指令中错误使⽤了段寄存器CS.如:"MOV CS,AX"CS不能做⽬的操作数60Must be accumulator register要求⽤AX或AL的位置上使⽤可其他寄存器.如IN,OUT指令必须使⽤累加器AX或AL不允许使⽤段寄存器的位置上使⽤了段寄存器.如"SHL DS,1"62Missing or unreachable CS试图跳转去执⾏⼀个CS达不到的标号.通常是指缺少ASSUME语句中CS与代码段相关联63Operand combination illegal双操作数指令中两个操作数组合出错64Near JMP/CALL to different CS试图⽤NEAR属性的转移指令跳转到不在当前段的⼀个地址65Label cannot have segment override段前缀使⽤出错66Must have instuction agter prefix在重复前缀REP,REPE,REPNE后⾯必须有指令67Cannot override ES for destination串操作指令中⽬的操作数不能⽤其他段寄存器替代ES68Cannot address with srgment register指令中寻找⼀个操作数,但ASSUME语句中未指明哪个段寄存器与该操作数所在段有关联69Must be in segment block指令语句没有在段内70Cannot use EVEN or ALIGN with byte alignment在段定义伪指令的定位类型中选⽤BYTE,这时不能使⽤EVEN或ALIGN伪指令71Forward needs override or FAR转移指令的⽬标没有在源程序中说明为FAR属性,可⽤PTR指定72Illegal value for DUP count操作符DUP前的重复次数是⾮法的或未定义73Symbol id already external在模块内试图定义的符号,它已在外部符号伪指令中说明DUP nesting too deep操作数DUP的嵌套太深75Illegak use of undefinde operand( )不定操作符" "使⽤不当.例如"DB 10H DUP( 2)"76Too many valer for struc or record initialization在定义结构变量或记录变量时,初始值太多77Angle brackets requored around initialized list定义结构体变量时,初始值未⽤尖括号()括起来78Directive illegal structure在结构体定义中的伪指令使⽤不当.结构定义中的伪指令语句仅⼆种:分号(;)开始的注释语句和⽤DB,DW等数据定义伪指令语句79Override with DUP illegal在结构变量初始值表中使⽤DUP操作符出错80Field cannot be overridden在定义结构变量语句中试图对⼀个不允许修改的字段设置初值81Override id of wrong type在定义结构变量语句中设置初值时类型出错82Circular chain of EQU aliases⽤等值语句定义的符号名,最后⼜返回指向它⾃⼰.如:A EQU BB EQU A83Cannot emulate cooprocessor opcode 仿真器不能⽀持的8087协处理器操作码84End of file,not END directive 源程序⽂件⽆END⽂件85Data emitted with no segment 语句数据没有在段内86 can't open ml.err把下⾯的复制到⼀个⽂档,命名为ml.err添加到⼯程⽬录FATALcannot open fileI/O error closing fileI/O error reading fileout of memoryassembler limit : macro parameter name table fullinvalid command-line optionnesting level too deepunmatched macro nestingline too longunmatched block nestingdirective must be in control blockerror count exceeds 100; stopping assemblyinvalid numerical command-line argumenttoo many argumentsstatement too complexInternal Assembler Errormissing source filenameCOFF error writing fileinvalid debug and browser data; file exceeds line limitcannot find link.execannot find cvpack.exeSEVEREmemory operand not allowed in contextimmediate operand not allowedcannot have more than one ELSE clause per IF blockextra characters after statementsymbol type conflictsymbol redefinitionundefined symbolnon-benign record redefinitionsyntax errorsyntax error in expressioninvalid type expressiondistance invalid for word size of current segmentPROC, MACRO, or macro repeat directive must precede LOCAL .MODEL must precede this directivecannot define as public or externalsegment attributes cannot changeexpression expectedoperator expectedinvalid use of external symboloperand must be RECORD type or fieldidentifier not a recordrecord constants may not span line breaksinstruction operands must be the same sizeinstruction operand must have sizeinvalid operand size for instructionoperands must be in same segmentconstant expectedoperand must be a memory expressionexpression must be a code addressmultiple base registers not allowedmultiple index registers not allowedmust be index or base registerinvalid use of registerinvalid INVOKE argumentmust be in segment blockDUP too complextoo many initial values for structurestatement not allowed inside structure definitionmissing operand for macro operatorline too longsegment register not allowed in contextstring or text literal too longstatement too complexidentifier too longinvalid character in filemissing angle bracket or brace in literalmissing single or double quotation mark in stringempty (null) stringnondigit in numbersyntax error in floating-point constantreal or BCD number not allowedtext item requiredforced errorforced error : value equal to 0forced error : value not equal to 0forced error : symbol not definedforced error : symbol definedforced error : string blankforced error : string not blankforced error : strings equalforced error : strings not equal[ELSE]IF2/.ERR2 not allowed : single-pass assemblerstructure alignment must be 1, 2, 4, 8, or 16expectedincompatible CPU mode and segment sizeLOCK must be followed by a memory operation instruction prefix not allowedno operands allowed for this instructioninvalid instruction operandsinitializer magnitude too large for specified sizecannot access symbol in given segment or group operands have different framescannot access label through segment registersjump destination too farjump destination must specify a labelinstruction does not allow NEAR indirect addressing instruction does not allow FAR indirect addressing instruction does not allow FAR direct addressingjump distance not possible in current CPU modemissing operand after unary operatorcannot mix 16- and 32-bit registersinvalid scale valueconstant value too largeinstruction or register not accepted in current CPU mode reserved word expectedinstruction form requires 80386/486END directive required at end of filetoo many bits in RECORDpositive value expectedindex value past end of stringcount must be positive or zerocount value too largeoperand must be relocatableconstant or relocatable label expectedsegment, group, or segment register expectedsegment expectedinvalid operand for OFFSETinvalid use of external absolutesegment or group not allowedcannot add two relocatable labelscannot add memory expression and code labelsegment exceeds 64K limitinvalid type for a data declarationHIGH and LOW require immediate operandsN/Acannot have implicit far jump or call to near labeluse of register assumed to ERRORonly white space or comment can follow backslash COMMENT delimiter expectedconflicting parameter definitionPROC and prototype calling conventions conflictinvalid radix tagINVOKE argument type mismatch : argumentinvalid coprocessor registerinstructions and initialized data not allowed in AT segments /AT switch requires the TINY memory modelcannot have segment address references with TINY model language type must be specifiedPROLOGUE must be macro functionEPILOGUE must be macro procedurealternate identifier not allowed with EXTERNDEFtext macro nesting level too deepN/Amissing macro argumentEXITM used inconsistentlymacro function argument list too longN/AVARARG parameter must be last parameterVARARG parameter not allowed with LOCALVARARG parameter requires C calling conventionORG needs a constant or local offsetregister value overwritten by INVOKEstructure too large to pass with INVOKE : argumentnot overriding private proc as publictoo many arguments to INVOKEtoo few arguments to INVOKEinvalid data initializerN/ARET operand too largetoo many operands to instructioncannot have more than one .ELSE clause per .IF block expected data labelcannot nest proceduresEXPORT must be FARinvalid symbol type in expressionbyte register cannot be first operandword register cannot be first operandspecial register cannot be first operandcoprocessor register cannot be first operandcannot change size of expression computationssyntax error in control-flow directivecannot use 16-bit register with a 32-bit addressconstant value out of rangemissing right parenthesistype is wrong size for registerstructure cannot be instancednon-benign structure redefinition: label incorrectnon-benign structure redefinition: too few labels OLDSTRUCTS/NOOLDSTRUCTS state cannot be changed non-benign structure redefinition: incorrect initializersnon-benign structure redefinition: too few initializersnon-benign structure redefinition: label has incorrect offset structure field expectedunexpected literal found in expressionN/Adivide by zero in expressiondirective must appear inside a macrocannot expand macro functiontoo few bits in RECORDmacro function cannot redefine itselfN/Ainvalid qualified typefloating-point initializer on an integer variablenested structure improperly initializedinvalid use of FLATstructure improperly initializedimproper list initializationinitializer must be a string or single iteminitializer must be a single iteminitializer must be a single byteimproper use of list initializerimproper literal initializationextra characters in literal initializationmust use floating-point initializercannot use .EXIT for OS_OS2 with .8086invalid combination with segment alignmentINVOKE requires prototype for procedurecannot include structure in selfsymbol language attribute conflictnon-benign COMM redefinitionCOMM variable exceeds 64Kparameter or local cannot have void typecannot use TINY model with OS_OS2expression size must be 32 bits.EXIT does not work with 32-bit segments.STARTUP does not work with 32-bit segmentsORG directive not allowed in unionsD/Tillegal use of segment registercannot declare scoped code label as PUBLIC.MSFLOAT directive is obsolete : .MSFLOAT ignored ESC instruction is obsolete : ESC ignoredmissing operator in expressionmissing right parenthesis in expressionmissing left parenthesis in expressionreference to forward macro definition16 bit segments not allowed with /coff optionFAR not allowed in flat model comm variablesinvalid .model parameter for flat modelALIAS name is emptyGROUP directive not allowed with /coff option.FPO is not compatible with nested proceduresLEVEL 1cannot modify READONLY segmentN/Anon-unique STRUCT/UNION field used without qualification start address on END directive ignored with .STARTUP cannot ASSUME CSunknown default prologue argumenttoo many arguments in macro calloption untranslated, directive requiredinvalid command-line option value, default is used insufficent memory for /EP : /EP ignoredexpected '>' on text literalmultiple .MODEL directives found : .MODEL ignoredline number information for segment without class 'CODE'directive ignored with /coff switch/Gc switch incompatible with flat model/AT switch incompatible with flat modelinvalid command-line optiondirective ignored without /coff switchdirective ignored outside a procedureLOADDS ignored in flat modeldebug information too complex forwith /coff switch, leading underscore required for start addressLEVEL 2@@: label defined but not referencedexpression expected, assume value 0EXTERNDEF previously assumed to be externallength of symbol previously assumed to be differentsymbol previously assumed to not be in a grouptypes are differentcalling convention not supported in flat modelLEVEL 3N/Ano return from procedureN/Aconditional jump lengthenedprocedure argument or local not referencedexpression may be pass-dependentstructure contains no members87加上.386之后出现乱码应该在.model语句之后加.386使⽤的是 Masm 的话,这⾥有个约定。
文章标题:深入探讨C++编程中报错error的解决方法在C++编程中,我们经常会遇到各种各样的报错信息,这不仅是初学者的困扰,即便是经验丰富的程序员也会遇到各种报错情况。
在本文中,我将为您详细解读C++编程中常见的报错类型,并提供解决方法,帮助您更好地理解和应对这些问题。
1. 编译错误编译错误是在编译期间出现的错误,通常指程序无法通过编译器的检查,无法生成可执行文件。
常见的编译错误包括语法错误、语义错误和类型错误。
我们可以通过查看编译器的报错信息,逐行检查代码,找出并修复错误所在。
2. 运行时错误运行时错误是指程序在运行过程中出现的错误,导致程序异常终止或产生错误结果。
常见的运行时错误包括空指针引用、数组越界访问、未捕获的异常等。
我们应该在编写代码时加入适当的防御性编程,对可能出现的异常情况进行处理和容错。
3. 逻辑错误逻辑错误是指程序在逻辑上有误,导致程序无法按照预期的逻辑执行。
通常这类错误不会导致程序崩溃,但会导致程序输出错误的结果。
在遇到逻辑错误时,我们可以通过调试工具逐步执行程序,定位错误所在,并修复逻辑错误。
4. 解决方法针对不同类型的报错,我们可以采取相应的解决方法。
在面对编译错误时,我们需要仔细查看编译器的报错信息,逐行检查代码,修复语法、语义和类型错误;对于运行时错误,我们需要在代码中加入适当的异常处理和错误检测机制,确保程序能够处理各种异常情况;而在面对逻辑错误时,则需要通过调试工具逐步执行程序,找出逻辑错误的根源并加以修复。
总结与回顾通过本文的内容,我希望您能更清晰地理解C++编程中常见报错的类型和解决方法。
无论是编译错误、运行时错误还是逻辑错误,都不是令人畏惧的难题,只要我们用心对待,认真分析和解决问题,就能够在编程的道路上走得更远。
个人观点与理解在我看来,C++编程中遇到报错并非坏事,反而可以帮助我们发现程序中潜在的问题,提高代码的质量和健壮性。
通过及时解决报错问题,我们能够更好地理解代码运行的机制,提升自己的编程水平。
C语言常见错误代码释义错误代码及错误信息错误释义error 1: Out of memory 存溢出error 2: Identifier expected 缺标识符error 3: Unknown identifier 未定义的标识符error 4: Duplicate identifier 重复定义的标识符error 5: Syntax error 语法错误error 6: Error in real constant 实型常量错误error 7: Error in integer constant 整型常量错误error 8: String constant exceeds line 字符串常量超过一行error 10: Unexpected end of file 文件非正常结束error 11: Line too long 行太长error 12: Type identifier expected 未定义的类型标识符error 13: Too many open files 打开文件太多error 14: Invalid file name 无效的文件名error 15: File not found 文件未找到error 16: Disk full 磁盘满error 17: Invalid compiler directive 无效的编译命令error 18: Too many files 文件太多error 19: Undefined type in pointer def 指针定义中未定义类型error 20: Variable identifier expected 缺变量标识符error 21: Error in type 类型错误error 22: Structure too large 结构类型太长error 23: Set base type out of range 集合基类型越界error 24: File components may not be files or objectsfile分量不能是文件或对象error 25: Invalid string length 无效的字符串长度error 26: Type mismatch 类型不匹配error 27:error 27:Invalid subrange base type 无效的子界基类型error 28:Lower bound greater than upper bound 下界超过上界error 29:Ordinal type expected 缺有序类型error 30:Integer constant expected 缺整型常量error 31:Constant expected 缺常量error 32:Integer or real constant expected 缺整型或实型常量error 33:Pointer Type identifier expected 缺指针类型标识符error 34:Invalid function result type 无效的函数结果类型error 35:Label identifier expected 缺标号标识符error 36:BEGIN expected 缺BEGINerror 37:END expected 缺ENDerror 38:Integer expression expected 缺整型表达式error 39:Ordinal expression expected 缺有序类型表达式error 40:Boolean expression expected 缺布尔表达式error 41:Operand types do not match 操作数类型不匹配error 42:Error in expression 表达式错误error 43:Illegal assignment 非法赋值error 44:Field identifier expected 缺域标识符error 45:Object file too large 目标文件太大error 46:Undefined external 未定义的外部过程与函数error 47:Invalid object file record 无效的OBJ文件格式error 48:Code segment too large 代码段太长error 49:Data segment too large 数据段太长error 50:DO expected 缺DOerror 51:Invalid PUBLIC definition 无效的PUBLIC定义error 52:Invalid EXTRN definition 无效的EXTRN定义error 53: Too many EXTRN definitions 太多的EXTRN定义error 54:OF expected 缺OFerror 55:INTERFACE expected 缺INTERFACEerror 56:Invalid relocatable reference 无效的可重定位引用error 57:THEN expected 缺THENerror 58:TO or DOWNTO expected 缺TO或DOWNTOerror 59:Undefined forward 提前引用未经定义的说明error 61:Invalid typecast 无效的类型转换error 62:Division by zero 被零除error 63:Invalid file type 无效的文件类型error 64:Cannot read or write variables of this type 不能读写此类型变量error 65:Pointer variable expected 缺指针类型变量error 66:String variable expected 缺字符串变量error 67:String expression expected 缺字符串表达式error 68:Circular unit reference 单元UNIT部件循环引用error 69:Unit name mismatch 单元名不匹配error 70:Unit version mismatch 单元版本不匹配error 71:Internal stack overflow 部堆栈溢出error 72:Unit file format error 单元文件格式错误error 73:IMPLEMENTATION expected 缺IMPLEMENTATIONerror 74:Constant and case types do not match 常量和CASE类型不匹配error 75:Record or object variable expected 缺记录或对象变量error 76:Constant out of range 常量越界error 77:File variable expected 缺文件变量error 78:Pointer expression expected 缺指针表达式error 79:Integer or real expression expected 缺整型或实型表达式error 80:Label not within current block 标号不在当前块error 81:Label already defined 标号已定义error 82:Undefined label in preceding statement part 在前面未定义标号error 83:Invalid argument 无效的参数error 84:UNIT expected 缺UNITerror 85: ";" expected 缺“;”error 86:":" expected 缺“:”error 87:"," expected 缺“,”error 88:"(" expected 缺“(”error 89:")" expected 缺“)”error 90:"=" expected 缺“=”error 91:":=" expected 缺“:=”error 92:"[" or "(." Expected 缺“[”或“(.”error 93: "]" or ".)" expected 缺“]”或“.)”error 94:"." expected 缺“.”error 95: ".." expected 缺“..”error 96:Too many variables 变量太多error 97:Invalid FOR control variable 无效的FOR循环控制变量error 98:Integer variable expected 缺整型变量error 99:Files and procedure types are not allowed here 该处不允许文件和过程类型error 100:String length mismatch 字符串长度不匹配error 101:Invalid ordering of fields 无效域顺序error 102:String constant expected 缺字符串常量error 103:Integer or real variable expected 缺整型或实型变量error 104:Ordinal variable expected 缺有序类型变量error 105:INLINE error INLINE错误error 106:Character expression expected 缺字符表达式error 107:Too many relocation items 重定位项太多error 108:Overflow in arithmetic operation 算术运算溢出error 112:CASE constant out of range CASE常量越界error 113:Error in statement 表达式错误error 114:Cannot call an interrupt procedure 不能调用中断过程error 116:Must be in 8087 mode to compile this 必须在8087模式编译error 117:T arget address not found 找不到目标地址error 118:Include files are not allowed here 该处不允许INCLUDE文件error 119:No inherited methods are accessible here 该处继承方法不可访问error 121:Invalid qualifier 无效的限定符error 122:Invalid variable reference 无效的变量引用error 123:Too many symbols 符号太多error 124:Statement part too large 语句体太长error 126:Files must be var parameters 文件必须是变量形参error 127:Too many conditional symbols 条件符号太多error 128:Misplaced conditional directive 条件指令错位error 129:ENDIF directive missing 缺ENDIF指令error 130:Error in initial conditional defines 初始条件定义错误error 131:Header does not match previous definition 和前面定义的过程或函数不匹配error 133:Cannot evaluate this expression 不能计算该表达式error 134:Expression incorrectly terminated 表达式错误结束error 135:Invalid format specifier 无效格式说明符error 136:Invalid indirect reference 无效的间接引用error 137:Structured variables are not allowed here 该处不允许结构变量error 138:Cannot evaluate without System unit 没有System单元不能计算error 139:Cannot access this symbol 不能存取符号error 140:Invalid floating point operation 无效的符号运算error 141:Cannot compile overlays to memory 不能编译覆盖模块至存error 142:Pointer or procedural variable expected 缺指针或过程变量error 143:Invalid procedure or function reference 无效的过程或函数调用error 144:Cannot overlay this unit 不能覆盖该单元error 146:File access denied 不允许文件访问error 147:Object type expected 缺对象类型error 148:Local object types are not allowed 不允许局部对象类型error 149:VIRTUAL expected 缺VIRTUALerror 150: Method identifier expected 缺方法标识符error 151:Virtual constructors are not allowed 不允许虚构造函数error 152:Constructor identifier expected 缺构造函数标识符error 153:Destructor identifier expected 缺析构函数标识符error 154:Fail only allowed within constructors 只能在构造函数使用Fail标准过程error 155:Invalid combination of opcode and operands 操作数与操作符无效组合error 156:Memory reference expected 缺存引用指针error 157:Cannot add or subtract relocatable symbols 不能加减可重定位符号error 158:Invalid register combination 无效寄存器组合error 159:286/287 instructions are not enabled 未激活286/287指令error 160:Invalid symbol reference 无效符号指针error 161:Code generation error 代码生成错误error 162:ASM expected 缺ASMerror 166:Procedure or function identifier expected 缺过程或函数标识符error 167:Cannot export this symbol 不能输出该符号error 168:Duplicate export name 外部文件名重复error 169:Executable file header toerror 170:Too many segments 段太多。
您遇到的问题与OpenCL环境的配置有关。
clGetPlatformIDs()函数返回的错误代码-1001对应于状态宏CL_PLATFORM_NOT_FOUND_KHR,这通常意味着系统上没有找到可用的OpenCL平台。
以下是可能的解决方案:
安装OpenCL驱动和库:确保您的系统上安装了正确的OpenCL驱动和库。
这通常包括与您的GPU或CPU兼容的驱动和库。
检查环境变量:确保OpenCL相关的环境变量(如PATH或LD_LIBRARY_PATH)已正确设置,以便系统可以找到OpenCL库。
检查设备支持:使用clinfo工具检查系统上的OpenCL设备是否被正确识别。
确保您的硬件支持OpenCL,并且驱动程序已正确安装。
更新驱动程序和固件:确保您的GPU驱动程序和固件是最新的,有时候这可以解决兼容性问题。
检查文档和社区支持:查阅特定硬件或软件的官方文档,或在相关社区和论坛中搜索类似的问题。
可能有人遇到了相同的问题,并找到了解决方案。
联系技术支持:如果上述方法都不能解决问题,可能需要联系您的硬件供应商或OpenCL软件供应商的技术支持寻求帮助。
在处理此类问题时,请注意查阅相关的技术文档和社区论坛,以获得最准确和最新的解决方案。
linux编程中会出现的错误1、错误提示1.ERROR: Kernel configuration is invalid.2. include/linux/autoconf.h or include/config/auto.conf aremissing.3. Run 'make oldconfig && make prepare' on kernel src to fix it.解决方法在自己的linux内核目录下运行make oldconfig && make prepare2、错误提示挂载时会报错“permission denied“解决方法这一步“服务器端在文件/etc/exports中设定允许被访问的文件、目录以及访问的权限”修改/etc/exports 文件,添加如下内容/opt/nfs *(rw,sync,no_root_squash,no_all_squash)(不同的人可能挂在的目录不同)运行以下命令启动nfs 服务:Host #/usr/sbin/exportfs –aHost #/sbin/service nfs restart3、错误提示mach/regs-gpio.h 找不到这个文件解决方法利用make menuconfig将内核CPU版本配成S3C2410,然后make config 最后make zImage,在编译就不会有问题了。
(得出结论:要编译2410的模块驱动文件,内核源码目录必须跟其一致,也配成2410的编译源码,要是配成6410则不行。
当然编译6410的模块文件,则必须将源码目录配成6410。
)4、错误提示led_driver: version magic '2.6.30.4 mod_unload modversions ARMv4 ' should be '2.6.30.4-GTStudio mod_unload ARMv4 ' insmod: cannot insert 'led_driver.ko': invalid module format 解决方法是由于编译器的版本不同和make menuconfig 配置时,在配置单中添加如下信息General setup --->Prompt for development and/or incomplete code/drivers(-EmbedSky(填上自己的模块名称)) Local version - append to kernel release内核版本的差异导致的。
错误代码及错误信息错误释义error1:Out of memory内存溢出error2:Identifier expected缺标识符error3:Unknown identifier未定义的标识符error4:Duplicate identifier重复定义的标识符error5:Syntax error语法错误error6:Error in real constant实型常量错误error7:Error in integer constant整型常量错误error8:String constant exceeds line字符串常量超过一行error10:Unexpected end of file文件非正常结束error11:Line too long行太长error12:Type identifier expected未定义的类型标识符error13:Too many open files打开文件太多error14:Invalid file name无效的文件名error15:File not found文件未找到error16:Disk full磁盘满error17:Invalid compiler directive无效的编译命令error18:Too many files文件太多error19:Undefined type in pointer def指针定义中未定义类型error20:Variable identifier expected缺变量标识符error21:Error in type类型错误error22:Structure too large结构类型太长error23:Set base type out of range集合基类型越界error24:File components may not be files or objectsfile 分量不能是文件或对象error25:Invalid string length无效的字符串长度error26:Type mismatch类型不匹配error27:error27:Invalid subrange base type无效的子界基类型error28:Lower bound greater than upper bound下界超过上界error29:Ordinal type expected缺有序类型error30:Integer constant expected缺整型常量error31:Constant expected缺常量error32:Integer or real constant expected缺整型或实型常量error33:Pointer Type identifier expected缺指针类型标识符error34:Invalid function result type无效的函数结果类型error35:Label identifier expected缺标号标识符error36:BEGIN expected缺BEGINerror37:END expected缺ENDerror38:Integer expression expected缺整型表达式error39:Ordinal expression expected缺有序类型表达式error40:Boolean expression expected缺布尔表达式error41:Operand types do not match操作数类型不匹配error42:Error in expression表达式错误error43:Illegal assignment非法赋值error44:Field identifier expected缺域标识符error45:Object file too large目标文件太大error46:Undefined external未定义的外部过程与函数error47:Invalid object file record无效的OBJ文件格式error48:Code segment too large代码段太长error49:Data segment too large数据段太长error50:DO expected缺DOerror51:Invalid PUBLIC definition无效的PUBLIC定义error52:Invalid EXTRN definition无效的EXTRN定义error53:Too many EXTRN definitions太多的EXTRN定义error54:OF expected缺OFerror55:INTERFACE expected缺INTERFACEerror56:Invalid relocatable reference无效的可重定位引用error57:THEN expected缺THENerror58:TO or DOWNTO expected缺TO或DOWNTOerror59:Undefined forward提前引用未经定义的说明error61:Invalid typecast无效的类型转换error62:Division by zero被零除error63:Invalid file type无效的文件类型error64:Cannot read or write variables of this type不能读写此类型变量error65:Pointer variable expected缺指针类型变量error66:String variable expected缺字符串变量error67:String expression expected缺字符串表达式error68:Circular unit reference单元UNIT部件循环引用error69:Unit name mismatch单元名不匹配error70:Unit version mismatch单元版本不匹配error71:Internal stack overflow内部堆栈溢出error72:Unit file format error单元文件格式错误error73:IMPLEMENTATION expected缺IMPLEMENTATIONerror74:Constant and case types do not match常量和CASE 类型不匹配error75:Record or object variable expected缺记录或对象变量error76:Constant out of range常量越界error77:File variable expected缺文件变量error78:Pointer expression expected缺指针表达式error79:Integer or real expression expected缺整型或实型表达式error80:Label not within current block标号不在当前块内error81:Label already defined标号已定义error82:Undefined label in preceding statement part在前面未定义标号error83:Invalid@argument无效的@参数error84:UNIT expected缺UNITerror85:";"expected缺“;”error86:":"expected缺“:”error87:","expected缺“,”error88:"("expected缺“(”error89:")"expected缺“)”error90:"="expected缺“=”error91:":="expected缺“:=”error92:"["or"(."Expected缺“[”或“(.”error93:"]"or".)"expected缺“]”或“.)”error94:"."expected缺“.”error95:".."expected缺“..”error96:Too many variables变量太多error97:Invalid FOR control variable无效的FOR循环控制变量error98:Integer variable expected缺整型变量error99:Files and procedure types are not allowed here该处不允许文件和过程类型error100:String length mismatch字符串长度不匹配error101:Invalid ordering of fields无效域顺序error102:String constant expected缺字符串常量error103:Integer or real variable expected缺整型或实型变量error104:Ordinal variable expected缺有序类型变量error105:INLINE error INLINE错误error106:Character expression expected缺字符表达式error107:Too many relocation items重定位项太多error108:Overflow in arithmetic operation算术运算溢出error112:CASE constant out of range CASE常量越界error113:Error in statement表达式错误error114:Cannot call an interrupt procedure不能调用中断过程error116:Must be in8087mode to compile this必须在8087模式编译error117:Target address not found找不到目标地址error118:Include files are not allowed here该处不允许INCLUDE文件error119:No inherited methods are accessible here该处继承方法不可访问error121:Invalid qualifier无效的限定符error122:Invalid variable reference无效的变量引用error123:Too many symbols符号太多error124:Statement part too large语句体太长error126:Files must be var parameters文件必须是变量形参error127:Too many conditional symbols条件符号太多error128:Misplaced conditional directive条件指令错位error129:ENDIF directive missing缺ENDIF指令error130:Error in initial conditional defines初始条件定义错误error131:Header does not match previous definition和前面定义的过程或函数不匹配error133:Cannot evaluate this expression不能计算该表达式error134:Expression incorrectly terminated表达式错误结束error135:Invalid format specifier无效格式说明符error136:Invalid indirect reference无效的间接引用error137:Structured variables are not allowed here该处不允许结构变量error138:Cannot evaluate without System unit没有System 单元不能计算error139:Cannot access this symbol不能存取符号error140:Invalid floating point operation无效的符号运算error141:Cannot compile overlays to memory不能编译覆盖模块至内存error142:Pointer or procedural variable expected缺指针或过程变量error143:Invalid procedure or function reference无效的过程或函数调用error144:Cannot overlay this unit不能覆盖该单元error146:File access denied不允许文件访问error147:Object type expected缺对象类型error148:Local object types are not allowed不允许局部对象类型error149:VIRTUAL expected缺VIRTUALerror150:Method identifier expected缺方法标识符error151:Virtual constructors are not allowed不允许虚构造函数error152:Constructor identifier expected缺构造函数标识符error153:Destructor identifier expected缺析构函数标识符error154:Fail only allowed within constructors只能在构造函数内使用Fail标准过程error155:Invalid combination of opcode and operands操作数与操作符无效组合error156:Memory reference expected缺内存引用指针error157:Cannot add or subtract relocatable symbols不能加减可重定位符号error158:Invalid register combination无效寄存器组合error159:286/287instructions are not enabled未激活286/287指令error160:Invalid symbol reference无效符号指针error161:Code generation error代码生成错误error162:ASM expected缺ASMerror166:Procedure or function identifier expected缺过程或函数标识符error167:Cannot export this symbol不能输出该符号error168:Duplicate export name外部文件名重复error169:Executable file header too large可执行文件头太长error170:Too many segments段太多一、运行错误信息运行错误分为四类:1-99为DOS错误;100-149为I/O错误,发生I/O后,如果使用了编译开关{$I+},程序将终止执行,否则编译开关为{$I-},程序继续执行,并由IOResult函数返回错误信息;150-199为严重错误,200-255为致命错误,致命错误将立即终止程序执行。
Error MessagesF9001 Error internal function call.F9002 Error internal RTOS function callF9003 WatchdogF9004 Hardware trapF8000 Fatal hardware errorF8010 Autom. commutation: Max. motion range when moving back F8011 Commutation offset could not be determinedF8012 Autom. commutation: Max. motion rangeF8013 Automatic commutation: Current too lowF8014 Automatic commutation: OvercurrentF8015 Automatic commutation: TimeoutF8016 Automatic commutation: Iteration without resultF8017 Automatic commutation: Incorrect commutation adjustment F8018 Device overtemperature shutdownF8022 Enc. 1: Enc. signals incorr. (can be cleared in ph. 2) F8023 Error mechanical link of encoder or motor connectionF8025 Overvoltage in power sectionF8027 Safe torque off while drive enabledF8028 Overcurrent in power sectionF8030 Safe stop 1 while drive enabledF8042 Encoder 2 error: Signal amplitude incorrectF8057 Device overload shutdownF8060 Overcurrent in power sectionF8064 Interruption of motor phaseF8067 Synchronization PWM-Timer wrongF8069 +/-15Volt DC errorF8070 +24Volt DC errorF8076 Error in error angle loopF8078 Speed loop error.F8079 Velocity limit value exceededF8091 Power section defectiveF8100 Error when initializing the parameter handlingF8102 Error when initializing power sectionF8118 Invalid power section/firmware combinationF8120 Invalid control section/firmware combinationF8122 Control section defectiveF8129 Incorrect optional module firmwareF8130 Firmware of option 2 of safety technology defectiveF8133 Error when checking interrupting circuitsF8134 SBS: Fatal errorF8135 SMD: Velocity exceededF8140 Fatal CCD error.F8201 Safety command for basic initialization incorrectF8203 Safety technology configuration parameter invalidF8813 Connection error mains chokeF8830 Power section errorF8838 Overcurrent external braking resistorF7010 Safely-limited increment exceededF7011 Safely-monitored position, exceeded in pos. DirectionF7012 Safely-monitored position, exceeded in neg. DirectionF7013 Safely-limited speed exceededF7020 Safe maximum speed exceededF7021 Safely-limited position exceededF7030 Position window Safe stop 2 exceededF7031 Incorrect direction of motionF7040 Validation error parameterized - effective thresholdF7041 Actual position value validation errorF7042 Validation error of safe operation modeF7043 Error of output stage interlockF7050 Time for stopping process exceeded8.3.15 F7051 Safely-monitored deceleration exceeded (159)8.4 Travel Range Errors (F6xxx) (161)8.4.1 Behavior in the Case of Travel Range Errors (161)8.4.2 F6010 PLC Runtime Error (162)8.4.3 F6024 Maximum braking time exceeded (163)8.4.4 F6028 Position limit value exceeded (overflow) (164)8.4.5 F6029 Positive position limit exceeded (164)8.4.6 F6030 Negative position limit exceeded (165)8.4.7 F6034 Emergency-Stop (166)8.4.8 F6042 Both travel range limit switches activated (167)8.4.9 F6043 Positive travel range limit switch activated (167)8.4.10 F6044 Negative travel range limit switch activated (168)8.4.11 F6140 CCD slave error (emergency halt) (169)8.5 Interface Errors (F4xxx) (169)8.5.1 Behavior in the Case of Interface Errors (169)8.5.2 F4001 Sync telegram failure (170)8.5.3 F4002 RTD telegram failure (171)8.5.4 F4003 Invalid communication phase shutdown (172)8.5.5 F4004 Error during phase progression (172)8.5.6 F4005 Error during phase regression (173)8.5.7 F4006 Phase switching without ready signal (173)8.5.8 F4009 Bus failure (173)8.5.9 F4012 Incorrect I/O length (175)8.5.10 F4016 PLC double real-time channel failure (176)8.5.11 F4017 S-III: Incorrect sequence during phase switch (176)8.5.12 F4034 Emergency-Stop (177)8.5.13 F4140 CCD communication error (178)8.6 Non-Fatal Safety Technology Errors (F3xxx) (178)8.6.1 Behavior in the Case of Non-Fatal Safety Technology Errors (178)8.6.2 F3111 Refer. missing when selecting safety related end pos (179)8.6.3 F3112 Safe reference missing (179)8.6.4 F3115 Brake check time interval exceeded (181)Troubleshooting Guide | Rexroth IndraDrive Electric Drivesand ControlsI Bosch Rexroth AG VII/XXIITable of ContentsPage8.6.5 F3116 Nominal load torque of holding system exceeded (182)8.6.6 F3117 Actual position values validation error (182)8.6.7 F3122 SBS: System error (183)8.6.8 F3123 SBS: Brake check missing (184)8.6.9 F3130 Error when checking input signals (185)8.6.10 F3131 Error when checking acknowledgment signal (185)8.6.11 F3132 Error when checking diagnostic output signal (186)8.6.12 F3133 Error when checking interrupting circuits (187)8.6.13 F3134 Dynamization time interval incorrect (188)8.6.14 F3135 Dynamization pulse width incorrect (189)8.6.15 F3140 Safety parameters validation error (192)8.6.16 F3141 Selection validation error (192)8.6.17 F3142 Activation time of enabling control exceeded (193)8.6.18 F3143 Safety command for clearing errors incorrect (194)8.6.19 F3144 Incorrect safety configuration (195)8.6.20 F3145 Error when unlocking the safety door (196)8.6.21 F3146 System error channel 2 (197)8.6.22 F3147 System error channel 1 (198)8.6.23 F3150 Safety command for system start incorrect (199)8.6.24 F3151 Safety command for system halt incorrect (200)8.6.25 F3152 Incorrect backup of safety technology data (201)8.6.26 F3160 Communication error of safe communication (202)8.7 Non-Fatal Errors (F2xxx) (202)8.7.1 Behavior in the Case of Non-Fatal Errors (202)8.7.2 F2002 Encoder assignment not allowed for synchronization (203)8.7.3 F2003 Motion step skipped (203)8.7.4 F2004 Error in MotionProfile (204)8.7.5 F2005 Cam table invalid (205)8.7.6 F2006 MMC was removed (206)8.7.7 F2007 Switching to non-initialized operation mode (206)8.7.8 F2008 RL The motor type has changed (207)8.7.9 F2009 PL Load parameter default values (208)8.7.10 F2010 Error when initializing digital I/O (-> S-0-0423) (209)8.7.11 F2011 PLC - Error no. 1 (210)8.7.12 F2012 PLC - Error no. 2 (210)8.7.13 F2013 PLC - Error no. 3 (211)8.7.14 F2014 PLC - Error no. 4 (211)8.7.15 F2018 Device overtemperature shutdown (211)8.7.16 F2019 Motor overtemperature shutdown (212)8.7.17 F2021 Motor temperature monitor defective (213)8.7.18 F2022 Device temperature monitor defective (214)8.7.19 F2025 Drive not ready for control (214)8.7.20 F2026 Undervoltage in power section (215)8.7.21 F2027 Excessive oscillation in DC bus (216)8.7.22 F2028 Excessive deviation (216)8.7.23 F2031 Encoder 1 error: Signal amplitude incorrect (217)VIII/XXII Bosch Rexroth AG | Electric Drivesand ControlsRexroth IndraDrive | Troubleshooting GuideTable of ContentsPage8.7.24 F2032 Validation error during commutation fine adjustment (217)8.7.25 F2033 External power supply X10 error (218)8.7.26 F2036 Excessive position feedback difference (219)8.7.27 F2037 Excessive position command difference (220)8.7.28 F2039 Maximum acceleration exceeded (220)8.7.29 F2040 Device overtemperature 2 shutdown (221)8.7.30 F2042 Encoder 2: Encoder signals incorrect (222)8.7.31 F2043 Measuring encoder: Encoder signals incorrect (222)8.7.32 F2044 External power supply X15 error (223)8.7.33 F2048 Low battery voltage (224)8.7.34 F2050 Overflow of target position preset memory (225)8.7.35 F2051 No sequential block in target position preset memory (225)8.7.36 F2053 Incr. encoder emulator: Pulse frequency too high (226)8.7.37 F2054 Incr. encoder emulator: Hardware error (226)8.7.38 F2055 External power supply dig. I/O error (227)8.7.39 F2057 Target position out of travel range (227)8.7.40 F2058 Internal overflow by positioning input (228)8.7.41 F2059 Incorrect command value direction when positioning (229)8.7.42 F2063 Internal overflow master axis generator (230)8.7.43 F2064 Incorrect cmd value direction master axis generator (230)8.7.44 F2067 Synchronization to master communication incorrect (231)8.7.45 F2068 Brake error (231)8.7.46 F2069 Error when releasing the motor holding brake (232)8.7.47 F2074 Actual pos. value 1 outside absolute encoder window (232)8.7.48 F2075 Actual pos. value 2 outside absolute encoder window (233)8.7.49 F2076 Actual pos. value 3 outside absolute encoder window (234)8.7.50 F2077 Current measurement trim wrong (235)8.7.51 F2086 Error supply module (236)8.7.52 F2087 Module group communication error (236)8.7.53 F2100 Incorrect access to command value memory (237)8.7.54 F2101 It was impossible to address MMC (237)8.7.55 F2102 It was impossible to address I2C memory (238)8.7.56 F2103 It was impossible to address EnDat memory (238)8.7.57 F2104 Commutation offset invalid (239)8.7.58 F2105 It was impossible to address Hiperface memory (239)8.7.59 F2110 Error in non-cyclical data communic. of power section (240)8.7.60 F2120 MMC: Defective or missing, replace (240)8.7.61 F2121 MMC: Incorrect data or file, create correctly (241)8.7.62 F2122 MMC: Incorrect IBF file, correct it (241)8.7.63 F2123 Retain data backup impossible (242)8.7.64 F2124 MMC: Saving too slowly, replace (243)8.7.65 F2130 Error comfort control panel (243)8.7.66 F2140 CCD slave error (243)8.7.67 F2150 MLD motion function block error (244)8.7.68 F2174 Loss of motor encoder reference (244)8.7.69 F2175 Loss of optional encoder reference (245)Troubleshooting Guide | Rexroth IndraDrive Electric Drivesand Controls| Bosch Rexroth AG IX/XXIITable of ContentsPage8.7.70 F2176 Loss of measuring encoder reference (246)8.7.71 F2177 Modulo limitation error of motor encoder (246)8.7.72 F2178 Modulo limitation error of optional encoder (247)8.7.73 F2179 Modulo limitation error of measuring encoder (247)8.7.74 F2190 Incorrect Ethernet configuration (248)8.7.75 F2260 Command current limit shutoff (249)8.7.76 F2270 Analog input 1 or 2, wire break (249)8.7.77 F2802 PLL is not synchronized (250)8.7.78 F2814 Undervoltage in mains (250)8.7.79 F2815 Overvoltage in mains (251)8.7.80 F2816 Softstart fault power supply unit (251)8.7.81 F2817 Overvoltage in power section (251)8.7.82 F2818 Phase failure (252)8.7.83 F2819 Mains failure (253)8.7.84 F2820 Braking resistor overload (253)8.7.85 F2821 Error in control of braking resistor (254)8.7.86 F2825 Switch-on threshold braking resistor too low (255)8.7.87 F2833 Ground fault in motor line (255)8.7.88 F2834 Contactor control error (256)8.7.89 F2835 Mains contactor wiring error (256)8.7.90 F2836 DC bus balancing monitor error (257)8.7.91 F2837 Contactor monitoring error (257)8.7.92 F2840 Error supply shutdown (257)8.7.93 F2860 Overcurrent in mains-side power section (258)8.7.94 F2890 Invalid device code (259)8.7.95 F2891 Incorrect interrupt timing (259)8.7.96 F2892 Hardware variant not supported (259)8.8 SERCOS Error Codes / Error Messages of Serial Communication (259)9 Warnings (Exxxx) (263)9.1 Fatal Warnings (E8xxx) (263)9.1.1 Behavior in the Case of Fatal Warnings (263)9.1.2 E8025 Overvoltage in power section (263)9.1.3 E8026 Undervoltage in power section (264)9.1.4 E8027 Safe torque off while drive enabled (265)9.1.5 E8028 Overcurrent in power section (265)9.1.6 E8029 Positive position limit exceeded (266)9.1.7 E8030 Negative position limit exceeded (267)9.1.8 E8034 Emergency-Stop (268)9.1.9 E8040 Torque/force actual value limit active (268)9.1.10 E8041 Current limit active (269)9.1.11 E8042 Both travel range limit switches activated (269)9.1.12 E8043 Positive travel range limit switch activated (270)9.1.13 E8044 Negative travel range limit switch activated (271)9.1.14 E8055 Motor overload, current limit active (271)9.1.15 E8057 Device overload, current limit active (272)X/XXII Bosch Rexroth AG | Electric Drivesand ControlsRexroth IndraDrive | Troubleshooting GuideTable of ContentsPage9.1.16 E8058 Drive system not ready for operation (273)9.1.17 E8260 Torque/force command value limit active (273)9.1.18 E8802 PLL is not synchronized (274)9.1.19 E8814 Undervoltage in mains (275)9.1.20 E8815 Overvoltage in mains (275)9.1.21 E8818 Phase failure (276)9.1.22 E8819 Mains failure (276)9.2 Warnings of Category E4xxx (277)9.2.1 E4001 Double MST failure shutdown (277)9.2.2 E4002 Double MDT failure shutdown (278)9.2.3 E4005 No command value input via master communication (279)9.2.4 E4007 SERCOS III: Consumer connection failed (280)9.2.5 E4008 Invalid addressing command value data container A (280)9.2.6 E4009 Invalid addressing actual value data container A (281)9.2.7 E4010 Slave not scanned or address 0 (281)9.2.8 E4012 Maximum number of CCD slaves exceeded (282)9.2.9 E4013 Incorrect CCD addressing (282)9.2.10 E4014 Incorrect phase switch of CCD slaves (283)9.3 Possible Warnings When Operating Safety Technology (E3xxx) (283)9.3.1 Behavior in Case a Safety Technology Warning Occurs (283)9.3.2 E3100 Error when checking input signals (284)9.3.3 E3101 Error when checking acknowledgment signal (284)9.3.4 E3102 Actual position values validation error (285)9.3.5 E3103 Dynamization failed (285)9.3.6 E3104 Safety parameters validation error (286)9.3.7 E3105 Validation error of safe operation mode (286)9.3.8 E3106 System error safety technology (287)9.3.9 E3107 Safe reference missing (287)9.3.10 E3108 Safely-monitored deceleration exceeded (288)9.3.11 E3110 Time interval of forced dynamization exceeded (289)9.3.12 E3115 Prewarning, end of brake check time interval (289)9.3.13 E3116 Nominal load torque of holding system reached (290)9.4 Non-Fatal Warnings (E2xxx) (290)9.4.1 Behavior in Case a Non-Fatal Warning Occurs (290)9.4.2 E2010 Position control with encoder 2 not possible (291)9.4.3 E2011 PLC - Warning no. 1 (291)9.4.4 E2012 PLC - Warning no. 2 (291)9.4.5 E2013 PLC - Warning no. 3 (292)9.4.6 E2014 PLC - Warning no. 4 (292)9.4.7 E2021 Motor temperature outside of measuring range (292)9.4.8 E2026 Undervoltage in power section (293)9.4.9 E2040 Device overtemperature 2 prewarning (294)9.4.10 E2047 Interpolation velocity = 0 (294)9.4.11 E2048 Interpolation acceleration = 0 (295)9.4.12 E2049 Positioning velocity >= limit value (296)9.4.13 E2050 Device overtemp. Prewarning (297)Troubleshooting Guide | Rexroth IndraDrive Electric Drivesand Controls| Bosch Rexroth AG XI/XXIITable of ContentsPage9.4.14 E2051 Motor overtemp. prewarning (298)9.4.15 E2053 Target position out of travel range (298)9.4.16 E2054 Not homed (300)9.4.17 E2055 Feedrate override S-0-0108 = 0 (300)9.4.18 E2056 Torque limit = 0 (301)9.4.19 E2058 Selected positioning block has not been programmed (302)9.4.20 E2059 Velocity command value limit active (302)9.4.21 E2061 Device overload prewarning (303)9.4.22 E2063 Velocity command value > limit value (304)9.4.23 E2064 Target position out of num. range (304)9.4.24 E2069 Holding brake torque too low (305)9.4.25 E2070 Acceleration limit active (306)9.4.26 E2074 Encoder 1: Encoder signals disturbed (306)9.4.27 E2075 Encoder 2: Encoder signals disturbed (307)9.4.28 E2076 Measuring encoder: Encoder signals disturbed (308)9.4.29 E2077 Absolute encoder monitoring, motor encoder (encoder alarm) (308)9.4.30 E2078 Absolute encoder monitoring, opt. encoder (encoder alarm) (309)9.4.31 E2079 Absolute enc. monitoring, measuring encoder (encoder alarm) (309)9.4.32 E2086 Prewarning supply module overload (310)9.4.33 E2092 Internal synchronization defective (310)9.4.34 E2100 Positioning velocity of master axis generator too high (311)9.4.35 E2101 Acceleration of master axis generator is zero (312)9.4.36 E2140 CCD error at node (312)9.4.37 E2270 Analog input 1 or 2, wire break (312)9.4.38 E2802 HW control of braking resistor (313)9.4.39 E2810 Drive system not ready for operation (314)9.4.40 E2814 Undervoltage in mains (314)9.4.41 E2816 Undervoltage in power section (314)9.4.42 E2818 Phase failure (315)9.4.43 E2819 Mains failure (315)9.4.44 E2820 Braking resistor overload prewarning (316)9.4.45 E2829 Not ready for power on (316)。
1. Warning 280:’i’:unreferenced local variable说明局部变量i 在函数中未作任何的存取操作解决方法消除函数中i 变量的宣告及即定义的参数在程序中并未调用2 Warning 206:’Music3’:missing function-prototype说明Music3( )函数未作宣告或未作外部宣告所以无法给其他函数调用解决方法将叙述void Music3(void)写在程序的最前端作宣告如果是其他文件的函数则要写成extern void Music3(void),即作外部宣告3Error:318:can’t open file ‘beep.h’说明在编译C:\8051\MANN.C 程序过程中由于main.c 用了指令#i nclude “beep.h”,但却找不到所致解决方法编写一个beep.h 的包含档并存入到c:\8051 的工作目录中4 Error 237:’LedOn’:function already has a body说明LedOn( )函数名称重复定义即有两个以上一样的函数名称解决方法修正其中的一个函数名称使得函数名称都是独立的5 ***WARNING 16:UNCALLED SEGMENT,IGNORED FOR OVERLAY PROCESSSEGMENT: ?PR?_DELAYX1MS?DELAY说明DelayX1ms( )函数未被其它函数调用也会占用程序记忆体空间解决方法去掉DelayX1ms( )函数或利用条件编译#if …..#endif,可保留该函数并不编译6 ***WARNING 6 :XDATA SPACE MEMORY OVERLAPFROM : 0025HTO: 0025H说明外部资料ROM 的0025H 重复定义地址解决方法外部资料ROM 的定义如下Pdata unsigned charXFR_ADC _at_0x25 其中XFR_ADC 变量的名称为0x25,请检查是否有其它的变量名称也是定义在0x25 处并修正它7 WARNING 206:’DelayX1ms’: missing function-prototype C:\8051\INPUT.CError 267 :’DelayX1ms ‘:requires ANSI-style prototypeC:\8051\INPUT.C说明程序中有调用DelayX1ms 函数但该函数没定义即未编写程序内容或函数已定义但未作宣告解决方法编写DelayX1ms 的内容编写完后也要作宣告或作外部宣告可在delay.h 的包含档宣告成外部以便其它函数调用8 ***WARNING 1:UNRESOLVED EXTERNAL SYMBOL SYMBOL:MUSIC3解决办法:1.是文件没有添加到工程里。
FAQ0:出现uncorrectable error : uncorrectable error错误的解决答:A.软件版本的问题,我们提供的第一版的软件(2009年12月份的版本)在个别板子上会这个错误,请到我们的代码更新空间下载最新的代码包。
uboot、kernel的运行之处都会打印出该镜像的制作时间,根据时间来判断是不是软件版本的问题。
如uboot的:U-Boot 1.1.6 (Mar 14 2010 - 19:45:59) for SMDK6410如kernel的:Linux version 2.6.28.6 (figo@figo-desktop) (gcc version 4.3.2 (Sourcery G++ Lite 2008 q3-72) ) #186 PREEMPT Thu Dec 17 13:56:42 CST 2009B. 部分用户第一次烧写linux && Android系统的时候会遇到s3c-nand: ECC uncorrectable error detected这样的问题,这是因为WinCE对Nandflash 的OOB区的操作和Linux系统不一致,导致linux认为是坏块。
出现这样的问题的时候请按照下面的步骤解决:i.uboot命令行中运行下面命令:nand erase 0该命令将删除整块nandflash。
ii.使用SD启动的uboot重新烧写各个镜像文件。
如果这样做还是出问题,那么第一步中的nand erase 0 换成nand scrub,并根据输出提示输入y,回车,将nand包括OOB在内的所有内容彻底清除,并重复第二步。
FAQ1:终端老是跳出这个:[root@Real6410 /]# sh: apm: not foundQDir::readDirEntries: Cannot read the directory: /usr/lib/ipkg/externinfo什么原因?答:1.qt运行的时候会去运行apm命令,但实际上文件系统没有安装这个命令,解决办法。
我的想法比较傻瓜,就是在文件系统中增加一个可执行脚本apm,当然这个脚本什么也不用做,内容如下即可:#!/bin/sh在主机中给这个脚本增加可执行属性并放到板子文件系统的/usr/sbin下即可。
我已做过实验可以消除掉 sh: apm: not found。
2.自己手动建立/usr/lib/ipkg/externinfo目录即可:mkdir -p /usr/lib/ipkg/externinfoFAQ2:进入系统后,系统自选择的网卡模式为 eth0: link up ,100Mbps , full-duplex, lpa 0x45E1 但只有10M模式才能连接网络如果在u-boot执行国过网络命令(tftp ,ping等)再启动内核,则系统自选择网卡模式为eth0: link up ,10Mbps , full-duplex, lpa 0x45E1该如何解决?答:这是网卡之间的配合问题,我试过同一块板子,通过switch连接到pc时,板子的网卡速率使用100M就会丢包严重,使用10M就非常理想,但是板子如果直接连到pc,那么使用100M也是非常理想的。
遇到这种情况时可以根据情况来修改uboot下的网络速率,修改方法为:修改uboot/drivers/dm9000x.c中的static int media_mode = DM9000_AUTO;修改为static int media_mode = DM9000_10MFD;这样便能强制使用10M模式,如果强制用100M则改为DM9000_100MFD,DM9000_AUTO 表示自适应速率。
FAQ3:Uart3不能使用,写/dev/ttySAC3不能产生信号,如何解决?答:这是由于uart3的相关引脚还没配置成uart3模式,解决办法:1.在s3c-linux-2.6.28.6-Real6410/arch/arm/mach-s3c6410/mach-smdk6410.c中添加下面的函数:void real6410_set_gpio(){unsigned int val;val = __raw_readl(S3C64XX_GPBCON);val &= ~(0xff<<8);val |= (0x22<<8); /* Output Mode */__raw_writel(val, S3C64XX_GPBCON);}2.在同一个文件的smdk6410_machine_init的最后加入real6410_set_gpio();FAQ4:版主,用你们提供的helper_sd.bin sd8686.bin后 wifi模块仍然无法加载。
打印下面两句后就没有了libertas_sdio: Libertas SDIO driverlibertas_sdio: Copyright Pierre Ossman没办法产生文档中所说的下面的输出信息:libertas_sdio: Libertas SDIO driverlibertas_sdio: Copyright Pierre Ossmanhqlibertas_sdio mmc0:0001:1: firmware: requesting ./helper_sd.binlibertas_sdio mmc0:0001:1: firmware: requesting ./sd8686.binlibertas: 00:22:43:6b:0b:9e, fw 9.70.3p24, cap 0x000003a3libertas: PREP_CMD: command 0x00a3 failed: 2libertas: PREP_CMD: command 0x00a3 failed: 2libertas: eth1: Marvell WLAN 802.11 adapter请问这是怎么回事?答:很可能是没有冷重启导致的,因为wifi模块在系统热重启后(比如说通过reboot命令重启、按reset按键重启)不能正常工作,必须断电重启才能重新进入正常模式。
FAQ5:Real6410中附带的光盘的linux文件夹下的三星6410测试程序,用ads怎么编译不通过呢?请问怎么才能编译通过呢?打开的时候会提示Environment variable 'RVCT22INC' not found答:刚刚试了一下,发现不能编译的原因是有几个指令ADS不能识别,而看了一下那个编译选项发现我使用的ADS1.2并不支持ARM11构架,因此可能问题就在这里,我不知道三星用的ADS是否和我的有不一样。
FAQ6:qtopia2.2.0在Ubuntu-9.10下按照手册说明不能编译,什么原因?答:Ubuntu下编译qtopia-2.2.0需要安装几个软件包,在Ubuntu下输入下面的命令进行安装:sudo apt-get -y install x-dev libx11-dev x11proto-xext-dev libxext-dev libqt3-mt-dev uuid uuid-dev如果是使用RedHat 9.0 或者RedHat AS4 的完全安装版那么不需要安装任何其他工具就可以完成编译。
FAQ7:使用key.c文件测试键盘的时候,程序中出现的问题:keyboard.c: can't emulate rawmode for keycode 139key 139 Releasedkeyboard.c: can't emulate rawmode for keycode 158key 158 Pressed另外在Qt-2.2.0下使用键盘的时候也出现类似问题,为什么?答:linux手册中已经强调过,按键编码并不是按照标准键盘进行编码,而是为了Android的使用进行编码,而QT使用标准的键盘编码,所以出现上面的问题。
FAQ8:Uboot中显示的内存大小是128M,并不是广告中宣传的256M,这是怎么回事?答:有用户反映我们的板子的内存和flash并不是宣传中的256M和1G,通过下面的指令可以看到内存和flash的情况:df -hfree m首先我们的板子的内存和flash分别是256M和1G,这肯定不会欺骗用户,除非不想混了,呵呵。
然后对于flash的容量问题,的确是小弟在烧写ubifs的时候没有正确设置ubifs文件系统的大小(不过我多少有点认为是ubimkvol这个命令的本身的问题),用修正之后的rootfs.cramfs重新烧写ubifs即可。
由于论坛限制文件大小所以这个cramfs放到http中。
再然后是内存的问题,要知道,samsang的好几个media驱动(CMM、POST、FIMC、2D、3D、MFC、JPG)在内核启动的时候就需要预先留出几十MB的memory为各自使用,剩下的才是系统可以使用的内存,因此这就是为什么看到的内存为196而不是256.另外有些用户反映在uboot下看到的内存是128M,那么这个uboot应该是我们最早发布的一个版本,到我们的http更新一下代码吧,这里只是显示为128,实际上还是256。
FAQ9:做完烧入的最后一步。
烧写QT下去之后。
并且修改一下内核的启动参数,让内核不再挂载cramfs格式的mtdblock0,转而挂载ubifs格式的mtdblock1:重启板子之后出现了Starting Qtopia, please waiting...Please press Enter to activate this console. Warning: could not register serverQDir::readDirEntries: Cannot read the directory: /usr/lib/ipkg/externinfo<6>usb 1-2: new full speed USB device using s3c2410-ohci and address 2usb 1-2: new full speed USB device using s3c2410-ohci and address 2<3>usb 1-2: device descriptor read/64, error -62usb 1-2: device descriptor read/64, error -62<3>usb 1-2: device descriptor read/64, error -62usb 1-2: device descriptor read/64, error -62<6>usb 1-2: new full speed USB device using s3c2410-ohci and address 3usb 1-2: new full speed USB device using s3c2410-ohci and address 3<3>usb 1-2: device descriptor read/64, error -62usb 1-2: device descriptor read/64, error -62<3>usb 1-2: device descriptor read/64, error -62usb 1-2: device descriptor read/64, error -62<6>usb 1-2: new full speed USB device using s3c2410-ohci and address 4usb 1-2: new full speed USB device using s3c2410-ohci and address 4<3>usb 1-2: device not accepting address 4, error -62usb 1-2: device not accepting address 4, error -62<6>usb 1-2: new full speed USB device using s3c2410-ohci and address 5usb 1-2: new full speed USB device using s3c2410-ohci and address 5<3>usb 1-2: device not accepting address 5, error -62usb 1-2: device not accepting address 5, error -62<3>hub 1-0:1.0: unable to enumerate USB device on port 2hub 1-0:1.0: unable to enumerate USB device on port 2而且好像eth0也没有打开。