beautypg.com

Software downloading -13, Figure 4-7 shows a pos – Freescale Semiconductor StarCore SC140 User Manual

Page 123

background image

Main Capabilities of the EOnCE Module

SC140 DSP Core Reference Manual

4-13

Figure 4-7. Software Downloading

Execute CHOOSE_EOnCE and DEBUG_REQUEST instructions using the JTAG port.

EOnCE is in debug state and ready to receive a command in the ECR register.

Write a command into the ECR register with the address of the ERCV register.

The ERCV register is selected.

Write the program data to be transferred into the

memory of the ERCV register.

The ERCV register is written with the program data.

Write a command into the ECR register with the address

of the CORE_CMD register.

The CORE_CMD register is selected.

Write into the CORE_CMD register with a MOVE instruction from the ERCV

register to a core register.

The core register is written with the program data.

Write into the CORE_CMD register with a MOVE instruction from the core

register to a memory location.

The memory location is written with the program data.

Write a command into the ECR register with the address

of the CORE_CMD register.

The CORE_CMD register is selected.