Other Parts Discussed in Thread: AM3358
Tool/software: TI C/C++ Compiler
I am nowhere after four months' struggle. Million thanks in advance who helps me out here.
My goal is to R/W to auxiliary system registers (e.g., DFSR) using TI's StarterWare Code in ARM Cortex A-8 microprocessor (Sitara). Sitara (uP) is part of a Texas Instrument Board called BagleBone Black (BBB).
To develop the software program, I started with the starter ware software package, developed for the BBB board by the manufacturer -TI. Code Composer Studio (Eclipse-based IDE) is used to build, compile, link, and load the program to onboard uP using JTAG interface. My program is written in C and arm-assembly. The code is compiled using the default compiler by TI.
As of now, I am unable to read any system-level registers (contain bit upset flags in Cache memory).
For example, during enabling error correction in Cache memory, the lines below do not work -
MRC p15, #1, r0, c9, c0, #2 ; Read L2 Cache Auxiliary Control Reg into R0
MCR p15,#0x0,r1,c7,c5,#6 ; invalidate entire branch predictor array
I get the following error – ’outside program memory’
Any suggestions?”
Note: I can run regular algorithms/ calculations/ R/W to DDR using JTAG fine.
Mahmud