background image

User Manual

NMEA 2000 USB Gateway YDNU-02

also covers models

YDNU-02RM, YDNU-02RF, YDNU-02NM, YDNU-02NF

Firmware version

1.00 

2017

Summary of Contents for YDNU-02NF

Page 1: ...User Manual NMEA 2000 USB Gateway YDNU 02 also covers models YDNU 02RM YDNU 02RF YDNU 02NM YDNU 02NF Firmware version 1 00 2017...

Page 2: ...www yachtd com NMEA 2000 is a registered trademark of the National Marine Electronics Association SeaTalk NG is a registered trademark of Raymarine UK Limited Garmin is a registered trademark of Garm...

Page 3: ...27 VIII Recording of Diagnostics Data 34 IX Firmware Updates 36 X Programming Considerations 38 APPENDIX Troubleshooting 40 APPENDIX B Device Connectors 41 APPENDIX NMEA 2000 Messages Supported by Dev...

Page 4: ...s mode the Device performs conversion from NMEA 2000 binary protocol to NMEA 0183 text based protocol and vice versa NMEA 0183 is a very old and very popular protocol supported by virtually all marine...

Page 5: ...t Windows or cp Linux and Mac OS X command With any terminal program you can get access to a service menu where you can configure filters for received and transmitted messages and tune some other sett...

Page 6: ...de the cost of equipment installation and configuration or shipping of the defective Device to the manufacturer 5 Responsibility of the manufacturer in case of any damage as a consequence of the Devic...

Page 7: ...re supplied with different types of NMEA 2000 connectors Models containing R in the suffix of model name are equipped with NMEA 2000 connectors compatible with Raymarine SeaTalk NG Models containing N...

Page 8: ...n from USB see note 1 35 mA USB interface specification supported 1 1 2 0 3 0 USB Device VID PID 0483 A217 hex USB connection waterproof rating see note 2 IP67 Supply voltage from NMEA 2000 network 7...

Page 9: ...models may be mounted outside In this case using YU USB2 CPI 01 100 or YU USB3 CPI 01 100 cables ensures an IP67 waterproof connection It is equipped with a protective cap used when no cable is connec...

Page 10: ...SeaTalk NG Reference Manual 81300 1 for Raymarine networks Technical Reference for Garmin NMEA 2000 Products 190 00891 00 for Garmin networks After connecting the Device close the lock on the connect...

Page 11: ...ending of incorrect messages to the network and can lead to malfunction of critical ship systems You must be sure that your software functions properly before a sea trial If you do not plan to control...

Page 12: ...it is already opened in another one This limitation can be avoided with 3 rd party software In Microsoft Windows you must set the COM port number below 10 COM1 COM9 for Device Otherwise some applicati...

Page 13: ...he port number is above COM9 you must change the port number to COM1 COM9 Open the device s properties switch to the Port Settings tab and click the Advanced button Select another port number in the b...

Page 14: ...t back Until doing this applications may fail to open the Device s port 2 Other Microsoft Windows versions Open the Device Manager in the Computer Management applet of the Control Panel If the Device...

Page 15: ...the STMicroelectrionics web site http www st com type STM32 Virtual COM Port Driver in the search box on the site You should extract files from the ZIP archive to the disk folder Select NMEA 2000 USB...

Page 16: ...urer of the Device s core chip and STMicroelectronics Virtual COM Port shown in Figure 5 If you have no STMicroelectronics Virtual COM Port in the list click the Have Disk button and specify the folde...

Page 17: ...ou must to change it please see the Microsoft Windows 10 section of this chapter 3 Mac OS X After connecting the Device click on the Apple icon and select the About This Mac menu item Click the button...

Page 18: ...er of 00090001 and the Device s port to use in applications is dev cu usbmodem00090001 You can type the following command in the terminal to check the port name ls dev cu usbm For a Device with serial...

Page 19: ...CM device The port name for use in applications is dev ttyACM1 printed in the last line of the output You can type the following command in the terminal to check the port name ls dev ttyA Note that af...

Page 20: ...second period Device is connected to PC port is not opened by an application First signal is GREEN if data from NMEA 2000 are received during the period RED otherwise Second signal is GREEN if no dat...

Page 21: ...e not installed or cable is damaged or Device is disabled ejected in PC settings or Device is connected to USB power adapter or with power only USB cable Three second GREEN signal Recording of diagnos...

Page 22: ...port You can do it with the built in echo command in the command line shell in Microsoft Windows Mac OS or Linux For example to switch operation mode to 0183 run the following command all characters...

Page 23: ...PC applications to the NMEA 2000 network making the Device read only We will call this the silent mode for simplicity echo YDNU SILENT ON COM3 echo YDNU SILENT ON dev cu usbmodem00090001 stty F dev tt...

Page 24: ...MODE SERVICE COM3 echo YDNU MODE SERVICE dev cu usbmodem00090001 stty F dev ttyACM1 hupcl echo YDNU MODE SERVICE dev ttyACM1 The command will be confirmed by a signal of Device s LED Note that the se...

Page 25: ...igure 1 Leave all other settings unchanged Figure 1 Putty is ready to open the COM3 serial port After connection you will see the welcome screen of service menu of Device see Figure 2 on the next page...

Page 26: ...26 Figure 2 Welcome screen of the service menu...

