Peak PCAN-Router Pro User Manual Download Page 54

PCAN-Router Pro – User Manual 
 

54 

17.

 

Only for firmware update via rotary switch:

 

Continue with step 6 in chapter 8.2 on page 49. 

18.

 

Restart the device by shortly interrupting the power supply. 

You can now use the PCAN-Router Pro with the new firmware. 

Summary of Contents for PCAN-Router Pro

Page 1: ...PCAN Router Pro 4 Channel CAN Router with Data Logger User Manual Document version 2 6 0 2021 03 03...

Page 2: ...not explicitly marked by or 2021 PEAK System Technik GmbH Duplication copying printing or other forms and the electronic distribution of this document is only allowed with explicit permission of PEAK...

Page 3: ...ation of the CAN Buses 16 3 3 Setting the Router ID for other Configurations 18 3 4 Voltage Supply of External Devices 20 3 5 Power Supply via D Sub Connector 22 3 6 Replacing the Button Cell for the...

Page 4: ...CompactFlash Card 39 6 2 Preparing a Configuration for Recording 41 6 3 Using the Recorded CAN Traffic 43 7 Creating Own Firmware 45 7 1 Library 47 8 Firmware Upload 48 8 1 System Requirements 48 8 2...

Page 5: ...irmware based on the ARM microcontroller NXP LPC2294 can be created and implemented The firmware is created using the included development package with GNU compiler for C and C and is then transferred...

Page 6: ...lies with CAN specifications 2 0 A B CAN bit rates from 40 kbit s up to 1 Mbit s NXP TJA1041 CAN transceiver with wake up Alternative pluggable transceiver modules on request CAN connections are D Sub...

Page 7: ...nel status LEDs Recording of CAN data and error frames to a CompactFlash card Conversion of logging data to various output formats using the Windows software PEAK Converter 1 2 Operation Requirements...

Page 8: ...aluminum casing Mating connector for power supply1 Configuration software PPCAN Editor 2 for Windows Conversion software PEAK Converter for Windows Industrial CompactFlash card min 1 GByte Windows de...

Page 9: ...clude a power supply unit for the power supply of the device The connection is done with the supplied mating connector Phoenix Contact MC1 5 2 STF 3 81 for fastening cable strands The polarity is as f...

Page 10: ...e Transmission Standard Special Function Used CAN Lines PCAN Transceiver TJA1041 default High speed CAN ISO 11898 2 Wake up via CAN CAN_L CAN_H PCAN Transceiver PCA82C251 High speed CAN ISO 11898 2 no...

Page 11: ...galvanic isolation is only provided for those pins that are assigned to CAN communication at the corresponding D Sub connector 2 CAN_L 7 CAN_H 3 CAN_GND 2 3 CompactFlash Card To log the CAN data traff...

Page 12: ...3 1 on page 13 Adjusting the termination for a CAN bus see chapter 3 2 on page 16 Setting the Router ID for the configuration see chapter 3 3 on page 18 Enabling the 5 Volt supply for external devices...

Page 13: ...High Speed CAN ISO 11898 2 5 kbit s to 1 Mbit s no yes IPEH 001004 PCAN Transceiver TH8056 Single Wire CAN SAE J2411 1 3 kbit s to 40 or 100 kbit s yes no IPEH 001005 PCAN Transceiver TJA1055 Low Spe...

Page 14: ...f the transceiver module upwards from the main board 8 Plug the alternative transceiver module onto the socket Make sure that the hole in the transceiver module is aligned to the corresponding hole in...

Page 15: ...utomatically detects the type of the inserted CAN transceiver module and adjusts the according default bit rate for the CAN channel see table above The bit rate can be changed by a configuration Note...

Page 16: ...ed to the bus Do the following to activate the termination Attention Electrostatic discharge ESD can damage or destroy components on the circuit board of the PCAN Router Pro Take precautions to avoid...

Page 17: ...7 k for CAN_L and CAN_H 1 1 k for CAN_L and CAN_H Single wire CAN SAE J2411 Transceiver only on request 9 1 k for CAN_SW 2 1 k for CAN_SW 7 Put the cover back on the housing by paying attention to the...

Page 18: ...ion configuration transfer For the transmission of CAN messages during normal operation this Router ID is not relevant Note The rotary switch setting F is reserved for an upload of new firmware Do the...

Page 19: ...re of LED light guides 7 Screw the four screws at the upper corners of the housing on the front and back side 8 Restart the device by connecting power supply again After the restart the changed Router...

Page 20: ...stems e g bus converters to or from the PCAN Router Pro while it is turned off Do the following to activate the 5 Volt supply Danger of short circuit Take great care when soldering to avoid short circ...

