CAN Control Release Notes Core/Core+

From OpenMotics
Jump to navigation Jump to search

General

The CAN Control module firmware is published as Open Source.

The firmware updates happening in the Openmotics Cloud (Settings - Update) contain not only the firmware update of the Master, but also the firmware of other modules as well as the updates for the Beagle Bone. All these different firmware updates are assembled in a package which gets a general version number. This version number which you see in the portal is not the same as the Firmware Version of the CAN Control module.

Important Notes:

  • V6.x.y only works in combination with the Core/Core+ and can't be used with the tradition Master
  • V6.x.y only works with Gen 3 hardware
  • V4.x.y and lower only works with the Traditional Gateway and none Gen3 Hardware

This version is not yet published and only works in combination with the Core/Core+.

V6.0.43

Date: 28/11/2021

Resolved bugs

Added functionality

  • This release will allow factory reset initiated by the Master processor (Master Firmware V1.0.115 or higher)
    • Broadcast FR has been implemented
    • When this broadcast is received and the bus is in "discovery mode", then the module will erase itself

V6.0.42

Date: 23/11/2021

Resolved bugs

  • During startup, the module can erratically erase it's own network address. This release resolves this issue.
  • Stabilisation of the DALI functionality:
    • Support of DALI output
    • Support of DALI motion sensors
    • Support of DALI sensors (temp & lux)

Added functionality

V6.0.41

Date: 15/11/2021

Resolved bugs

  • Some messages during boot loading were not transmitted via the CAN Control to the uCAN. This release solves this issue.
  • Micro CAN's had trouble reconnecting due to CAN configuration issues. The default CAN parameters have modified to cope with these issues.

Added functionality

  • This release supports a beta release of DALI:
    • Support DALI Relay ON/OFF devices
    • Support DALI dimming devices
    • Support motion detectors
    • Support Temperature and Lux
    • Helvar and Lunatone are supported in this release
    • This is a beta version, further testing needs to be performed

Known issues

  • For DALI, this version is a beta version:
    • DALI functionality in this version is not yet stable and requires further testing and bug fixing
    • This version CANNOT be used in production

V6.0.38

Date: 28/07/2021

Resolved bugs

  • When an address reset is done (by pushing init button during startup), the reset of the address is only done after the next power reset. In this release, the reset is executed immediately.
  • Safety bit (Eeprom byte 74) for boot loader is set correctly

Added functionality

V6.0.37

Date: 23/07/2021

Resolved bugs

Added functionality

  • The CAN control will support variable CAN speed settings:
    • When the Brain(+) send out new CAN parameters, the CAN Control will check these parameters on integrity, when OK, these new parameters will be applied at the next startup
    • Modified RS485 communication protocol has been implemented to include the CAN settings in the standard communication between the Brain(+) and the CAN Control

V6.0.36

Date: 15/07/2021

Resolved bugs

  • Master Firmware version V1.0.104 or higher has an improved search mechanism for slave modules: When a new slave module is found during the automatic search, first the Master will check if the Slave module is responding, when positive the Master will request the slave module to program its slave address, after this the slave module will respond to the master that the slave address is programmed and only then the module is added in the Master list.

Added functionality

V6.0.35

Date: 27/06/2021

Resolved bugs

  • To better support the automatic search function of the Brain(+), the generation of the address ID's has been modified:
    • Generation of the ID also uses the serial number of the module
    • A timeout based on the serial number is also used before the random value is taken to avoid the same random values between the same modules

Added functionality

  • When a new RS485 network with new modules is started, after power up, the automatic search will be started by the master. When a module in not found yet, the status led will be orange. Ones the Master has found a specific module, the status led of that module will become green. In this way, you can follow the modules that are being found during the search.

V6.0.34

Date: 27/06/2021

Resolved bugs

  • To better support the automatic search function of the Brain(+), the generation of the address ID's has been modified:
    • Generation of the ID also uses the serial number of the module
    • A timeout based on the serial number is also used before the random value is taken to avoid the same random values between the same modules

Added functionality

  • When a new RS485 network with new modules is started, after power up, the automatic search will be started by the master. When a module in not found yet, the status led will be orange. Ones the Master has found a specific module, the status led of that module will become green. In this way, you can follow the modules that are being found during the search.

V6.0.33

Date: 20/05/2021

Resolved bugs

  • Modifications in Processor Eeprom logic to support the latest boot loader version

Added functionality

V6.0.32

Date: In development

Resolved bugs

  • CAN parameters have been modified to improve CAN network stability. This release must be done together with Brain V1.0.89 and uCAN V6.0.14.

Added functionality

V6.0.31

Date: 01/05/2021

Resolved bugs

Added functionality

  • RS485 instruction "FL" has been added to read Firmware Version and serial number
  • The necessary logic has been added to read/write serum number by the test system
  • RS485 Health check has been added: When the RS485 Bus is in Live mode and the CAN Control module doesn't receive any information during a period of 30 seconds, the module will automatically reset.

V6.0.30

Date: 12/02/2021

Resolved bugs

  • During boot loading of the uCAN, some messages were incorrectly filtered by the CAN Control. A more smarter filtering has been applied in this release.

Added functionality

V6.0.29

Date: 7/02/2021

Resolved bugs

  • The release has an improved RS485 interrupt routine to make sure no characters gets lost.

Added functionality

  • The Action button on the Front Panel now controls the power of the CAN bus:
    • A long press toggles the CAN power output
    • The CAN bus led will go OFF when the power is OFF and back ON when the power is ON
    • The Action button only works in life mode and not when the module is in discovery mode
  • The Brain(+) can switch ON/OFF the power of the CAN Control:
    • The necessary broadcast message has been added

V6.0.28

Date: 8/12/2020

Resolved bugs

Added functionality

  • The CAN status led is now controlled by the Brain(+) depending on the health of the CAN bus. The health status is controlled by the Brain(+) by sending ping messages. When the Brain(+) sees a degraded status, the CAN status led will be adapted accordingly.

V6.0.27

Date: 29/7/2020

Resolved bugs

Added functionality

  • Status led functionality added:
    • Green: Module has got an ID and communication with the Master is working
    • Red: Module has got an ID but the communication with the Master is not working
    • Orange: Module is in discovery mode

V6.0.26

Date: 24/7/2020

Resolved bugs

Added functionality

  • Full functional CAN control
  • Manual Initialisation (with button)
  • Automatic Initialisation (CLI instruction "module discover search)
  • CRC16 on RS485 for Initialisation to guarantee correct module discovery
  • VLAN implementation: VLAN are created from the Core/Core+ over the CAN Control towards the CAN network. Different CAN Controls will form a large CAN network.

V6.0.10

Date: 2/5/2020

Resolved bugs

Added functionality

This version contains the basics for a new version of the Can Control:

  • Non blocking I2C Framework
  • RS485 driver
  • Queueing for incoming and outgoing RS485 messages
  • Frontpanel and button functionality, led driver
  • Watchdog