Workflow
The setup workflow for the message authentication function is as follows.
Security Setting
- 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.
- Open Security Setting dialog
Click the tab of the channel to configure message authentication.
Click Security Setting to open the dialog.
Channel Settings
In the Ch Setting tab, configure message authentication settings common to each channel.
- Open Ch Setting tab
- Select profile
Select a security profile from the
Profilepull-down menu.
- Enable message authentication
Enable
Use Message Authentification.
- FV Master/Slave setting
Use
FV Mastercheckbox to select master/slave. Check it when this node is master.
- SyncFrame setting
Configure synchronization messages in
SyncFrame Setting.
- 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.
- FV setting
In
FV Setting, enable/disable FV. If enabled, specify FV bit position in CAN frame Data field.
- 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.
Profile: Custom
When Custom is selected, set prefix bit length, elements (name, bit position, initial value, etc.), and generation method.
- MAC Source setting: Payload
In
CAN/CAN-FD PayloadofMAC Source Setting, configure payload enable/disable and payload bit position in Data field.
- MAC Source setting: FV
Profile: Jaspar
When Jaspar is selected, required FV elements are preconfigured. Enter only initial values.
Profile: Custom
When Custom is selected, set postfix bit length, elements (name, bit position, initial value, etc.), and generation method.
ID Settings
In the ID Setting tab, configure message authentication per CAN ID.
- Open ID Setting tab
-
Add ID setting Click
to add message authentication settings for a CAN ID. -
Target Frame Info For the added ID, configure frame information such as CAN ID, transmit cycle, and offset in
Target Frame Info. SetModetoPeriodicfor periodic transmission frames. For FV master, enter message ID inID.
- Use Ch Setting
If you do not want to use channel-common settings, clear
Use Ch Setting.Security Settingitems for the target ID will be shown so you can configure ID-specific settings.
-
Configure all IDs Repeat steps 2 to 4 for all CAN IDs that require message authentication.
-
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.
- Enable Security Mode
In each channel tab of
Security Window, enableSecurity Mode Enabled. This enables message authentication.
- Start monitoring
After settings are complete, click
in the main window to start CAN/CAN FD monitoring.
Security Window: During monitoring
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
