background image

Hardware Reference Guide 

 

SST-DN4-PCU

 

 

Loading Firmware 

 

53 

©2009 Molex Inc.Automation & Electrical Products, Integrated Products Division 

 

Document Edition: 1.0, Document #: 715-0101, Template Edition: 1.1, Template #: QMS-06-045 

Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.

 

C.1.4  Load and Start the Firmware Module 

To load and start the firmware module, follow these steps: 

1.

 

Write the contents of the entire firmware file into shared memory, starting at bank zero 
(0), offset zero (0). 

2.

 

If the application requires interrupts from the card, bit-wise OR value 0x20 (IntEn) to the 
Control Register. 

3.

 

Bit-wise OR value 0x80 (CardRun) to the Control Register to start the firmware module. 

4.

 

Start a 2-second timeout timer and wait for value 0x04 (HostIrq0) in the Control Register 
to set. 

5.

 

If the timer expires, the firmware module failed to start. Write zero to the Control 
Register to disable the channel’s processor. If this problem persists, contact 
Technical Support for assistance. 

6.

 

Check the load status, as per the firmware manual. 

 

Summary of Contents for SST-DN4-PCU

Page 1: ...SST DN4 PCU Hardware Reference Guide Document Edition 1 0 Document 715 0101...

Page 2: ...roprietary and confidential property of Woodhead Industries Inc and or its subsidiaries and may not be used or disclosed to others without the express prior written consent of Woodhead Industries Inc...

Page 3: ...Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the information contained herein is subject to the re...

Page 4: ...ard Using this Guide If you are running a 3rd party application or writing your own application using the card s DLL calls the sections of interest in this guide will be Card Overview Installation and...

Page 5: ...special notation to help enhance your understanding Style The following stylistic conventions are used throughout this guide Bold indicates field names button names tab names and options or selection...

Page 6: ...erms are used throughout this guide Card the SST DN4 PCU network interface card Channel a DeviceNet network interface on the card Firmware Module the embedded software module that gets loaded to the c...

Page 7: ...Cautions are accompanied by the symbol shown and precede the topic to which they refer Note A note provides additional information emphasizes a point or gives a tip for easier operation Notes are acco...

Page 8: ...lectrical Products Integrated Products Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the information...

Page 9: ...ument Contents Preface 3 Purpose of this Guide 4 Using this Guide 4 Conventions 5 Style 5 Terminology 6 Special Notation 7 Card Overview 11 1 1 Warnings and Cautions 12 1 2 Card Features 13 1 3 Byte O...

Page 10: ...ess Register 33 3 4 5 BankSize Register 35 3 4 6 HostIrq Register 36 3 4 7 LedReg Register 36 3 4 8 Debug Register 37 3 4 9 Host Data Register FamilyID 37 Troubleshooting 39 4 1 HLTH LED is Red 40 4 2...

Page 11: ...n 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of...

Page 12: ...rcuit must disable the system in case of improper operation Uncontrolled machine motion may result if this procedure is not followed Failure to observe this precaution could result in bodily injury Ca...

Page 13: ...atible with PCI v2 3 Half height short PCI card 64 MHz NIOS Processor 256 KB of shared RAM DeviceNet compliant 5 pin CAN connector Data rate of up to 1M baud for CAN and 125K 250K and 500K for DeviceN...

Page 14: ...evision Supply Voltage Provided by Motherboard PCI I O Signaling Voltage Level of Motherboard 3 3V 5V 3 3V 5V 2 1 1 Optional Required Not supported Supported 2 2 Required Required Supported Supported...

Page 15: ...ent or any of the information contained herein is subject to the restrictions on page ii of this document 1 5 Hardware Description The main features of the card are described in more detail in the fol...

Page 16: ...olated section of the network interface and must be connected in order for the card to function On DeviceNet networks they connect directly to the red V and black V wires of the DeviceNet cable On non...

Page 17: ...egrated Products Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the information contained herein is s...

Page 18: ...cket Front View Table 2 LED Descriptions Feature Description 1 Channel A HLTH LED 2 Channel A COMM LED 18 Card Overview 2009 Molex Inc Automation Electrical Products Integrated Products Division Docum...

Page 19: ...ction 4 1 HLTH LED is Red Note Card Overview 19 2009 Molex Inc Automation Electrical Products Integrated Products Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 0...

Page 20: ...Electrical Products Integrated Products Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the informati...

Page 21: ...Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page...

Page 22: ...t without following these precautions Caution Always follow correct ESD procedures before handling the card We strongly recommend the use of a grounding wrist strap as a standard handling practice Nev...

Page 23: ...f 2 Adequately ground yourself as cautioned in Section 2 2 Handling Precautions 3 Unplug the power cord modem if applicable and any network cables 4 Remove the computer cover Consult your computer use...

Page 24: ...ent strands may cause shorts to the adjacent terminal Directly connecting DeviceNet thick cable to the card is not recommended due to the mechanical stress that the cable places on the connector If yo...

Page 25: ...a CAN Network Connect the CAN cable to the 5 pin connector and tighten all screws Make sure that all strands of wire go into the connector as bent strands may cause shorts to an adjacent terminal 2 4...

Page 26: ...Electrical Products Integrated Products Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the informati...

Page 27: ...Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the information contained herein is subject to the restrictions...

Page 28: ...Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the information contained herein is subject to the restrictions...

Page 29: ...Code 0x0280000 Revision ID Factory set N 000CH BIST 0x00 Header ID 0x00 PCI Latency 0x00 CacheLineSize 0x00 Y 7 0 0010H PCI Base Address 0 for Memory Mapped Config Registers Y 0014H PCI Base Address...