Page 27: ...s To exit from the service mode you should activate some other operation mode with the MODE command For example after the command MODE 0183 you will see NMEA 0183 sentences in the terminal window MODE...

Page 28: ...e n2k_tx For messages received from application in N2K mode 0183_rx NMEA 0183 sentences passed to application in 0183 mode 0183_tx NMEA 0183 sentences accepted from application in 0183 mode For operat...

Page 29: ...29 Figure 1 Example of configuration of incoming filters...

Page 30: ...ng sentences matches to GLL and VDM records sentence formatters GPGLL 4146 5894 N 07029 6952 W 173412 02 A 02 AIVDM 1 1 B ENk smq71h MeR6 7rpP00003vf400 4 5F Other filters actually contain pairs of 29...

Page 31: ...x000000FF ADDR 0x0B ADDR 11 0x01FD0700 0x01FFFFFF To remove the third record from the list you can type any of following commands REMOVE 0x0A 0xFF REMOVE ADDR 0x0A REMOVE ADDR 10 The command REMOVE AL...

Page 32: ...ttings to factory values including filters RESET HARDWARE EEPROM contains a copy of firmware file uploaded at the factory After any firmware update you can return to your initial firmware and return y...

Page 33: ...ted in hexadecimal and text data NMEA 0183 sentences is printed as text Sample of data output 00 00 47 812 USB TX MWV 355 1 R 26 7 M A 0F DBT 59 1 f 18 03 M 9 8 F 27 MTW 22 9 C 1A 00 00 47 814 N2K RX...

Page 34: ...th three second red signal from the LED when stops recording Example of starting and stopping of recording in Microsoft Windows please see explanation of command syntax in the chapter V C echo YDNU DI...

Page 35: ...session output radio button Then choose output file location In the terminal session run a DIAG ALL command and wait until all data is printed Close the terminal program locate the session log file in...

Page 36: ...information in the list of NMEA 2000 SeaTalk NG SimNet Furuno CAN devices or in the common list of external devices on the chart plotter see third line in Figure 1 Usually access to this list is locat...

Page 37: ...EEPROM Red red green Device already contains firmware of this version Red green red File header is correct but uploaded file is corrupted If the Device produces no special signals after copying the fi...

Page 38: ...r details N2K 10 02 A1 03 11 02 00 49 10 03 This sequence is used in the Canboat application to turn on Receive All Messages mode on ActiSense NGT Any sequence starting with 10 02 bytes will activate...

Page 39: ...milliseconds after the port is opened If no data are received during that 2000 milliseconds or received data cannot be interpreted as an activation sentence the Device activates 0183 mode 5 The appli...

Page 40: ...Application cannot open Device port write and or access errors when sending commands to Device Check the LED signals If Device signals that the port is already opened by an application close all appl...

Page 41: ...41 APPENDIX B Device Connectors Figure 1 NMEA 2000 connectors of the YDNU 02RM and YDNU 02RF left and connectors of the YDNU 02NM and YDNU 02NF right models...

Page 42: ...he Device see chapter V Appendix D contains the list of messages processed during conversion from NMEA 2000 to NMEA 0183 and from NMEA 0183 to NMEA 2000 Table 1 Messages supported by Device Message Re...

Page 43: ...rs supported 127250 Vessel Heading HDG HDM HDT See note 4 127251 Rate of Turn ROT 127258 Magnetic Variation See note 4 127488 Engine Parameters Rapid Update RPM Two engines are supported 128259 Speed...

Page 44: ...30313 Humidity XDR See notes 1 2 130314 Actual Pressure XDR See notes 1 2 130316 Temperature Extended Range XDR MTW See notes 1 2 129038 AIS Class A Position Report VDM VDO AIS VHF messages 1 2 and 3...

Page 45: ...S VHF message 24 Note 1 Air and water temperature inside and outside humidity barometric pressure are supported Note 2 Only messages with data instance 0 are converted Note 3 Device does not perform c...

Page 46: ...WV 130306 Wind Data Theoretical wind sent as ground referenced to True North calculated using COG SOG RMB 129283 Cross Track Error 129284 Navigation Data Use data from APB PGN 129284 sent twice with t...

Page 47: ...ge 18 AIS VHF message 19 AIS VHF message 21 AIS VHF messages 4 and 11 AIS VHF message 5 AIS VHF message 9 AIS VHF message 24 AIS VHF message 24 Note 5 The Device provides 50 milliseconds intervals bet...

Page 48: ...MEA 2000 to PC T from PC to NMEA 2000 msgid 29 bit message identifier in hexadecimal format contains NMEA 2000 PGN and other fields b0 b7 message data bytes from 1 to 8 in hexadecimal format CR LF end...

Page 49: ...plication with T direction For example the application sends the following sentence to the Device 19F51323 01 02 CR LF When this message is sent to the NMEA 2000 network the Application receives an an...

Page 50: ...pe ASCII DLE character 16 decimal 1 Start of Text ASCII STX character 02 decimal 2 Packet ID Identifies the type of packet 3 Size of Packet Data Number of bytes of packet data bytes 4 to n 4 4 to n 4...

Page 51: ...r global addressed messages 5 Source Address Ignored for outgoing messages Device address is used 6 9 Time Stamp Device s time in milliseconds ignored in outgoing messages 10 Size of Payload Number of...

Page 52: ......

Reviews: