Fix pru-swd.p
authorNIIBE Yutaka <gniibe@fsij.org>
Sat, 26 Mar 2016 12:32:44 +0000 (21:32 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Sat, 26 Mar 2016 12:32:44 +0000 (21:32 +0900)
pru-swd.p

index 9bbf6c1..3a0f0c5 100644 (file)
--- a/pru-swd.p
+++ b/pru-swd.p
@@ -331,7 +331,7 @@ COMMAND_LOOP:
        // Clear the event
        MOV     r1, #INTC
        LDI     r2, #ARM_PRU0_INTERRUPT
-       SBCO    r2, r1, SICR, 4
+       SBBO    r2, r1, INTC_SICR, 4
        
        // Load values from data RAM into register R0
        LBCO    r0, CT_PRUDRAM, 0, 1