New Eagle DBC CAN Networking Toolbox

From NewEagleWiki
Revision as of 19:23, 20 April 2015 by Rwalker (talk | contribs)
Jump to navigation Jump to search

New Eagle DBC CAN Networking Toolbox

Version 30 is now avalible

Overview

New Eagle's Network Toolbox makes it easy to create CAN input and output blocks in MotoHawk. Instead of manually writing code in MATLAB to handle CAN messaging, Network Toolbox enables you to have useful CAN blocks starting from an industry-standard .dbc file to describe the CAN network. This saves development and debugging time and reduces complexity. With the free DBC file editor like the Kvaser Database Editor, you can also create your own custom .dbc files.

  • DBC to CAN Networking
  • New Eagle's Network Toolbox makes it easy to create CAN input and output blocks in MotoHawk
  • Network Toolbox enables you to have useful CAN blocks starting from an industry-standard .dbc file to describe the CAN network.
  • Saves development and debugging time and reduces complexity.
  • Create Custom .dbc files

Support

==Quick Start [| Easier MotoHawk CAN Development Webinar]

Licensing v0.0.30

  • Question: I purchased a Network Toolbox dongle license but when trying to use it I get a licensing error message (such as the one below).
    • Answer: Use New Eagle License Viewer to verify your dongle has a valid Network Toolbox license. Contact New Eagle support if your dongle does not have a valid Network Toolbox license.

Licensing v0.0.29 and prior

  • Question: I purchased a Network Toolbox license but when trying to use it I get a message (such as the one below) directing me to contact New Eagle Support.
    • Answer: Prior to v0.0.30 a new license file must be created for every computer this software was used on. v0.0.30 and beyond uses dongle-based licensing. Please contact sales to upgrade to v0.0.30.

Editing DBC files

To edit and create dbc files you could use the Database Editor which is available for a download in the required files download section.

FAQ's

Multiplexing

  • Question: How do I select a signal from a multiplexed CAN defintion?
    • Answer: The “Message Mode” parameter in the Network Toolbox will allow you to demux a single message from a multiplexed CAN message definition.
  • Question: Multiplexing doesn't appear to be working properly, how can I verify my implementation?
    • Answer: You should see the Network Toolbox create a block similar to the one on the right. For example, this block has a 3-bit Message Mode of value 5, starting at bit 49 Little Endian, (highlighted in yellow). You should see a similar payload mask and value corresponding to your multiplexed message based on the bit location and mode of the multiplexing. If the multiplexing is not creating a mask as you expect, ensure the dbc file is formatted correctly.

Error Codes

  • Question: Is there a method to detect J1939 error codes?
    • Answer: For J1939 received messages using the NE Network Toolbox, check the Raw output checkbox. This will additionally output the raw (unscaled, no offset) value, so that, in the application, it can be checked if the engineering value is invalid or unavailable per J1939. Note that this checking logic needs to be done in the application, which takes some effort; the Network Toolbox is capable of outputting the raw value to aid in this effort.

Release Notes

V0.0.30

  • Moved to dongle licensing for software maintenance. License files are no longer used.
  • DBC Parsing: Added float32 support

V0.0.29

  • The license file may now be placed in the C:\Program Files (x86)\NewEagle now in addition to the library folder. MAC address is no longer used. For backward compatibility, it should accept your existing license file.
  • Added new locations (C:\Program Files\NewEagle, C:\Program Files (x86)\NewEagle) to search for license file.
  • Changed license gen ID source to CPU/BIOS/Motherboard rather than MAC address.
  • Fixed issue in setting payload mask with little endian signals, bits > 16 were not being set appropriately.

V0.0.28

  • Added warning Messagebox when signal is outside of payload size.

V0.0.27

  • Added 'Use ID port' option. This adds an input to the TX block to set the CAN id.