English
Language : 

CD2481 Datasheet, PDF (74/222 Pages) Intel Corporation – Programmable Four-Channel Communications Controller
CD2481 — Programmable Four-Channel Communications Controller
case 2:
if ((ifp = fopen(argv[1], “r”)) == 0) {
printf(“DL cannot open file: %s\n”, argv[1]);
exit( );
}
break;
default:
printf(“Usage: dl filename.hl\n”);
exit( );
}
printf(“Download setup...”);
dl_setup( );
i = dload(ifp);/* do download */
printf(“Downloaded %d (0x%x) lines of source code\n”, i, i);
dl_start( );/* Start microcode */
printf(“Program started.\n”);
}
The file format of the microcode for the example software above is ASCII Hex; an example portion
is shown below. The first column contains the address generated by the assembler, which is
discarded by the download code, and the second column contains the microcode instruction.
00000 20D08
00001 208F0
00002 24030
00003 0D008
00004 228F0
00005 20C30
00006 22D10
00007 0200F
00008 1E000
etc.
74
Datasheet