Preliminary
www.ti.com
Services for HLOS Support
21.11 Services for HLOS Support
The Cortex™-A8 cores in the device restrict accesses to few ARM coprocessor registers to the secure
mode only. The GP Device forbids entering the secure mode and hence do not provide any secure
services. However HLOS need to access secure registers for L2 cache maintenance and wake up of
slave CPU(s).
For these purposes, the ROM Code provides different primitives that can be called on GP Device type.
These services are implemented in monitor mode (service shall be called using the SMC instruction)
and do not use any resources like RAM/stack or hardware outside the MPU.
The list of services is:
•
L2 cache maintenance
–
L2 Cache Set Debug Register
–
L2 Cache Clean & Invalidate Range of PA
–
L2 Cache Set Control Register
•
Multicore infrastructure maintenance
–
Read AuxCoreBoot 0 and 1 Register
–
Modify AuxCoreBoot 0
–
Write AuxCoreBoot 1
–
Read Control and Status Register
–
Clear Control and Status Register
21.12 Tracing
Tracing in the Public ROM Code consist in three 32 bit vectors for which each bit corresponds to a
particular “way point” in the ROM Code execution sequence (refer to
). Tracing vectors are
initialized at the very beginning of the startup phase and updated all along the boot process.
There are two sets of tracing vectors. The first set is the current trace information (after cold or warm
reset). The second set holds a copy of trace vectors collected at the first ROM Code run after cold
reset. As a consequence after a warm reset, it is possible to have visibility on the boot scenario that
occurred during cold reset.
Table 21-38. Tracing Vectors
Trace vector
Bit #
Group
Meaning
1
0
General
Passed the public reset vector
1
1
General
Entered main function
1
2
General
Running after the cold reset
1
3
Boot
Main booting routine entered
1
4
Memory Boot
Memory booting started
1
5
Peripheral Boot
Peripheral booting started
1
6
Boot
Booting loop reached last device
1
7
Boot
GP header TOC found
1
8
Boot
Booting Message “Skip Peripheral Booting” received
1
9
Boot
Booting Message “Change Device” received
1
10
Peripheral Boot
Booting Message “Peripheral booting” received
1
11
Peripheral Boot
Booting Message “Get Asic Id”
1
12
Peripheral Boot
Device initialized
1
13
Peripheral Boot
Asic Id sent
1
14
Peripheral Boot
Image received
1
15
Peripheral Boot
Peripheral booting failed
1
16
Peripheral Boot
Booting Message not received (timeout)
1
17
Peripheral Boot
Image size not received (timeout)
1
18
Peripheral Boot
Image not received (timeout)
2031
SPRUGX9 – 15 April 2011
ROM Code Memory and Peripheral Booting
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...