Embedded Target for Motorola MPC555 |
 |
Boot Code Parameters for CAN Download
The boot code parameters for download over CAN determine
- CAN baud rate
- CAN message identifier for Command Receive Objects (CRO)
- CAN message identifier for Data Transmit Objects (DTO)
- Can Calibration Protocol Station Address
- The duration of the window during which the boot code listens for a download command message
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:
- Open a PC Command Prompt window.
- Check whether you have the environment variables
MATLABROOT
and DIABROOT
defined by typing
- 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.
- Recompile the boot code by typing the following at the PC Command Prompt:
Note
You should not make changes to the boot code without fully understanding the effect of your changes. Note also that the boot code may be changed without notice in future releases of this product.
|
| Downloading Boot or Application Code via CAN Without Manual CPU Reset | | Generating ASAP2 Files |  |