RSS Feed

Embedded Systems Blog

Visit us at the Embedded World 2015 in Nuremberg

February 16th, 2015 Comments off

This year the Embedded World (www.embedded-world.de) in Nuremberg expects 30k+ vistors from 35+ countries. Show days are from 24th to 26th of February. For companies “into CAN” one of the hot topics is CAN FD – more and more products (microcontrollers as well as interfaces) are now available supporting the new standard supporting higher data rates. You can see the Bosch CAN FD demonstrator at the CiA booth (booth 608 in hall 1). This demo includes our CANopen Magic software connected to a CAN FD bus using the latest PEAK CAN interface. If you have questions and would like to meet us, come over to our partner PEAK System (booth 606, hall 1, just next to the CiA booth). Looking forward to seeing you!

CiA447 Car Add-on Devices Gateway Simulation

August 22nd, 2013 Comments off
We have made improvements to our CiA447 gateway simulation.

It now has an additional function to simulate driving at a fixed speed for a fixed duration. The odometer, speed indicator and wheel pulse counter are updated accordingly.

This new feature especially helps with testing applications that measure distance traveled, like taximeters or board computers for telematic applications.

The main simulation DLL can be exchanged. If a car manufacturer publishes the required details about their gateways, the simulation provides exactly those data objects that the real car uses.

For more details and pricing please contact us.

Micro CANopen Source Code V6.11 released

May 10th, 2013 Comments off

Today we released a new version of our Micro CANopen source code. Updates and changes made include requirements from the latest CANopen conformance test as well as updates to the CiA 447 specific examples. Besides two bug fixes, the changes are:

Device switch themselves automatically to pre-operational when they detect a loss of a heartbeat that they are consuming. In the past this was application code specific, but as the conformance test requires it, we moved this function into the stack. In CiA 447 this is only done for the loss of the gateway’s heartbeat. Reaction to other heartbeat losses remains application code specific.

For CiA 447 devices, the shut down sequence is now also initiated if a gateway is not present. As before, devices wait for the next wake-up message before they try to communicate again.

Micro CANopen customers with a current maintenance and support contract may download this latest version from our servers as described on the delivery note for each product.

Potential risk warning for CiA 443 sub-sea systems supporting a bit rate change via Layer Setting Services

April 22nd, 2013 Comments off

Although ESAcademy is not an active member of the CiA 443 group, we have several customers and business partners using CiA 443 and came across a potential reliability issue in regards to bit rate changes.

It is our understanding that the reliability requirements for CiA 443 sub-sea applications are very high. Bootloaders are written and tested in a way that even power failures at any time or severe communication errors can not break the system. In worst case, an application is not programmed and a device remains in bootloader mode and is simply re-programmed again.

However, allowing the CAN bit rate to change with the currently specified mechanisms bears the risk of one or multiple devices failing. If in a CAN network devices are not configured to use the same bit rate, communication fails at a very low level. Devices will recognize that there are errors on the bus and potentially take themselves offline (bus off). If the devices are configured to use these different bit rates, then this error state can not be resolved.

How could such a situation occur?

The Layer Setting Services (LSS, see CiA 305) allow the setup of a bit rate, if all devices connected to a network support these services. Although the method of when exactly to do the bit rate change is very well specified and synchronized, the actual storing of this information (nodes copying this information to their local non-volatile memory) is not. It happens “one-by-one” and as no timings specified, this could be within seconds or even minutes. If there are severe bus communication errors during this time or even a power failure, then all devices will not have the same bit rate configured.

Possible solutions:

1.) Do not use switching of CAN bit rates by LSS, only use it for node ID assignments

2.) Use a power-on default bit rate. Any change to the bit rates is not stored in non-volatile memory, it is only temporary. With each reset or power cycle all devices fall back to their initial default bit rate.

3.) Use auto detect. Note: this only works if not all nodes are doing it, there must be at least one node communicating for the others to be able to do an auto detection. This feature is not available with all CAN controllers (requires passive listen-only mode).

4.) Check with CiA 305 group what else can be done to make the bit rate switch safer, for example by not only synchronizing the time of the physical switch, but also the time when this information is stored into non-volatile memory.

Until this is solved we recommend all existing systems to not make use of the bit rate switching by LSS.

Categories: CANopen Tags: , , ,

Improved CAN Message Handling in CANopen Magic

April 10th, 2013 Comments off

Recently we released a new version of CANopen Magic with significant improvements to the way user-defined CAN messages are handled. Here is a brief summary:

  • Messages can now be grouped together allowing for more logical viewing and keeping messages with similar uses together
  • Cut, copy and paste supports moving and copying messages between the groups
  • The order of the messages in a group can be manipulated to allow quicker and easier identification
  • All messages in a group can be transmitted at once
  • Sequential message transmission

