Hello,
I have been trying to enable Neon to run Neon-VFP instructions. I have the in-line assembly ARM instructions to enable Neon :
-----------------------------------------------from TI Wiki-------------
MRC p15, #0, r1, c1, c0, #2 ; r1 = Access Control Register
ORR r1, r1, #(0xf << 20) ; enable full access for p10,11
MCR p15, #0, r1, c1, c0, #2 ; Access Control Register = r1
MOV r1, #0
MCR p15, #0, r1, c7, c5, #4 ; flush prefetch buffer because of FMXR below
; and CP 10 & 11 were only just enabled
; Enable VFP itself
MOV r0,#0x40000000
FMXR FPEXC, r0 ; FPEXC = r0
------------------------------------------------
And I included it into my my code and compiled with TI CCS5, loaded into ARM A8 memory and run it with my BeagleBone White debug mode. But first instruction, "MRC p15, #0, r1, c1, c0, #2", actually crashes the ARM.
Just wondering if this register setting instruction can cause any watchdog related reset or some other exception? Or, anything I need to run before before the this register setting instruction?
Thank you,
xyin