|
楼主 |
发表于 2015-7-17 18:21:15
|
显示全部楼层
用百度没有查到同样的错误。
用谷歌查到了两条类似的错误。
http://www.microchip.com/forums/m788338.aspx
“
Hi,
I was running a project and compiling it fine for a fews days when all of a sudden I started getting very strange error:
Error [1389] attempt to reprogram configuration WDTEN "OFF" with SWON (is OFF)
I cannot seem to solve this problem which is illogical for my code. I have tried removing the #pragma config section entirely, but alas keesp on giving this error. Config bits are set in code, but that doesn't seem to make any difference.
Help would be appreciated.
post edited by art tech - Friday, May 02, 2014 8:20 AM
//-----------------------------------
Help
1) do not Hijack an old thread, start a new one.
2) what Tools MPLab ? Version? Compiler? Version?
3) the full error message.
4) The Code at the Line indicated in the message ( Plus some before and after)
5) are you #including a C File? (Don't)
6) is it in a header? ( Is it included more than once)
The Error says
#pragma config WDTEN = OFF
is followed by:
#pragma config WDTEN = SWON
This mean anything to you?
”
是老外的论坛。没有最终的结果,外国同行寻求帮助无果后怀疑是他的工程坏掉了,重建了工程。
“
My compiler error does indeed seem to have been a corrupt project and is working again in a freshly opened (and painfully rebuilt) project.
” |
|