AN2311 Freescale Semiconductor / Motorola, AN2311 Datasheet - Page 11

no-image

AN2311

Manufacturer Part Number
AN2311
Description
Bootstrapping the MSC8101 Device Through the HDI16 Port
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
5
APPENDIXES
A
Related Documents
SREC_TO_ARRAY.C Listing
The slave image C file is created as follows:
1. Load the slave application project into the CodeWarrior tools by double clicking on the
2. Build the project to create the .eld file, which is named starcore.eld. Close the project.
3. Execute the elfsrec utility in a DOS window using the command line: elfsrec -w
4. When the starcore.eld.s file is created, rename it to starcore.s.
5. Execute the utility srec2arr.exe on the starcore.s file using the command line: srec2arr starcore.s Note
6. When the slaveimg.c file is created, copy it to the location
7. Open the project host.mcp in ...\hdi16_appnote\host\build, add slaveimg.c, and com-
Download code onto the MSC8101ADS board via the EOnCE debug interface, as follows:
1. Initialize host and slave switch settings to those indicated in Table 6 and Table 7.
2. Connect the two boards as shown in Table 8.
3. Switch on both boards and press PRESET (
4. Load the software (CodeWarrior project host.mcp) onto the host MSC8101ADS using the debug
5. Start the program
Slave board LEDs LD8 and LD9 should go out and then LD9 should flash intermittently.
[1] SC140 DSP Core Reference Manual (MNSC140CORE/D), Motorola.
[2] MSC8101 Reference Manual (MSC8101RM/D), Motorola.
[3] MSC8101ADS User’s Manual (MSC8101ADSUM/D), Motorola.
[4] MSC8101 Technical Data sheet (MSC8101/D), Motorola.
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
led_flash.mcp file in ...\hdi16_appnote\Led_flash\build\.
starcore.eld.
that the srec2arr.exe file is located in ...\hdi16_appnote\srec_to_array_hdi16\.
...\hdi16_appnote\host\source.
pile the project.
port.
The slave board LEDs LD8 and LD9 should be ON.
Host Board Pin
(P1)C31
(P1)C30
Freescale Semiconductor, Inc.
For More Information On This Product,
Table 8. Cable Interconnect Wiring Description (Continued)
Go to: www.freescale.com
Signal
IRQ5
IRQ4
/* ’sprintf’ */
/* ’strlen’, ’strncmp’ */
/* ’atoi’ */
SW8
) on both boards.
HRRQ/HACK
HREQ/HTRQ
Signal
Related Documents
(P4)27
(P4)28
11

Related parts for AN2311