Skip to main content

Workflow

The setup workflow for the message authentication function is as follows.

Security Setting​

  1. Open Security Window

After installing the message authentication plugin into MicroPeckerX Control Software, Security Window is added. Select Security Window from the menu or toolbar.

SecurityWindow
  1. Open Security Setting dialog

Click the tab of the channel to configure message authentication. Click Security Setting to open the dialog.

SecurityWindow2

Channel Settings​

In the Ch Setting tab, configure message authentication settings common to each channel.

  1. Open Ch Setting tab
Ch Setting
  1. Select profile Select a security profile from the Profile pull-down menu.
profile
  1. Enable message authentication Enable Use Message Authentification.
Use Msg Auth
  1. FV Master/Slave setting Use FV Master checkbox to select master/slave. Check it when this node is master.
FV Master
  1. SyncFrame setting Configure synchronization messages in SyncFrame Setting.
SyncFrame Setting
  1. MAC Type setting In MAC Type Setting, set MAC bit position in CAN frame Data field and key generation method. If key generation uses fixed value, enter that value.
MAC Type Setting
  1. FV setting In FV Setting, enable/disable FV. If enabled, specify FV bit position in CAN frame Data field.
FV Setting
  1. MAC Source setting: Prefix In MAC Source Setting, set MAC generation method.
Profile: Jaspar​

When Jaspar is selected, required elements are preconfigured according to message ID specification. Enter only initial values.

MAC Source Jaspar
Profile: Custom​

When Custom is selected, set prefix bit length, elements (name, bit position, initial value, etc.), and generation method.

MAC Source Custom
  1. MAC Source setting: Payload In CAN/CAN-FD Payload of MAC Source Setting, configure payload enable/disable and payload bit position in Data field.
MAC Source Payload
  1. MAC Source setting: FV
Profile: Jaspar​

When Jaspar is selected, required FV elements are preconfigured. Enter only initial values.

MAC Source Jaspar FV
Profile: Custom​

When Custom is selected, set postfix bit length, elements (name, bit position, initial value, etc.), and generation method.

MAC Source Custom FV

ID Settings​

In the ID Setting tab, configure message authentication per CAN ID.

  1. Open ID Setting tab
ID Setting
  1. Add ID setting Click Plus button to add message authentication settings for a CAN ID.

  2. Target Frame Info For the added ID, configure frame information such as CAN ID, transmit cycle, and offset in Target Frame Info. Set Mode to Periodic for periodic transmission frames. For FV master, enter message ID in ID.

Target Frame Info
  1. Use Ch Setting If you do not want to use channel-common settings, clear Use Ch Setting. Security Setting items for the target ID will be shown so you can configure ID-specific settings.
ID Security Setting
  1. Configure all IDs Repeat steps 2 to 4 for all CAN IDs that require message authentication.

  2. Close Security Setting dialog After all settings are complete, click OK.

Monitoring​

In Security Window, you can view communication logs of security frames for message authentication.

  1. Enable Security Mode In each channel tab of Security Window, enable Security Mode Enabled. This enables message authentication.
Security Mode
  1. Start monitoring After settings are complete, click Start button in the main window to start CAN/CAN FD monitoring.
Security Window: During monitoring​
Security Window

All transmitted/received security message logs are shown in Monitor Window and Security Window. In Security Window, you can check Prefix/Postfix for each log (Message ID / FV for JASPAR profile).

Security Window: After monitoring​
Security Window