- In CCS, import and build the CPU1
kernel project.
- Launch the target configuration
file.
- Connect to CPU1.
- Load the gel file provided in the
project folder to the project. Right click on CPU1 in the target configuration
and select "Open GEL Files View".
- In the "GEL Files" tab, click on
GEL Files. Right click in the "Script" window and select "Load GEL...". Navigate
to the project folder and load the gel file.
- In
emulation mode, the following memory locations need to be set to enable CAN boot
mode:
- Location 0xD00 with
0xFFFF
- Location 0xD01 with
0x5AFF
- Location 0xD04 with
0x00XX where XX is the boot mode for CAN Boot – 0x02, 0x22, 0x42 or
0x62. The SENDTEST CAN Boot modes of 0x82, 0xA2, 0xC2 and 0xE2 use the
same pins as the first four configurations, respectively, and they also
send out two CAN frames. In evaluation mode, using one of the SENDTEST
modes ensures that the CAN module does not time out before the host
starts sending the flash kernel over. To learn more about the SENDTEST
modes, consult the DCAN boot source file located in C2000Ware
(C2000Ware_x_xx_xx_xx > driverlib > f28003x > examples
> flash > DCAN_Boot.c).
Figure 6-3 shows an example implementation of these memory locations. Once these locations
have been programmed, reset the device and click resume. The F28003x device should
now be waiting in CAN boot mode in ROM.
The PEAK CAN analyzer needs to be
connected to the PC as well. No initialization needs to be done beforehand.