Quantcast
Channel: BUG of MPLAB!
Browsing all 22 articles
Browse latest View live

BUG of MPLAB! (normal)

It is the second time I meet the same problem. I am using mplab7.20 with mpasm and icd2 and 16f877. My code can't work and the logic of the code is all right, then I found in the disassembly listing...

View Article



RE: BUG of MPLAB! (magio)

ORIGINAL: normal It is the second time I meet the same problem. I am using mplab7.20 with mpasm and icd2 and 16f877. My code can't work and the logic of the code is all right, then I found in the...

View Article

RE: BUG of MPLAB! (jspaarg)

Magio is correct, post some code. There are very few legitimate bugs in microchips tools (there are some). Generally the problem tends to be either your code, or your circuit.My code can't work and...

View Article

RE: BUG of MPLAB! (Guest)

Besides the advice on posting your exact code, may I suggest you to upgrade to v7.21.00.00 The v7.20 and v7.21 are interim versions, so if v7.20 has some bugs, there is a good chance that v7.21 has...

View Article

RE: BUG of MPLAB! (normal)

the following is my code: ... ;反车处理 reverse_setup ;>>>debug ; macro_set_rc7 ;<<< ;前次未完成,继续进行 ;备份当前档位 banksel cur_step movfw cur_step movwf...

View Article


RE: BUG of MPLAB! (Guest)

Did you try to include a blank line between the comment line and the goto instruction? I assembled your code fragment (cut/paste) in MPLAB v7.22 and all lines generated code. I used the actual text on...

View Article

RE: BUG of MPLAB! (normal)

there isn't blank line between the comment line and the goto instruction. I didn't save the original code. because when I found the problem, I deleted the original line and rewrited it to generate the...

View Article

RE: BUG of MPLAB! (ric)

I guess that this problem may relate to the charset(GBK) I used. I think it IS highly likely that the charset is involved. This is probably a double-byte charset. Possibly under some circumstances, the...

View Article


RE: BUG of MPLAB! (Guest)

That's a nice fix. Terminating each UNICODE comment with a standard char would reduce the problem. I would use probably a double char: '**', '//', 'blank blank', to avoid the char-swalowing syndrome...

View Article


RE: BUG of MPLAB! (normal)

thank ric and j_doin for your advice. while I still want to know why the compiler doesn't report error if it found invalid char in a line?

View Article

RE: BUG of MPLAB! (Guest)

As ric speculated, if a 'invalid' UNICODE char is causing a newline to be treated as the second byte of a 2-byte char, the editor/assembler will never notice the error: they will simply threat the...

View Article

BUG of MPLAB! (normal)

It is the second time I meet the same problem. I am using mplab7.20 with mpasm and icd2 and 16f877. My code can't work and the logic of the code is all right, then I found in the disassembly listing...

View Article

RE: BUG of MPLAB! (magio)

ORIGINAL: normal It is the second time I meet the same problem. I am using mplab7.20 with mpasm and icd2 and 16f877. My code can't work and the logic of the code is all right, then I found in the...

View Article


RE: BUG of MPLAB! (jspaarg)

Magio is correct, post some code. There are very few legitimate bugs in microchips tools (there are some). Generally the problem tends to be either your code, or your circuit.My code can't work and...

View Article

RE: BUG of MPLAB! (Guest)

Besides the advice on posting your exact code, may I suggest you to upgrade to v7.21.00.00 The v7.20 and v7.21 are interim versions, so if v7.20 has some bugs, there is a good chance that v7.21 has...

View Article


RE: BUG of MPLAB! (normal)

the following is my code: ... ;反车处理 reverse_setup ;>>>debug ; macro_set_rc7 ;<<< ;前次未完成,继续进行 ;备份当前档位 banksel cur_step movfw cur_step movwf...

View Article

RE: BUG of MPLAB! (Guest)

Did you try to include a blank line between the comment line and the goto instruction? I assembled your code fragment (cut/paste) in MPLAB v7.22 and all lines generated code. I used the actual text on...

View Article


RE: BUG of MPLAB! (normal)

there isn't blank line between the comment line and the goto instruction. I didn't save the original code. because when I found the problem, I deleted the original line and rewrited it to generate the...

View Article

RE: BUG of MPLAB! (ric)

I guess that this problem may relate to the charset(GBK) I used. I think it IS highly likely that the charset is involved. This is probably a double-byte charset. Possibly under some circumstances, the...

View Article

RE: BUG of MPLAB! (Guest)

That's a nice fix. Terminating each UNICODE comment with a standard char would reduce the problem. I would use probably a double char: '**', '//', 'blank blank', to avoid the char-swalowing syndrome...

View Article
Browsing all 22 articles
Browse latest View live




Latest Images