AN2311 Freescale Semiconductor / Motorola, AN2311 Datasheet - Page 15

no-image

AN2311

Manufacturer Part Number
AN2311
Description
Bootstrapping the MSC8101 Device Through the HDI16 Port
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
for (ulii=0; ulii<((uliCounter-4)/2); ulii++)
{
}
/* if ucLength of block is not divisible by 8 bytes add padding words. */
if (uliRemainder != 0)
{
}
/* read checksum and carriage return */
aucTemp[0] = getc(pfiIn);
aucTemp[0] = getc(pfiIn);
aucTemp[0] = getc(pfiIn);
aucTemp[0] = getc(pfiIn);
/* add two 16 bit word for checksum */
putc(’,’,pfiOut);
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);
putc(’0’,pfiOut);
putc(’0’,pfiOut);
/* Get line header S? */
ucCh0 = getc(pfiIn);
ucCh1 = getc(pfiIn);
if((ucCh0==’S’)&&(ucCh1==’8’))
{
Freescale Semiconductor, Inc.
For More Information On This Product,
putc(’,’,pfiOut);
putc(’0’,pfiOut);
putc(’x’,pfiOut);
for (ulij=0; ulij<4; ulij++)
{
}
printf("%d ",uliRemainder);
for (ulij=0; ulij<((uliRemainder)/2) ; ulij++)
{
}
uliEndFlag = 1;
/* Add End Block */
for(ulii=0; ulii<8; ulii++)
{
Go to: www.freescale.com
aucTemp[0] = getc(pfiIn);
putc(aucTemp[0],pfiOut);
putc(’,’,pfiOut);
putc(’0’,pfiOut);
putc(’x’,pfiOut);
putc(’0’,pfiOut);
putc(’0’,pfiOut);
putc(’0’,pfiOut);
putc(’0’,pfiOut);
Related Documents
15

Related parts for AN2311