AN2311 Freescale Semiconductor / Motorola, AN2311 Datasheet - Page 13

no-image

AN2311

Manufacturer Part Number
AN2311
Description
Bootstrapping the MSC8101 Device Through the HDI16 Port
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
ucCh0 = getc(pfiIn);
ucCh1 = getc(pfiIn);
if ((ucCh0==’S’)&&(ucCh1==’0’))
{
}
for(ulii=0; ulii<(uliCounter*2); ulii++)
{
}
/* get carriage return */
aucTemp[0] = getc(pfiIn);
aucTemp[0] = getc(pfiIn);
fprintf(pfiOut, "#include \"prototype.h\"
fprintf(pfiOut, "extern UWord16 ausiImage1[]={");
/* Get line header S? */
ucCh0 = getc(pfiIn);
ucCh1 = getc(pfiIn);
while(uliEndFlag==0)
{
uliCounter = 0x0000;
uliCounter = 0x0000;
for (ulii=0; ulii < 2; ulii++)
{
}
aucTemp[0] = getc(pfiIn);
putc(’0’,pfiOut);
putc(’x’,pfiOut);
putc(’0’,pfiOut);
putc(’0’,pfiOut);
putc(’0’,pfiOut);
putc(’0’,pfiOut);
putc(’,’,pfiOut);
putc(’0’,pfiOut);
putc(’x’,pfiOut);
putc(’0’,pfiOut);
putc(’0’,pfiOut);
Freescale Semiconductor, Inc.
For More Information On This Product,
uliCounter <<= 4;
ucLength = getc(pfiIn);
if (ucLength == CHAR_NUMBER1) uliCounter |= 0x0001;
if (ucLength == CHAR_NUMBER2) uliCounter |= 0x0002;
if (ucLength == CHAR_NUMBER3) uliCounter |= 0x0003;
if (ucLength == CHAR_NUMBER4) uliCounter |= 0x0004;
if (ucLength == CHAR_NUMBER5) uliCounter |= 0x0005;
if (ucLength == CHAR_NUMBER6) uliCounter |= 0x0006;
if (ucLength == CHAR_NUMBER7) uliCounter |= 0x0007;
if (ucLength == CHAR_NUMBER8) uliCounter |= 0x0008;
if (ucLength == CHAR_NUMBER9) uliCounter |= 0x0009;
if (ucLength == CHAR_LETTER_A) uliCounter |= 0x000A;
if (ucLength == CHAR_LETTER_B) uliCounter |= 0x000B;
if (ucLength == CHAR_LETTER_C) uliCounter |= 0x000C;
if (ucLength == CHAR_LETTER_D) uliCounter |= 0x000D;
if (ucLength == CHAR_LETTER_E) uliCounter |= 0x000E;
if (ucLength == CHAR_LETTER_F) uliCounter |= 0x000F;
Go to: www.freescale.com
// global defines \n");
Related Documents
13

Related parts for AN2311