Page 30: ...ower up or after a physical reset from the system it typically takes 1 second for the channel to initialize though it is recommended that applications wait up to 2 seconds Initialization can be confir...

Page 31: ...The following offsets are offsets from the base address An X means that the bit is reserved writing to it will result in undefined behavior Offset Register Bit Name Name 7 6 5 4 3 2 1 0 00h Control C...

Page 32: ...is 1 and watchdog has timed out processor is halted and the LED is RED This bit must remain low for at least 50 s to guarantee proper reset MemEn This bit indicates and controls whether or not the cha...

Page 33: ...W R W R W R W R W R Reset 0 0 0 0 0 0 0 0 Table 10 Bank Address Register Values In this table the default window size is highlighted and a value of x indicates don t care Bit and Value Window Size and...

Page 34: ...2 6 3 1 0 x x 1 1 0 1 0 x 26 13 6 3 1 0 x x 1 1 0 1 1 x 27 13 6 3 1 0 x x 1 1 1 0 0 x 28 14 7 3 1 0 x x 1 1 1 0 1 x 29 14 7 3 1 0 x x 1 1 1 1 0 x 30 15 7 3 1 0 x x 1 1 1 1 1 x 31 15 7 3 1 0 x don t ca...

Page 35: ...R W R W R W R W R W R Reset 0 0 0 0 0 0 1 1 Table 13 BankSize Register Values In this table the default window values are highlighted Bit and Value Window Size Description WS19 WS18 WS17 WS16 WS15 WS...

Page 36: ...are platform detection in the HostIrq register as follows 1 Writing 1000b in bits 7 4 shall cause bits 7 4 to subsequently read a platform This code shall only be non zero for DN4 and above The initia...

Page 37: ...details Table 17 LedReg Register Values Bit Name Value Description PwrRed PwrGrn These bits indicate the channel s power state 0 0 1 1 0 1 0 1 Invalid LED is green LED is red Invalid HealthRed HealthG...

Page 38: ...mation Electrical Products Integrated Products Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the inf...

Page 39: ...and operation of this equipment and the hazards involved should install adjust operate or service this equipment Failure to observe this precaution could result in severe bodily injury or loss of lif...

Page 40: ...s to determine whether or not there has been a watchdog timeout and consult the appropriate firmware manual if necessary If you continue to experience difficulties refer to Section 4 4 General Trouble...

Page 41: ...f the operating system does not manage resources review the requirements of the other hardware installed in the machine to select a non conflicting memory window If you continue to experience difficul...

Page 42: ...n Electrical Products Integrated Products Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the informat...

Page 43: ...s Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the information contained herein is subject to the r...

Page 44: ...heck for memory and I O conflicts If you continue to experience difficulties refer to Section 4 4 General Troubleshooting A 3 Fatal Hardware Self Test Flash Codes Fatal failures during startup are acc...

Page 45: ...ed Products Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the information contained herein is subjec...

Page 46: ...n page ii of this document B 1 Technical Specifications The following tables list the technical specifications for the card Table 19 Environmental Specifications Ambient Conditions Storage temp 40 C t...

Page 47: ...mation contained herein is subject to the restrictions on page ii of this document PCI Bus Specifications Compliance Compatible with PCI 2 2 will operate in 2 3 and some 2 1 compliant systems Refer to...

Page 48: ...ical Products Integrated Products Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the information cont...

Page 49: ...er provided by Woodhead Software Electronics the following instructions are not required Loading Firmware 49 2009 Molex Inc Automation Electrical Products Integrated Products Division Document Edition...

Page 50: ...are Register Details C 1 1 Verify Card Presence To verify the channel s presence follow these steps 1 Start up your computer 2 Following release of the backplane reset wait up to 2 seconds 3 Verify a...

Page 51: ...onflicting RAM follow these steps 1 Write zero 0 to the Control Register to disable the channel 2 Read a word from the target memory window and save it 3 Write 0xAA55 to the target address 4 Read the...

Page 52: ...the shared memory with a test pattern Note We recommend using a test pattern with a unique value for each word in a given bank In C language this could be offset bank 6 Repeat steps 3 4 for all memory...

Page 53: ...e steps 1 Write the contents of the entire firmware file into shared memory starting at bank zero 0 offset zero 0 2 If the application requires interrupts from the card bit wise OR value 0x20 IntEn to...

Page 54: ...on Electrical Products Integrated Products Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the informa...

Page 55: ...Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the information contained herein is subject to the re...

Page 56: ...Ed 3 2 Common Industrial Protocol CIP Library Volume 3 Ed 1 4 DeviceNet Adaptation of CIP ODVA Publication March 2002 http www odva org PCI Local Bus Specification v2 2 PCI Special Interest Group Dec...

Page 57: ...iness hours by telephone fax or email from any Woodhead Software Electronics office or from http www woodhead com Documentation and software updates are also available on the website North America Can...

Page 58: ...f this document or any of the information contained herein is subject to the restrictions on page ii of this document Asia Pacific Japan Tel 81 46 265 2428 Fax 81 46 265 2429 Email WoodheadIC SupportA...

Page 59: ...egrated Products Division Document Edition 1 0 Document 715 0101 Template Edition 1 1 Template QMS 06 045 Use duplication or disclosure of this document or any of the information contained herein is s...

Page 60: ...l indicates compliance with European Council Directive 89 336 EEC The EMC Directive as amended by 92 31 EEC and 93 68 EEC Note To maintain compliance with the limits and requirements of the EMC Direct...

Reviews: