Embedded Target for Motorola MPC555    

Boot Code Parameters for CAN Download

The boot code parameters for download over CAN determine

Table 3-1 shows the default values for these parameters. These defaults should be suitable for most applications.

Table 3-1: Default Boot Code Parameters
Parameter
Default Value
CAN baud rate
500,000
CCP station address
1
CAN message identifier (CRO)
6FA
CAN message identifier (DTO)
6FB
Duration of listening window
40 ms

You cannot change these default values except by modifying and recompiling the boot code. If it is absolutely necessary to do this, you can recompile the boot code as follows:

  1. Open a PC Command Prompt window.
  2. Check whether you have the environment variables MATLABROOT and DIABROOT defined by typing
  3. If these variables are not defined you must define them by typing the following commands:

The paths matlabroot and diabpath specified in the commands should be the location where MATLAB and the Diab compiler are installed.

  1. Recompile the boot code by typing the following at the PC Command Prompt:


  Downloading Boot or Application Code via CAN Without Manual CPU Reset Generating ASAP2 Files