HP-IL checksums or not
|
12-11-2017, 12:53 AM
Post: #11
|
|||
|
|||
RE: HP-IL checksums or not
We are talking about different checksums here.
The ROM checksum at the last address is not going to be checked by my routines. I am aware that there are ROMs with incorrect checksum and those would be rejected, which is undesirable. They probably should have a correct checksum, but that is another issue. Also, when saving an arbitrary 41CL 16-bit 4K page for backup purposes, it may be data and not a ROM image, meaning not all images may even have a checksum last. The checksum I am discussing here is a checksum outside the ROM, that may be stored at the end of the file (after all data image). Now, I had the impression that HP-IL is transmission safe (within reason) thanks to the intended checking of every frame sent. This is strongly encouraged by HP, but not mandatory. Apparently this has not been the norm for ILPer and friends which means that the idea I based this on cannot be taken for granted. As we already use CRC-32 as signature for 41CL ROM images, it would make sense to also use that as the checksum here. Why have two ways of calculating some signature/checksum when we can settle for one? I intend to make the CRC-32 optional, as there may be an application layer that deals with CRC-32 for signature purposes. Besides, the code without checksums is already out, and I cannot just make it incompatible over night. My plan is to update the CLILUP ROM at some point and have WRROM16 write the CRC-32 checksum after the ROM image. The RDROM16 read function will check the file size and work both with and without a CRC-32 checksums (obviously no checking in the latter case). HÃ¥kan |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP-IL checksums or not - hth - 11-23-2017, 06:31 PM
RE: HP-IL checksums or not - mfleming - 11-24-2017, 01:41 AM
RE: HP-IL checksums or not - hth - 11-26-2017, 05:16 AM
RE: HP-IL checksums or not - AlexFekken - 11-26-2017, 06:06 AM
RE: HP-IL checksums or not - mfleming - 11-26-2017, 06:28 AM
RE: HP-IL checksums or not - Christoph Giesselink - 11-27-2017, 05:58 PM
RE: HP-IL checksums or not - hth - 11-27-2017, 07:04 PM
RE: HP-IL checksums or not - Christoph Giesselink - 11-27-2017, 08:37 PM
RE: HP-IL checksums or not - mfleming - 11-28-2017, 02:35 AM
RE: HP-IL checksums or not - jsi - 11-28-2017, 06:06 PM
RE: HP-IL checksums or not - hth - 12-11-2017 12:53 AM
|
User(s) browsing this thread: 2 Guest(s)