We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello all, I have ran into a sticky problem that I hope someone can help me with. I am using the Dave tool to create a project. I use the dpt file to generate the Start167.a66 file (via Keil). Within the Start167.a66 file are the following lines of code that are suppose to initialize the XPERCON register to 0xC01.
$SET (INIT_XPERCON = 1) ; Uv2/Dave .. .. V_XPERCON EQU 3073 ; Uv2/Dave ... ... $IF (INIT_XPERCON = 1) ; Improtant XPERCON must be set before SYSCON.XPEN is enabled XPERCON DEFR 0F024H EXTR #1 MOV XPERCON,#V_XPERCON $ENDIF
MOV R1,#3073 MOV XPERCON, R1