OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /eco32/trunk/monitor
    from Rev 45 to Rev 49
    Reverse comparison

Rev 45 → Rev 49

/loadserv/loadserv.c
114,6 → 114,7
 
 
int main(int argc, char *argv[]) {
char *serialPort;
char *loadName;
unsigned char b;
unsigned char cmd;
124,6 → 125,7
printf("Usage: %s <serial port> <file to be loaded>\n", argv[0]);
exit(1);
}
serialPort = argv[1];
loadName = argv[2];
loadFile = fopen(loadName, "rt");
if (loadFile == NULL) {
130,7 → 132,7
error("cannot open file to be loaded '%s'", loadName);
}
/* open serial interface */
serialOpen(argv[1]);
serialOpen(serialPort);
/* wait for client to connect */
printf("Waiting for client...\n");
while (1) {

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.