Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
millennium:coinvalidator [2017/05/26 08:49] – [Table] martinmillennium:coinvalidator [2024/01/28 14:42] (current) martin
Line 1: Line 1:
-====== Work in progress ======+====== Coin Validator ======
  
 Produced by Landis&Gyr Communications for Nortel. Landis&Gyr Communications was sold to IPM Group - who have gone bankrupt and renamed themselves to New IPMtel. Produced by Landis&Gyr Communications for Nortel. Landis&Gyr Communications was sold to IPM Group - who have gone bankrupt and renamed themselves to New IPMtel.
Line 50: Line 50:
  
 ===== Decoding ===== ===== Decoding =====
-Empty fields haven't been deciphered yet.+* MS: Most significant Byte 
 +* LS: Least significant Byte 
  
 ^ Offset (h)  ^ 00                                 ^ 01                                 ^ 02                                 ^ 03                                 ^ 04                                 ^ 05                               ^ 06                               ^ 07                            ^ 08                                      ^ 09                             ^ 0A                                        ^ 0B                                                   ^ 0C                                         ^ 0D                                              ^ 0E                                              ^ 0F                                 ^ ^ Offset (h)  ^ 00                                 ^ 01                                 ^ 02                                 ^ 03                                 ^ 04                                 ^ 05                               ^ 06                               ^ 07                            ^ 08                                      ^ 09                             ^ 0A                                        ^ 0B                                                   ^ 0C                                         ^ 0D                                              ^ 0E                                              ^ 0F                                 ^
Line 70: Line 72:
 ^ F0          | 0x00                               | 0x00                               | 0x00                               | 0x00                               | 0x00                               | 0x00                             | 0x00                             | 0x00                          | 0x00                                    | 0x00                           | 0x00                                      | 0x00                                                 | ROM Version                                                                                 || EEPROM Config ID                                                                    || ^ F0          | 0x00                               | 0x00                               | 0x00                               | 0x00                               | 0x00                               | 0x00                             | 0x00                             | 0x00                          | 0x00                                    | 0x00                           | 0x00                                      | 0x00                                                 | ROM Version                                                                                 || EEPROM Config ID                                                                    ||
  
-==== OPTR ==== +==== Options Register ==== 
- * EEPROM Options register+ * EEPROM OPTR
  * 03: Part 2 of the EEPROM array is not protected; all 256 bytes of EEPROM can be accessed for any read, erase or programming operations. / Security Bit is not set  * 03: Part 2 of the EEPROM array is not protected; all 256 bytes of EEPROM can be accessed for any read, erase or programming operations. / Security Bit is not set
  * [[http://cache.nxp.com/files/microcontrollers/doc/data_sheet/MC68HC05B6.pdf#page=48|Page 48, Section 3.5.5, Options register (OPTR)]]  * [[http://cache.nxp.com/files/microcontrollers/doc/data_sheet/MC68HC05B6.pdf#page=48|Page 48, Section 3.5.5, Options register (OPTR)]]
  
-==== CHKSUM ==== +==== Checksum ==== 
-Some CRC - don't bother and just issue the k-command to have it calculated and written to the EEPROM automagically.+ Some CRC - don't bother and just issue the k-command to have it calculated and written to the EEPROM automagically. 
 + 
 +==== Western Electric refit flag ==== 
 + * Unused 
 + 
 +==== Nominal avg sensor C/F/G time ==== 
 + * 0.25 µs increments 
 + 
 +==== Instantaneous half-window for detector C/F/G ==== 
 + * 2 µs increments 
 + 
 +==== Half-window for detector C/F/G avg ==== 
 + * 0.25 µs increments 
 + 
 +==== Firing duration for solenoid ==== 
 + * 2 µs increments 
 + 
 +==== Minimum coin separation time ==== 
 + * 8 µs increments 
 + 
 +==== Pause time during cash or refund cycle ==== 
 + * 8 µs increments 
 + 
 +==== number of bytes/coins in coin table ==== 
 + * not actively used 
 + 
 +==== On-time for validator entry and exit sensors (A, B) ==== 
 + * 2 µs increments 
 + 
 +==== Blocked-time for escrow sensors (C,F,G) ==== 
 + * 8 ms increments 
 + 
 +==== Timeout on escrow motion (rotation jam) ==== 
 + * 64 ms increments 
  
 ==== Coin definitions ==== ==== Coin definitions ====
Line 193: Line 229:
  
 17.03.2016: This is the first time, that N-command has been publicly documented, after [[User:martin]] started reverse-engineering the Coin validator firmware. 17.03.2016: This is the first time, that N-command has been publicly documented, after [[User:martin]] started reverse-engineering the Coin validator firmware.
 +
 +===== The proper way to program coin validators =====
 +The original software used to program these coin validators ist called VAL-ESC, a itty-bitty-shitty DOS-application that also just issues the previous commands to calibrate a device, download the current coinset, or upload a new one.
 +
 +There is a repository of some coin sets, that we should probably put online at some point in the future.
 +
 +
  
  • millennium/coinvalidator.1495788586.txt.gz
  • Last modified: 2021/04/18 12:32
  • (external edit)