"Trb5sc",
"MDC OEP",
"MDC TDC",
- "Farich"
+ "Farich",
"Dirich5s",
"TOMcat"
};
__LINE__, trb_strerror());
return -1;
}
-
+
for (i = 0; i < status; i += 2) {
FlashParam flashParam;
uint16_t hardwareId = (trbBuffer[i + 1] >> 16) & 0xffff;
hardwareId, trbBuffer[i] & 0xffff);
return -1;
}
-
+
/* Check here for flash group compatibility */
do {
if ((flashParam.flashType == flashParamRef.flashType) ||
}
}
-
NUM_PAGES = flashParamRef.numPages;
NUM_BLOCKS = (NUM_PAGES * PAGE_SIZE) / BLOCK_SIZE;
fprintf(stderr, "Found %d Endpoint(s) of group %s\n",
counter, FlashTypeStr[flashParamRef.flashType]);
-
+
return counter;
}
/* Transfer trbBuffer */
size = temp - trbBuffer + 1;
+ fprintf(logFile, "XXX PN %u NB %u S %u\n", pageNumber, numBytes, size);
if ((status = trb_register_write_mem(trb_address, BlockRam, 0,
trbBuffer, size))
== -1) {