The Release notes found here: viewtopic.php?f=16&t=2211 imply that you should supply a file with that name. Just make a text file and copy it to the root of the FAT disk.
RTC Calibration program
Re: RTC Calibration program
--bob p
DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
DM42: β00071 & 00282, DM41X: β00071 & 00656, DM10L: 071/100
Re: RTC Calibration program
Had a heck of a time creating the file in Win 10 with Notepad. Kept insisting on using a .txt extension instead of .cfg. Went back to an old MSDOS computer to create the file, then copied via floppy disk to my Win XT computer and then connected the DM42 to a USB port so I could copy it to the FAT disk. After running CALIB with 0 as the initial value in RTCCALIB.CFG, nothing changed, even after turning the DM42 off and back on again. Still has 0 in the file and the time stamp of the file is unchanged. What is the problem ?rprosperi wrote: ↑Sun Sep 01, 2019 11:11 pmThe Release notes found here: viewtopic.php?f=16&t=2211 imply that you should supply a file with that name. Just make a text file and copy it to the root of the FAT disk.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
-
- Posts: 795
- Joined: Wed May 03, 2017 7:46 pm
- Location: Malone, NY USA
Re: RTC Calibration program
You could've created the file with a TXT extension and then renamed it.HPMike wrote: ↑Mon Sep 02, 2019 1:40 amHad a heck of a time creating the file in Win 10 with Notepad. Kept insisting on using a .txt extension instead of .cfg. Went back to an old MSDOS computer to create the file, then copied via floppy disk to my Win XT computer and then connected the DM42 to a USB port so I could copy it to the FAT disk. After running CALIB with 0 as the initial value in RTCCALIB.CFG, nothing changed, even after turning the DM42 off and back on again. Still has 0 in the file and the time stamp of the file is unchanged. What is the problem ?
Tom L
Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
Some people call me inept but I'm as ept as anybody!
DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM41X SN: 00506 (Shipping)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)
WP43 SN: 00025 (Prototype)
Re: RTC Calibration program
Tried doing that, but Win 10 wouldn't let me. The file became rtccalib.cfg.txt ! Win 10 sucks !!!!!toml_12953 wrote: ↑Mon Sep 02, 2019 2:29 amYou could've created the file with a TXT extension and then renamed it.HPMike wrote: ↑Mon Sep 02, 2019 1:40 amHad a heck of a time creating the file in Win 10 with Notepad. Kept insisting on using a .txt extension instead of .cfg. Went back to an old MSDOS computer to create the file, then copied via floppy disk to my Win XT computer and then connected the DM42 to a USB port so I could copy it to the FAT disk. After running CALIB with 0 as the initial value in RTCCALIB.CFG, nothing changed, even after turning the DM42 off and back on again. Still has 0 in the file and the time stamp of the file is unchanged. What is the problem ?
However, I just discovered that I can do this from a Command Prompt, aka DOS Box.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
-
- Posts: 1107
- Joined: Tue May 02, 2017 5:48 pm
- Location: Netherlands
- Contact:
Re: RTC Calibration program
That's odd. When I try to rename foo.txt to foo.cfg, File Explorer warns me that "If you change a file name extension, the file might become unusable," and asks if I'm sure I want to do that, but when I click Yes, it does change the extension without any further drama.HPMike wrote: ↑Mon Sep 02, 2019 3:09 amTried doing that, but Win 10 wouldn't let me. The file became rtccalib.cfg.txt ! Win 10 sucks !!!!!toml_12953 wrote: ↑Mon Sep 02, 2019 2:29 amYou could've created the file with a TXT extension and then renamed it.
When you open a File Explorer window, and click View in the ribbon / menu bar / whatever that strip at the top below the title bar is called nowadays, do you have the option "File name extensions" checked? I think you want that checked in order to get reasonable behavior.
Re: RTC Calibration program
That is exactly right in Windows 10, if you don't show the file extension you can't change it.
Re: RTC Calibration program
That's it, thanks ! It wasn't checked, and all I was doing was changing the base filename from rtccalib to rtccalib.cfg without actually changing the extension, which is why I didn't get that warning. I was using a DOS-like file manager called ZTree on my Win 7 machine that died, as well as my Win XT and Win 98 machines, so I didn't need to use Windows File Explorer, but alas, like so many other great old software, it won't work on Win 10.Thomas Okken wrote: ↑Mon Sep 02, 2019 4:10 amThat's odd. When I try to rename foo.txt to foo.cfg, File Explorer warns me that "If you change a file name extension, the file might become unusable," and asks if I'm sure I want to do that, but when I click Yes, it does change the extension without any further drama.HPMike wrote: ↑Mon Sep 02, 2019 3:09 amTried doing that, but Win 10 wouldn't let me. The file became rtccalib.cfg.txt ! Win 10 sucks !!!!!toml_12953 wrote: ↑Mon Sep 02, 2019 2:29 amYou could've created the file with a TXT extension and then renamed it.
When you open a File Explorer window, and click View in the ribbon / menu bar / whatever that strip at the top below the title bar is called nowadays, do you have the option "File name extensions" checked? I think you want that checked in order to get reasonable behavior.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
Re: RTC Calibration program
The CALIB program does not alter the rtccalib.cfg file, it just calculates a value to be placed into the file BY YOU.HPMike wrote: ↑Mon Sep 02, 2019 1:40 amHad a heck of a time creating the file in Win 10 with Notepad. Kept insisting on using a .txt extension instead of .cfg. Went back to an old MSDOS computer to create the file, then copied via floppy disk to my Win XT computer and then connected the DM42 to a USB port so I could copy it to the FAT disk. After running CALIB with 0 as the initial value in RTCCALIB.CFG, nothing changed, even after turning the DM42 off and back on again. Still has 0 in the file and the time stamp of the file is unchanged. What is the problem ?
Re: RTC Calibration program
Thanks ! Makes total sense now that I think about it. Anything involving the FAT disk is under the control of the DMCP and NOT DM42. I noticed that once I had placed a non-zero value into the rtccalib.cfg file, the correction value now appears in the Settings Set Time selection.ijabbott wrote: ↑Mon Sep 02, 2019 9:40 amThe CALIB program does not alter the rtccalib.cfg file, it just calculates a value to be placed into the file BY YOU.HPMike wrote: ↑Mon Sep 02, 2019 1:40 amHad a heck of a time creating the file in Win 10 with Notepad. Kept insisting on using a .txt extension instead of .cfg. Went back to an old MSDOS computer to create the file, then copied via floppy disk to my Win XT computer and then connected the DM42 to a USB port so I could copy it to the FAT disk. After running CALIB with 0 as the initial value in RTCCALIB.CFG, nothing changed, even after turning the DM42 off and back on again. Still has 0 in the file and the time stamp of the file is unchanged. What is the problem ?
Anyways, it would be really nice if the next version of DMCP had an option in Setup to enter a calibration number for rtccalib.cfg directly, rather than having to create it externally on a PC/MAC and then transferring to the USB Disk over cable.
DM15L, S/N 00548. DM42, SN: 00159. DM41X, SN: 00973. DM32, SN 00054.
Re: RTC Calibration program
For me it is not totally clear from the instruction, whether I have to set the clock each time I do the calibration...
Cheers!
Meino
Cheers!
Meino
DM 42 - SN: 00373, Firmware release v.:3.22. / DMCP 3.24. as compiled by SwissMicros