Page 21: ...Put the cover back onto the casing by taking care of LED light guides 8 Screw the four screws at the upper corners of the housing on the front and back side 9 Screw the two screws at the lower corners...

Page 22: ...tor Danger of short circuit Take great care when soldering to avoid short circuits Attention Electrostatic discharge ESD can damage or destroy components on the circuit board of the PCAN Router Pro Ta...

Page 23: ...3 Pin 9 CAN 4 Pin 9 7 Put the cover back onto the casing by taking care of LED light guides 8 Screw the four screws at the upper corners of the housing on the front and back side 9 Screw the two screw...

Page 24: ...power down mode Do the following to replace the button cell Attention Electrostatic discharge ESD can damage or destroy components on the circuit board of the PCAN Router Pro Take precautions to avoi...

Page 25: ...n A new button cell lasts several years If the internal clock indicates an unexpected time take out the button cell and measure its vol tage This should be around the nominal 3 0 Volts If the measured...

Page 26: ...in the program help or in the tutorial of the PPCAN Editor 2 Do the following to install the PPCAN Editor 2 1 Download the PPCAN Editor 2 software www peak system com quick DL Software E 2 Start the...

Page 27: ...Router Pro Using the standard firmware it is defined for each CAN channel that the PCAN Router Pro is reacting to incoming configuration messages Therefore do not use CAN ID 7E7h otherwise or switch t...

Page 28: ...ssion Standard Wake up Function PCAN Transceiver TJA1041 Transceiver installed by default High speed CAN ISO 11898 2 yes PCAN Transceiver PCA82C251 High speed CAN ISO 11898 2 no PCAN Transceiver MAX30...

Page 29: ...te In a configu ration the bit rate can be set independently for each CAN channel This is done with the I O function 70h Special Out CAN Bitrate Tip If the communication with the PCAN Router Pro is pr...

Page 30: ...Ds 1 3 5 and 7 green for incoming LEDs 2 4 6 and 8 red for outgoing CAN messages Via CAN channel 1 status CAN messages are provided for request RTR containing information related to the logging functi...

Page 31: ...not exist 0 6 1 FileOpenError File trace btr cannot be opened 0 7 1 FileSeekError Start of file trace btr cannot be found 1 0 1 FileStartError First sector of file trace btr cannot be determined 1 1...

Page 32: ...led to avoid accidental adjustment of the time via CAN The following gives instructions about Adjustment of the shipping configuration and the transfer to the PCAN Router Pro Transmission of a CAN mes...

Page 33: ...d configuration to the PCAN Router Pro Do the following to set the time with PCAN View and the shipping configuration for the PCAN Router Pro 1 Under Windows start the program PCAN View 2 Establish a...

Page 34: ...ip You can recall the current date and time with another CAN message having the ID 7F9h and being transmitted as remote request frame data bytes see table below Data structures of the CAN messages for...

Page 35: ...uter ID Green quick blinking 2 Hz No or no valid configuration is available for the currently specified Router ID Changing the Router ID section 3 3 on page 18 Transferring a configuration to the PCAN...

Page 36: ...to 0 deactivated If the PCAN Router Pro is in power down mode a wake up signal is needed so that the router turns on again see the following section 5 7 Wake up If the PCAN Router Pro is in power dow...

Page 37: ...ones coming in within the wake up period of 165 ms are not processed by the PCAN Router Pro 5 7 3 Wake Up Externally by High Level On each of the ports CAN 3 and CAN 4 a High level at least 4 5 V can...

Page 38: ...k RTC Applies to the standard firmware The PCAN Router Pro is turned on at the alarm time set previously The alarm time is set with a CAN message To do so the I O function 70h Special Out RTC Set Alar...

Page 39: ...th the PCAN Router Pro the contents of a CompactFlash card CF card must be prepared in a certain way What you need a Computer with card reader for CF cards a CF card with a maximum of 2 GByte capacity...

Page 40: ...s trace btr in different sizes in the download package Decompress the respective ZIP archive directly to the root directory of the CF card The download package can be downloaded here www peak system c...

Page 41: ...iguration Create the following entries see also figure Field Selection Input Explanation I O Function 70h Special Out Special functions of the PCAN Router Pro I O No Routing 1 to CF All Forward all CA...

Page 42: ...ion for the corresponding CAN channel here all four CAN channels Bit 0 1 dec CAN 1 Bit 1 2 dec CAN 2 Bit 2 4 dec CAN 3 Bit 3 8 dec CAN 4 Further logging possibilities with the I O function 70h Special...

