You didn't follow my advice from the other thread....
When you use the #CONFIG/#ENDCONFIG block you can't also have the @ in there and you can only set the CONFIG bits with it, you can't include the error lever stuff within the block. So, the original
Code:
@ ERRORLEVEL -306 ; Retira o erro de crossing page boundary
@ __CONFIG _CP_OFF & _DEBUG_OFF & _CP_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _PWRTE_ON & _WDT_OFF & _XT_OSC
Becomes
Code:
@ ERRORLEVEL -306 ; Retira o erro de crossing page boundary
#CONFIG
__CONFIG _CP_OFF & _DEBUG_OFF & _CP_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _PWRTE_ON & _WDT_OFF & _XT_OSC
#ENDCONFIG
/Henrik.
Bookmarks