Hello all,
我最近在看TMS570的初始化的报告如下:
http://www.ti.com/lit/an/spna106d/spna106d.pdf
根据文件中,共有57个步骤。
1. Enable the floa
ting-point unit (FPU) inside the Cortex-R4F CPU (Section 2.1).
2. Initialize the CPU registers and FPU registers, including stack pointers (Section 2.2).
3. Enable the flash interface module's response to an ECC error indicated by the CPU on accesses to
flash (Section 2.3).
4. Enable the CPU's Event Bus export mechanism (Section 2.4).
5. Enable the CPU's Single-Error-Correction Double-Error-Detection (SECDED) logic for accesses to
Flash memory (CPU's ATCM interface) (Section 2.5).
6. Handle the cause of reset to determine whether or not to continue with the start-up sequence
(Section 2.6)
7. Check if any ESM group3 error was indicated during power-up. If any ESM group3 error occurred
during the power-up, it is not safe to continue code execution and the microcontroller initialization
process can be stopped at this point. The subsequent steps in this sequence assume that there was
no ESM group3 error during power-up.
8. Configure PLL control registers with the largest value for the last-stage of the dividers (R-dividers)
(Section 2.7).
...........
我的问题如下,譬如第一个步骤,要开启FPU、或是第二个步骤,要初始化CPU的register。但我在执行范例程式时,都并未有执行此步骤。
观看CCS,也找不到这个过程。这是因为他是CPU内部会自己执行,而不用工程师去写code执行的吗?