User Tools

Site Tools


cbus:can-gc7-firmware
no way to compare when less than two revisions

Differences

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


cbus:can-gc7-firmware [2018/11/12 08:56] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== CAN-GC7 mergCBUS FastClock Firmware ======
 +[[:english|{{  :rocrail-logo-35.png}}]]
 +[[:english|Content]] -> [[:english#hardware|Hardware]] -> [[:english#merg_cbus|mergCBUS]]
 +  * [[:cbus:overview-en|CAN-GC Overview]]
 +  * [[:can-gca1-en|CAN-GC1]] | [[:can-gca1e-en|CAN-GC1e]] | [[:can-gca2-en|CAN-GC2]] | [[:can-gc3-en|CAN-GC3]] | [[:can-gc4-en|CAN-GC4]] | [[:can-gca5-en|CAN-GC5]] | [[:can-gc6-en|CAN-GC6]] | **[[:can-gc7-en| CAN-GC7]] **
 +    * **[[:cbus:can-gc7-firmware|Firmware]]**
 +    * [[:cbus:flim|FLiM Setup]] 
  
 + \\
 +This page documents the HEAD revision of the firmware.\\
 +
 +{{:cbus:gc7-help.jpg?400}}\\
 +
 + \\
 +===== Description =====
 +The firmware is based on CAN-GC2.\\
 +The clock has __no RTC__ for keeping up time if no minute syncs are received.\\
 +
 + \\
 +===== Features =====
 +  * Model time display as received by the [[#opc|OPC_FCLK]].
 +  * Displays "''** - - - - **''" until the first sync is received.
 +  * Displays "''** H E L P **''" if __no sync__ was received within a model time minute based on the last received divider.
 +  * Brightness correction by dialog.
 +  * The hours/minutes separator shows the model second pulse.
 +  * Freeze/Resume support; The separator will stop flashing on freeze.
 +  * Shows Time/Date/Temperature alternately. 
 +  * Day of week represented by seven LEDs on the left.
 +
 + \\
 +===== Not supported =====
 +  * Boot mode.
 + 
 +
 + \\
 +
 +===== Firmware =====
 +| Firmware version: **1.a** rev.: 296, resonator: **8MHz** | \\
 +
 +==== Copyrights ====
 +(c) [[http://www.merg.org.uk/|MERG]]\\
 +(c) [[http://www.rocrail.net|Rob Versluis, rocrail.net]]\\
 +
 +==== IDs ====
 +| NMRA Manufacturer ID |  70 |
 +| Product ID |  7 |\\
 +
 +
 +==== HEX ====
 +  * https://launchpad.net/rocrail-hardware/+download
 +
 +==== Sources ====
 +  * https://gitlab.com/rocrail/GCA/tree/master/cbus
 +
 +
 +
 +
 + \\
 +
 +===== OPC =====
 +<code>
 +#define OPC_FCLK    0xCF    // Fast clock event
 +
 +  cmd[0] = OPC_FCLK;
 +  cmd[1] = mins;
 +  cmd[2] = hours;
 +  cmd[3] = wday; // bit 0-3: 1 = Sunday, 2 = Monday
 +  cmd[3] = mon; // bit 4-7: 1 = January, 2 = February, ...
 +  cmd[4] = div; // 0 = Freeze, 1 = Real time
 +  cmd[5] = mday; // 1..31
 +  cmd[6] = temperature; // -127...127 degrees
 +</code>
 +
 +
 + \\
 +
 +===== Node Variables =====
 +^ # ^ Description ^
 +|  1 | node configuration |
 +|  2 | CAN-ID |
 +
 + \\
 +
 +===== Node configuration byte =====
 +^ Bit ^  Function  ^ Remark ^
 +|  0-3 | display illumination: 1...12 | |
 +|  4 | show date alternating | |
 +|  5 | positive logic display | Depends on used display type with common anode or cathode. |
 +|  6 | show 'model' temperature alternating | |
 +
 + \\
 +===== Development Tools =====
 +  * MPLAB X v1.00
 +  * C18 v3.40
 +  * PICKit 3
 +  * **[[:pic-adap-en|PICKit3 Adapter]]**
cbus/can-gc7-firmware.txt · Last modified: 2018/11/12 08:56 by 127.0.0.1