2012-03-07, 02:49:22
(2012-03-06, 13:01:55)Mikael Gustafsson Wrote: Sorry I didn't mean the PCLAT register, i meant the BANKSEL bits as you pointed out earlier. Something like this
Code:STATUS.RP0 = 0
STATUS.RP1 = 0
Yipee found the problem it is the status file.
;---------------------------------------------------------------------
; GOTO user application
;--------------------------------------------------------------------- org STARTADDR - 3 ;space to deposit goto application
loadusr
clrf STATUS <-- added this now all works ok
;nop ;page select, replaced by gui
;nop ;page select, replaced by gui
;nop ;goto, replaced by gui