Part Number: AM2434
Hi,
How do I enable CP14?
It does not matter what I do it remains disabled. Tried by software and JTAG.
CP15_COPROCESSOR_ACCESS 0xC0F00000
Thanks
Rasty
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: AM2434
Hi,
How do I enable CP14?
It does not matter what I do it remains disabled. Tried by software and JTAG.
CP15_COPROCESSOR_ACCESS 0xC0F00000
Thanks
Rasty
some more information:
1. Tried mapping of of 0x73D410000 to 0x10000000 with RAT/MPU
2. write 0xC5ACCE55 to 0x10000300
3. write 0xC5ACCE55 to 0x10000FB0
4. 0x10000304 (OSLAR) reads 0, good
5. 0x10000FB4 (LSR) reads 3 , NOT good
,
final imression that this module is read-only or RAT does not forward write transaction
is there anone here who is familiar with this area ?
Hello Rasty,
On AM243x/AM64x devices, the R5F cores run with certain security configurations that prevent direct CP14 access from application software.
When the processor attempts to execute a CP14 instruction (e.g., MRC p14, ...) and access is not permitted, it generates an Undefined Instruction
exception rather than returning data.
You can look at the example below.
C:\ti\mcu_plus_sdk_am64x_11_01_00_17\examples\kernel\dpl\test_undef
I feel that this is due to security restrictions user can't access either from software or Hw side (JTAG).
Regards,
Anil.
Hi Anil
I already understood that it causes exception and alternative path via memory is not working as well.
I need access to debug facilities behind C14, which one of the major perks of ARM architecture.
How do I relax security configuration ?
Thanks
Rasty
Hello Rasty,
I feel that this may not be enabled or supported due to security restrictions.
I need to check with other experts and will confirm with you.
Regards,
Anil.