Our customer wants to debug using CCS after booting from SD card. They used the customized GEL files to read the PLL registers, but the read failed. The GEL files were set up by following the procedure linked below, and ran by connecting DMSC_Cortex_M3_0. The launch.js script was unused because the DMSC firmware has already been executed by booting.
software-dl.ti.com/.../ccs_setup_j7200.html
Attach the customized GEL files here:
Attach the GEL output log here:
DMSC_Cortex_M3_0: GEL Output: Debugging disabled. DMSC_Cortex_M3_0: GEL Output: Reading off all PLLs configuration. DMSC_Cortex_M3_0: GEL Output: Read off Main PLL 0 (Main PLL) DMSC_Cortex_M3_0: GEL Output: Base address: 0x00680000 DMSC_Cortex_M3_0: GEL Output: PLL index: 0x00000000 DMSC_Cortex_M3_0: GEL Output: PLL index register base: 0x00000000 DMSC_Cortex_M3_0: GEL Output: Register: 0x00000020 DMSC_Cortex_M3_0: GEL Output: Reference Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Feedback Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Fractional Multiplier is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #1 is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #2 is: 0 DMSC_Cortex_M3_0: GEL Output: Number of hsidvs: 0 DMSC_Cortex_M3_0: GEL Output: Parsed PLL configuration information. DMSC_Cortex_M3_0: GEL Output: Read off Main PLL 1 (Peripheral 0 PLL) DMSC_Cortex_M3_0: GEL Output: Base address: 0x00680000 DMSC_Cortex_M3_0: GEL Output: PLL index: 0x00000001 DMSC_Cortex_M3_0: GEL Output: PLL index register base: 0x00001000 DMSC_Cortex_M3_0: GEL Output: Register: 0x00000020 DMSC_Cortex_M3_0: GEL Output: Reference Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Feedback Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Fractional Multiplier is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #1 is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #2 is: 0 DMSC_Cortex_M3_0: GEL Output: Number of hsidvs: 0 DMSC_Cortex_M3_0: GEL Output: Parsed PLL configuration information. DMSC_Cortex_M3_0: GEL Output: Read off Main PLL 2 (Peripheral 1 PLL) DMSC_Cortex_M3_0: GEL Output: Base address: 0x00680000 DMSC_Cortex_M3_0: GEL Output: PLL index: 0x00000002 DMSC_Cortex_M3_0: GEL Output: PLL index register base: 0x00002000 DMSC_Cortex_M3_0: GEL Output: Register: 0x00000020 DMSC_Cortex_M3_0: GEL Output: Reference Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Feedback Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Fractional Multiplier is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #1 is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #2 is: 0 DMSC_Cortex_M3_0: GEL Output: Number of hsidvs: 0 DMSC_Cortex_M3_0: GEL Output: Parsed PLL configuration information. DMSC_Cortex_M3_0: GEL Output: Read off Main PLL 3 (CPSW5X PLL) DMSC_Cortex_M3_0: GEL Output: Base address: 0x00680000 DMSC_Cortex_M3_0: GEL Output: PLL index: 0x00000003 DMSC_Cortex_M3_0: GEL Output: PLL index register base: 0x00003000 DMSC_Cortex_M3_0: GEL Output: Register: 0x00000020 DMSC_Cortex_M3_0: GEL Output: Reference Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Feedback Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Fractional Multiplier is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #1 is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #2 is: 0 DMSC_Cortex_M3_0: GEL Output: Number of hsidvs: 0 DMSC_Cortex_M3_0: GEL Output: Parsed PLL configuration information. DMSC_Cortex_M3_0: GEL Output: Read off Main PLL 4 (Audio 0 PLL) DMSC_Cortex_M3_0: GEL Output: Base address: 0x00680000 DMSC_Cortex_M3_0: GEL Output: PLL index: 0x00000004 DMSC_Cortex_M3_0: GEL Output: PLL index register base: 0x00004000 DMSC_Cortex_M3_0: GEL Output: Register: 0x00000020 DMSC_Cortex_M3_0: GEL Output: Reference Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Feedback Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Fractional Multiplier is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #1 is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #2 is: 0 DMSC_Cortex_M3_0: GEL Output: Number of hsidvs: 0 DMSC_Cortex_M3_0: GEL Output: Parsed PLL configuration information. DMSC_Cortex_M3_0: GEL Output: Read off Main PLL 7 (MSMC PLL) DMSC_Cortex_M3_0: GEL Output: Base address: 0x00680000 DMSC_Cortex_M3_0: GEL Output: PLL index: 0x00000007 DMSC_Cortex_M3_0: GEL Output: PLL index register base: 0x00007000 DMSC_Cortex_M3_0: GEL Output: Register: 0x00000020 DMSC_Cortex_M3_0: GEL Output: Reference Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Feedback Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Fractional Multiplier is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #1 is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #2 is: 0 DMSC_Cortex_M3_0: GEL Output: Number of hsidvs: 0 DMSC_Cortex_M3_0: GEL Output: Parsed PLL configuration information. DMSC_Cortex_M3_0: GEL Output: Read off Main PLL 8 (ARM0 PLL) DMSC_Cortex_M3_0: GEL Output: Base address: 0x00680000 DMSC_Cortex_M3_0: GEL Output: PLL index: 0x00000008 DMSC_Cortex_M3_0: GEL Output: PLL index register base: 0x00008000 DMSC_Cortex_M3_0: GEL Output: Register: 0x00000020 DMSC_Cortex_M3_0: GEL Output: Reference Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Feedback Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Fractional Multiplier is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #1 is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #2 is: 0 DMSC_Cortex_M3_0: GEL Output: Number of hsidvs: 0 DMSC_Cortex_M3_0: GEL Output: Parsed PLL configuration information. DMSC_Cortex_M3_0: GEL Output: Read off Main PLL 12 (DDR PLL) DMSC_Cortex_M3_0: GEL Output: Base address: 0x00680000 DMSC_Cortex_M3_0: GEL Output: PLL index: 0x0000000C DMSC_Cortex_M3_0: GEL Output: PLL index register base: 0x0000C000 DMSC_Cortex_M3_0: GEL Output: Register: 0x00000020 DMSC_Cortex_M3_0: GEL Output: Reference Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Feedback Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Fractional Multiplier is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #1 is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #2 is: 0 DMSC_Cortex_M3_0: GEL Output: Number of hsidvs: 0 DMSC_Cortex_M3_0: GEL Output: Parsed PLL configuration information. DMSC_Cortex_M3_0: GEL Output: Read off Main PLL 14 (Main Domain Pulsar) PLL) DMSC_Cortex_M3_0: GEL Output: Base address: 0x00680000 DMSC_Cortex_M3_0: GEL Output: PLL index: 0x0000000E DMSC_Cortex_M3_0: GEL Output: PLL index register base: 0x0000E000 DMSC_Cortex_M3_0: GEL Output: Register: 0x00000020 DMSC_Cortex_M3_0: GEL Output: Reference Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Feedback Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Fractional Multiplier is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #1 is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #2 is: 0 DMSC_Cortex_M3_0: GEL Output: Number of hsidvs: 0 DMSC_Cortex_M3_0: GEL Output: Parsed PLL configuration information. DMSC_Cortex_M3_0: GEL Output: Read off MCU PLL 0 (MCU PLL) DMSC_Cortex_M3_0: GEL Output: Base address: 0x40D00000 DMSC_Cortex_M3_0: GEL Output: PLL index: 0x00000000 DMSC_Cortex_M3_0: GEL Output: PLL index register base: 0x00000000 DMSC_Cortex_M3_0: GEL Output: Register: 0x00000020 DMSC_Cortex_M3_0: GEL Output: Reference Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Feedback Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Fractional Multiplier is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #1 is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #2 is: 0 DMSC_Cortex_M3_0: GEL Output: Number of hsidvs: 0 DMSC_Cortex_M3_0: GEL Output: Parsed PLL configuration information. DMSC_Cortex_M3_0: GEL Output: Read off MCU PLL 1 (MCU Peripheral PLL) DMSC_Cortex_M3_0: GEL Output: Base address: 0x40D00000 DMSC_Cortex_M3_0: GEL Output: PLL index: 0x00000001 DMSC_Cortex_M3_0: GEL Output: PLL index register base: 0x00001000 DMSC_Cortex_M3_0: GEL Output: Register: 0x00000020 DMSC_Cortex_M3_0: GEL Output: Reference Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Feedback Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Fractional Multiplier is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #1 is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #2 is: 0 DMSC_Cortex_M3_0: GEL Output: Number of hsidvs: 0 DMSC_Cortex_M3_0: GEL Output: Parsed PLL configuration information. DMSC_Cortex_M3_0: GEL Output: Read off MCU PLL 2 (MCU CPSW PLL) DMSC_Cortex_M3_0: GEL Output: Base address: 0x40D00000 DMSC_Cortex_M3_0: GEL Output: PLL index: 0x00000002 DMSC_Cortex_M3_0: GEL Output: PLL index register base: 0x00002000 DMSC_Cortex_M3_0: GEL Output: Register: 0x00000020 DMSC_Cortex_M3_0: GEL Output: Reference Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Feedback Divider is: 0 DMSC_Cortex_M3_0: GEL Output: Fractional Multiplier is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #1 is: 0 DMSC_Cortex_M3_0: GEL Output: Output Divider #2 is: 0 DMSC_Cortex_M3_0: GEL Output: Number of hsidvs: 0 DMSC_Cortex_M3_0: GEL Output: Parsed PLL configuration information. DMSC_Cortex_M3_0: GEL Output: Reading off all PLLs configuration ...done.
By the way, the SBL test application (sbl_baremetal_boot_test_j7200_evm_mpu1_0TestApp_release) is used as the MPU application.
software-dl.ti.com/.../boot_k3.html
The thread related to this post is here: e2e.ti.com/.../dra821u-how-to-change-the-initial-mpu-a72-clock-frequency-in-sbl
Best regards,
Daisuke