![background image](http://html2.mh-extra.com/html/racal-instruments/7064/7064_instruction-manual_3127022044.webp)
/*
This function downloads a single RTS instruction into the first word of the
Message Based Interface user global area. T h e identifier "exampleRTS"
is given to this executable block. Subsequent to S-record download, a
Message-Based Interface command is sent to invoke the named function
we've just downloaded. e.g. "exampleRTS".
*1
void downloadAndInvokeRTS(int ud /* unit descriptor */)
extern int strlen(const char *s);
static char *downloadCmd = "download exampleRTS();";
static char *Srecords[] =
"S00600004844521B", /* header record * /
"S2054010004E75E7", /* an RTS instr @ 0x401000 */
"S804401000AB" / * transfer addr = 0x401000 */
1
#define NRCDS (sizeof(Srecords)/sizeof(char*))
static char *invokeCmd = "exampleRTS();"
int ud, i;
/* Open the Message Based Interface */
ud = ibfind ("VXITECH");
/* Tell the Interface you're about to download a named block */
ibwrt (ud, downloadCmd, strlen(downloadCmd));
/* Download a single RTS instruction * /
for (i = 0; i < NRCDS; i++)
ibwrt (ud, Srecordstil, strlen(Srecordsi ii));
/* Tell the Interface to invoke the named block * /
ibwrt (ud, invokeCmd. strlen(invokeCmd));
1
4-15
Содержание 7064
Страница 2: ...Racal Instruments...
Страница 6: ...I 1 1 1 1 1...
Страница 21: ...I 1 I I I I I I I I I 1 1 I I I I I I...
Страница 29: ...I I I I I I I I I I I I I I I I I I I...
Страница 57: ...1 I I I I I I I I I I I I I I I I I I...
Страница 77: ...1...
Страница 111: ...0 00 0 00 tI I 4 0 0 I7 r i 6 4 7 4 7 0 T 6 0 0 7 28...
Страница 112: ......
Страница 113: ...7 30 I I I 1 I I I I I I I I I I I I I I I...
Страница 115: ...7 32...
Страница 124: ...CO 0 L5 F 4 BEAD 2 A C8 1 0 1 uF C9 01 uF T 0 1 uF 01 uF E12 0 IIIIII M I 11111 V I E M I 111111 I I I I I I N M I I...
Страница 148: ......
Страница 164: ...I I I I I I I I I I 1 I I I I I I I I...
Страница 176: ...extern char error_msg_lookup unsigned errdes endif ERROR_INCLUDE C 8...