AnsweredAssumed Answered

dsp56802  - error on write PLLCR

Question asked by Victor Martyshenko on May 19, 2009
Latest reply on May 26, 2009 by Pascal Irrle
Hello, I am a beginner. I encountered a problem when performing code. Please help to fix this.
 
When step-by-step debugging code in the debugger an error occurs: "Error occured while trying to step the target out of an address range"
 


F_EntryPoint:

        orc     #4096,X:IPR

        move    X:GPR15,X0

        andc    #-769,X0

        orc     #1024,X0

        move    X0,X:GPR15

        orc     #61440,X:PLLCR

        orc     #64,X:DFIU_CNTL

        move    X:$103f,X0

        move    X0,X:ISOCTL

        andc    #65471,X:DFIU_CNTL

        andc    #65531,X:PLLCR

_L8:

        bftstl  #4,X:PLLSR

        bhs     _L8

        movei   #129,X:PLLCR

        movei   #0,X:CLKOSR

        movei   #8487,X:PLLDB

_L12:

        bftstl  #32,X:PLLSR

        blo     _L12

        movei   #130,X:PLLCR

        ;on this step occured error

        ;after this PLLCR takes value 17 (decimal)

        jmp     Finit_56800_

        rts     

Outcomes