In particular the sequential message transmission is a useful new feature. Repeatedly clicking on a button causes the next message in the group to be transmitted. When the last message in the group has been reached transmission resumes with the first message in the group. This allows complex sequences of messages to be constructed and then transmitted, for example to provide input stimuli to a node under test at a specific point in it’s operation or to mimic transmissions from a node that has not yet been developed.

Available in CANopen Magic Standard, Professional and Ultimate starting with version 6.10. Download the evaluation version.

CANopen and J1939 co-processors, free eval kits at int. CAN Conference March 5th/6th

February 9th, 2012 Comments off

On March 5th, ESAcademy will conduct the following classes at the iCC together with NXP Semiconductors:

08:30 to 09:30 Everything CAN and NXP CAN Controller Intro
A 30 year old technology, here to stay for another 30 years

An overview of the almost 30 year old CAN technology, where it came from and where it goes. CAN is used in many new electronic designs, also thanks to continuous advancements in CAN controller technology. Comparison of various CAN controller technologies.

09:45 to 10:30 CANopen Essence
New to CANopen? Learn the key features in just 45 Minutes

With its 4000+ pages the CANopen drafts and standards are overwhelming to newcomers. Join this class to get an overview of the common technical key features that make CANopen work.

11:30 to 13:00  Introduction to NXP CAN microcontrollers and Co-Processors
CAN controllers, CANopen Co-Processor, J1939 Co-Processor

Specialties of NXP CAN controllers and how an LPC11C24 can be used as a communication Co-Processor. Using the LPC11C24 with integrated CAN transceivers to implement a Co-Processor to implement and handle a higher-layer protocol, offloading this task from a host processor system. The host system communicates with the gateway via
UART, I2C or SPI.

Participants may qualify for a free NXP Evaluation Kit (must be present to qualify, 50 kits available).

For more information about the international CAN conference visit: www.can-cia.org

Categories: CAN, CANopen Tags: ,

Car add-on networking CiA447 goes V2.0

July 19th, 2011 Comments off

The CAN in Automation documents known as CiA447 describe how CANopen is used in automotive “add-on electronics” applications. These are electronics not added by the car manufacturer, but at a later point. Most common usage is for electronics used in taxis, emergency response vehicles and police cars.

Recently CiA447’s functionality was enhanced and especially the new power-down and wake-up procedures required a version step upwards, as they are not backward compatible.

Today, Daimler is the only manufacturer already offering cars with CiA447 interface. However, several other car manufacturers have already shown prototypes.

One of the biggest benefits of CiA447 is, that it offers add-on electronics access to some of the cars displays and buttons. In modern cars, there is typically no physical room to add electronics near the dashboard, as all space is used up. CiA447 allows “sharing” some of the cars displays and buttons, so that the electronic components themselves do not need to be mounted near the dashboard.

We at ESAcademy have now updated all our CANopen products for CiA447 to implement the latest V2.0 enhancements and changes. This includes our Micro CANopen source code solutions, our CANopen Magic line of analyzers and our CiA447 gateway simulator. Contact us, if you need to bring CiA447 to your electronics.

Categories: CANopen Tags:

MicroCANopen Plus 5.50 Available

October 2nd, 2010 Comments off

MicroCANopen Plus and MicroCANopen Plus Add-in Manager have been updated. The highlights in the new version of the embedded CANopen stack are:

  • More clarity and easier maintenance in user-configurable files by dividing call back functions into multiple files
  • More flexibility by adding many more data call backs for SDO accesses
  • Framework support to guard Object Dictionary entries with auto-generated minimum and maximum values from EDS/DCF file

Customers with ongoing maintenance agreement with us are entitled to a free upgrade. In this case, please download the new version from

CANopenStore.com/support.php

using the activation code(s). For those projects using auto-generated code, also update CANopen Architect EDS to the latest version.

The process to update embedded firmware libraries that become part of a bigger project can be complicated. For that reason, we have developed tools and to ease this on-time task.

Contact us if you are interested in obtaining or need assistance in performing the update.

CiA 447 Car Add-on Devices Gateway Simulation Software Available

July 21st, 2010 Comments off

The number of product developments supporting the automotive standard for ‘add-on devices’ CiA447 is on the rise.

The standard supports electronic devices used in taxis, emergency response vehicles and other governmental service vehicles. Typical components include roof bars (light & sound), radios, control units, taximeters, printers and similar devices.

Using a CiA447 gateway, automotive manufacturers like Daimler already provide access to the vehicles internal data today. The standard allows sharing some of the car’s resources like switches and displays with CiA447 devices. A steering wheel button can be used as the PTT (push to talk) button for a radio, which in return can use the car’s display to show channel numbers, volume settings or such. Read more…

Categories: CANopen Tags: ,