3421A CAL RAM
|
04-05-2017, 12:08 AM
Post: #21
|
|||
|
|||
RE: 3421A CAL RAM | |||
04-05-2017, 03:36 AM
Post: #22
|
|||
|
|||
RE: 3421A CAL RAM
Thanks very much for the software update, J-F!
(I did try "ENTER" immediately after the B2 command, but when I got a reading back I incorrectly assumed that command itself did some kind of reset on pending data. Thanks for the information.) Dave: Yes, standard procedure :-) |
|||
04-05-2017, 07:13 PM
Post: #23
|
|||
|
|||
RE: 3421A CAL RAM
(04-04-2017 08:38 PM)J-F Garnier Wrote: I just corrected this aspect in ILCtrl v1.04 on my site. Now the calibration data can be read easily with a couple of keystroke in ILCtrl (ok, this is much less fun than setting a HP41 system up :-) Worked perfectly, thanks! |
|||
04-05-2017, 07:45 PM
Post: #24
|
|||
|
|||
RE: 3421A CAL RAM
(04-04-2017 05:16 PM)Dave Frederickson Wrote: ... I loaded the CAL RAM with zeros (all @ characters) using the B3 command, ... Which syntax did you use exactly with the B3 command? OUTPUT 1;"B3" then OUTPUT 1;A$ or OUTPUT 1,"B3"&A$ in one go? That is: must the "B3" be terminated by CR/LF or must the 255 bytes immediately follow the "B3" string? And must the last byte be sent as a HPIL END byte, as for the B2 read? J-F |
|||
04-05-2017, 07:53 PM
(This post was last modified: 04-05-2017 07:56 PM by Dave Frederickson.)
Post: #25
|
|||
|
|||
RE: 3421A CAL RAM
(04-05-2017 07:45 PM)J-F Garnier Wrote:(04-04-2017 05:16 PM)Dave Frederickson Wrote: ... I loaded the CAL RAM with zeros (all @ characters) using the B3 command, ... Hi J-F, It was sent in one command, OUTPUT :1;"B3"&A$. The last nibble was also 0x40. I also loaded Paul's data, unmodified, and it cleared my Cal RAM error. Note, MarkL at EEVBlog has observed that the first nibble indicates the state of the Cal Enable switch. 0x40 = Disabled and 0x4F = Enabled. http://www.eevblog.com/forum/repair/hp-3...-cal-sram/ Dave |
|||
04-12-2017, 04:45 AM
(This post was last modified: 04-12-2017 04:50 AM by Dave Frederickson.)
Post: #26
|
|||
|
|||
RE: 3421A CAL RAM
To restore the 3421A CAL RAM to default values, perform the following:
1. Configure the 3421A as the first device on the loop, Address :1 2. Turn on the 3421A 3. Turn on the 71B 4. Set the Cal Enable switch DOWN 5. Run the following program Code: 10 DIM C$[256] @ C$="" 7. Cycle power From J-F's data I guessed that the default parameters are zeros with a checksum of 0xFFFF. Run RCAL3421 0000000000000000 000000000000FFFF 000000000000FFFF 000000000000FFFF 000000000000FFFF 000000000000FFFF 000000000000FFFF 000000000000FFFF 000000000000FFFF 000000000000FFFF 000000000000FFFF 000000000000FFFF 000000000000FFFF 000000000000FFFF 000000000000FFFF FFFFFFFFFFFFFFFF The DATA statements can be populated with the existing calibration parameters from the program in Post #16. http://hpmuseum.org/forum/thread-8061-po...l#pid71121 An old CAL RAM battery can now be changed and the parameters restored without having to connect an external battery or apply AC power. Dave |
|||
01-31-2018, 11:19 PM
Post: #27
|
|||
|
|||
RE: 3421A CAL RAM
Hi there!
I recently bought an HP 3421. I made the Pilbox and I am trying to save the cal data. I am kind of new to hp programming language and I am struggling to do it. I am able to send and receive simple commands (like measuring voltage or resistance) but I don't now if i'm doing the correct procedure to read the cal data. Jeff's version of ILCtrl (v1.04) doesn't recognize my pilbox so I'm using Cristoph ILCtrl v1.17. I put B2 in "Data" and press "Send". Then I erased B2 and press "Enter" but I'm only getting a bunch of 8s (-8.88888E+8 to be precise) Am I doing it wrong? I would appreciate a "for dummines" version of the precedure. Thanks and sorry for my broken english |
|||
02-01-2018, 01:28 AM
Post: #28
|
|||
|
|||
RE: 3421A CAL RAM
(01-31-2018 11:19 PM)juani_cer Wrote: Hi there! B2 is the command to read the cal data from the 3468 DMM and CAL1 is the command to read the data from the 3421A. See the programs in this post. http://www.hpmuseum.org/forum/thread-806...l#pid71121 Dave |
|||
02-01-2018, 08:45 AM
Post: #29
|
|||
|
|||
RE: 3421A CAL RAM
(01-31-2018 11:19 PM)juani_cer Wrote: Jeff's version of ILCtrl (v1.04) doesn't recognize my pilbox so I'm using Cristoph ILCtrl v1.17. I'm pretty sure ILCtrl 1.04 works with the PIL-Box :-) Note however that, contrary to Christoph ILCtrl v1.17, my VB version doesn't include auto com speed, so you have to manually set the right speed 115k/230k (the PIL-Box is normally delivered configured as 115k - JP2 jumper installed). But of course, it's even better to use Christoph's version :-) J-F |
|||
02-01-2018, 11:46 PM
(This post was last modified: 02-02-2018 01:31 AM by juani_cer.)
Post: #30
|
|||
|
|||
RE: 3421A CAL RAM
(02-01-2018 01:28 AM)Dave Frederickson Wrote: B2 is the command to read the cal data from the 3468 DMM and CAL1 is the command to read the data from the 3421A. See the programs in this post. Thanks Dave! In the first post of the thread you clearly said which command to use. I completely misread the whole thing (02-01-2018 08:45 AM)J-F Garnier Wrote: I'm pretty sure ILCtrl 1.04 works with the PIL-Box :-) Hi Jeff! I didn't put JP2. it worked flawlessly after that. My bad... I made a diy PIL-Box. Let me thank you for all your work and for share it. I really appreciate it. |
|||
04-25-2019, 05:24 AM
Post: #31
|
|||
|
|||
RE: 3421A CAL RAM
(04-04-2017 05:16 PM)Dave Frederickson Wrote: Here's what I've learned about the cal data for the 3468. Dave, thanks for working this out. Did you investigate further? I've been staring at the hexdumps for a little while, the 9999s jump out at me. Maybe an artifact of the parity algorithm? Assuming you are correct about the nibbles, from my 3468B: Code: RRRR YYYYYYY GGGGG SSSS |
|||
04-25-2019, 08:44 PM
Post: #32
|
|||
|
|||
RE: 3421A CAL RAM
(04-25-2019 05:24 AM)djd328 Wrote: Did you investigate further? No I did not. Once I was able to save, restore, and reset the CAL RAM data I concluded my investigation. Regarding the 9's, like your YYYYYYY value for the 3v range, I would think that would be a negative offset from zero. Dave |
|||
04-26-2019, 02:56 AM
Post: #33
|
|||
|
|||
RE: 3421A CAL RAM
(04-25-2019 08:44 PM)Dave Frederickson Wrote:(04-25-2019 05:24 AM)djd328 Wrote: Did you investigate further? Ok understood, it's an interesting problem, but yes I've got my constants and can reload them... the only reason to care is if I want to manually tune them (and I do have a reason to do that, but that's for another time). 9s... Yes, that seems plausible, but then 999 = 100110011001is a lot of sign bits! One parity bit and one sign bit? I think it's pretty likely that those are -ve numbers, but it's not straight sign/mag or 2's compliment. Nibble cells seem also encoded, with error detect correct code probably not limited to the 4 nibbles at the end of each row. |
|||
04-26-2019, 03:17 AM
Post: #34
|
|||
|
|||
RE: 3421A CAL RAM
(04-25-2019 08:44 PM)Dave Frederickson Wrote: Regarding the 9's, like your YYYYYYY value for the 3v range, I would think that would be a negative offset from zero. Ah, looking at other posts with cal constant sets, the Y intercept field is surely just BCD encoded. Didn't see that before, simple enough, yes those are trivially interpreted -ve numbers. |
|||
05-14-2019, 06:53 AM
Post: #35
|
|||
|
|||
RE: 3421A CAL RAM
(04-26-2019 03:17 AM)djd328 Wrote: Ah, looking at other posts with cal constant sets, the Y intercept field is surely just BCD encoded. Didn't see that before, simple enough, yes those are trivially interpreted -ve numbers. Building on the work of fenugrec, here is a simple decoder for 3468, minus the checksum which is different. I have managed to get the first 2 nibbles of that almost disentangled... simple xor sum mostly is correct, but there is a carry or something missing. The second 2 nibbles, not yet. Anyway: Code:
And the program itself Code:
|
|||
05-16-2019, 10:02 PM
Post: #36
|
|||
|
|||
RE: 3421A CAL RAM
In case it's of any use in your effort, here's the cal data from my 3468A:
Code:
|
|||
08-05-2024, 02:20 PM
Post: #37
|
|||
|
|||
RE: 3421A CAL RAM
In case anyone is still interested how to calculate the parity for the 3468 and the 3421A calibration RAM after all these years.
The 3468 and the 3421A use a two dimensional parity scheme which can correct single-bit errors and detect double-bit errors to protect each calibration entry. To calculate the parity bits, the calibration data is arranged in 2 columns of 6 nibbles each. The first column ist holding nibbles 0 to 5, the second column nibbles 6 to B. Code:
CG |
|||
08-06-2024, 08:27 AM
Post: #38
|
|||
|
|||
RE: 3421A CAL RAM
Thank you!
Do you think this might also apply to the 3478A? Cambridge, UK 41CL/DM41X 12/15C/16C DM15/16 17B/II/II+ 28S 42S/DM42 32SII 48GX 50g 35s WP34S PrimeG2 WP43S/pilot/C47 Casio, Rockwell 18R |
|||
08-06-2024, 08:53 AM
Post: #39
|
|||
|
|||
RE: 3421A CAL RAM
(08-06-2024 08:27 AM)cdmackay Wrote: Do you think this might also apply to the 3478A? Nope, the 3478A uses a simple checksum as explained in this thread HP 3478A: How to read/write cal SRAM There you can find also various scripts to decode and verify 3478A calibration RAM dumps. |
|||
08-06-2024, 10:07 AM
Post: #40
|
|||
|
|||
RE: 3421A CAL RAM
(08-06-2024 08:27 AM)cdmackay Wrote: Do you think this might also apply to the 3478A? Look here: HP 3478A: How to read/write cal SRAM https://www.eevblog.com/forum/repair/hp-...-cal-sram/ Apparently the 3478 stores data differently than the 3468 and 3421. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)