Product Manual CANcockpitTU00-0726-5111102 Technische Änderungen vorbehalten 0609 Technical details subject to change 5.2 - 21The reproduction, distribution and utilization of this document as well as the communication of its contents to others without expressauthorization is prohibited. Offenders will be held liable for the payment of damages. All right reserved in the event of the grant of a patent,utility model or design .CANopen-Specification for CANcockpitRead and Write an EEPROM Data Record from and to EEPROM access buffer (2005h).This object is required to transfer data records to and from CANcockpit via the CANopen interface. The data is contained inData Records as specified below. One record contains 16 or less data bytes and only one record is transferred at any time.This way the SDO client can access the complete EEPROM data record for record.OBJECT DESCRIPTIONIndex 2005hName Read and Write EEPROM Data RecordObject Code VARData Type OCTET_STRINGCategory OptionalENTRY DESCRIPTIONAccess RwPDO Mapping NoValue Range 0x00 to 0xFFDefault Value N/AEEPROM Data Record Format for CANopen interface of CANcockpit:Description Data 16bit-Address Number of validdata bytes Reserved ChecksumSize/ bytes 16 2 1 1 1Symbol D[16] LH N R CSymbol DescriptionD[16] 16 data bytes are transferred in this field.LH Here the target address as a 16bit hexadecimal value is entered. The first byte represents the low byteof this address. The following byte is the high byte of the address. The address is a byte address, butbecause the EEPROM is organised in 16bit words, this address (LH) must always be an even number.N This byte indicates the number of valid data bytes contained from the beginning of D[16]. This byte mustalways be set to 16. Other values will result in an error.R Reserved, please set to 0.C Each record ends with an 8bit Checksum field, which contains the two's complement of the 8bit sum ofall bytes starting from "D[0]" to and including "R". Therefore, adding this sum and the value contained inthe Checksum field (8bit addition) must result in zero.Read Data Record from EEPROMTo read EEPROM data the object 2006h has to be read first to check, if the EEPROM is not busy, then a read commandincluding the byte address of the requested data can be written into object 2006h. Next object 2006h has to be polled until theRdy-Bit is 1, indicating that the requested data is available in object 2005h or until the Err-Bit becomes 1, indicating an error.In case of an error no data can be read, otherwise the EEPROM Data Record in object 2005h contains the requested dataand can now be read.Note: EEPROM read/ write access should not be performed during normal system operation. A hardware reset isrequired to make EEPROM changes active after successfully writing to EEPROM. EEPROM block checksums have tobe correct.