Page 43: ...ty programs Character Separated Values CSV csv Common text based format for import into a spreadsheet semicolon as separator Do the following to get the trace data 1 Eject the CF card from the PCAN Ro...

Page 44: ...PCAN Router Pro User Manual 44 6 Start the conversion...

Page 45: ...rdware via CAN Content of the package Build Tools Tools for automating the build process Compiler Compilers for the supported programmable products Hardware Contains sub directories of the supported h...

Page 46: ...e IDE https code visualstudio com After that every example directory has a folder called vscode containing the needed files with your local path information 4 Now you can start Visual Studio Code whic...

Page 47: ...r Pro is supported by the library libPCAN Router ProGNU ys a stands for version number a binary file You can access all resources of the PCAN Router Pro by means of this library Die library is documen...

Page 48: ...rd can enable the bootloader For this see chapter 8 2 Prepare Hardware on page 49 and then chapter 8 3 Firmware Transfer on page 51 Note After an update of the standard firmware the C Status LED blink...

Page 49: ...to set the rotary switch Attention Electrostatic discharge ESD can damage or destroy components on the circuit board of the PCAN Router Pro Take precautions to avoid ESD when handling the circuit boar...

Page 50: ...onnectors CAN 1 to CAN 4 are blinking 6 Continue with chapter 8 3 Firmware Transfer on page 51 7 Turn the rotary switch on the board back to the previously set module ID 8 Put the cover back onto the...

Page 51: ...ter Pro after the firmware update Do the following to transfer a new firmware with PEAK Flash 1 Connect the device to the power supply The power LED lights green 2 Connect the CAN interface of your co...

Page 52: ...the Modules connected to the CAN bus radio button 8 In the Channels of connected CAN hardware drop down menu select a CAN interface connected to the computer e g PCAN USB 9 Make sure that the nominal...

Page 53: ...rate exists 11 Click Next 12 Select the Embedded Firmware or the Firmware File radio button Embedded Firmware is for updating the standard firmware of the device Firmware File is for selecting a firmw...

Page 54: ...anual 54 17 Only for firmware update via rotary switch Continue with step 6 in chapter 8 2 on page 49 18 Restart the device by shortly interrupting the power supply You can now use the PCAN Router Pro...

Page 55: ...protection 4 kV ESD protection Wake up voltage 2 V to 7 5 V DC at pin 4 of D Sub connector 3 and 4 Wake up duration 165 ms RTC backup supply Button cell CR1620 3 0 V Power saving modes Power down mode...

Page 56: ...via switch on the board CAN OFF ON High speed none 120 Low speed 4 7 k 1 1 k Single wire 9 1 k 2 1 k CAN ID reserved for configuration transfer 7E7h Listen only mode Programmable not activated at deli...

Page 57: ...ze 2 GByte Maximum size of a recording 2 GByte Recording format Proprietary binary format btr Conversion options with the supplied Windows program PCAN Trace trc Vector trace asc comma separated value...

Page 58: ...8 Conformity RoHS EU Directive 2011 65 EU RoHS 2 EU Directive 2015 863 EU amended list of restricted substances DIN EN IEC 63000 2019 05 VDE 0042 12 2019 05 EMC EU Directive 2014 30 EU DIN EN 61326 1...

Page 59: ...PCAN Router Pro User Manual 59 Appendix A CE Certificate...

Page 60: ...PCAN Router Pro User Manual 60 Appendix B Dimension Drawing Top view measures in mm Front view measures in mm The figures do not show the original size...

Page 61: ...File contents empty bytes 00h The size and the time stamp of the file trace btr are not altered by the PCAN Router Pro at data logging Capacity of CAN messages of the file trace btr 25 1 512 messages...

Page 62: ...Informa tion Battery The device and the battery it contains must not be disposed of with household waste Remove the battery from the device for proper separate disposal The PCAN Router Pro contains t...

Page 63: ...t 1 set CAN messages with 11 bit ID standard frame Bit 2 set CAN messages with 29 bit ID extended frame Routing x to y Explicit 11 11 bit CAN ID Forwarding of CAN messages with the given 11 bit CAN ID...

Page 64: ...C Set Minute 0 59 RTC Set Second 0 59 Declarations for date and time to set the battery buffered real time clock Note All declarations must be transmitted to the router Initialization with the I O fun...

Page 65: ...ber of transmitted CAN messages on CAN channel x Rx Msg Count CAN x 32 Number of received CAN messages on CAN channel x RTC Time 32 Value from bit pattern see right Read current time from the real tim...

Page 66: ...er cycle is required 1 CF card does not contain a partition or more than one 2 CF card isn t formatted with the file system FAT16 3 Root directory cannot be found 4 Root directory cannot be opened 5 F...

Reviews: