For a better experience on dSPACE.com, enable JavaScript in your browser. Thank you!

Patch 2.2p4 for dSPACE Release 2.2


Important: DO NOT install this patch if you are using Release 2.2 in conjunction with MATLAB® 5.2!

Patch 2.2p4 is intended for the following dSPACE products on dSPACE Release 2.2, Build-No. 1999100701, only. It corrects the following problems:

BASE/BASEN Ver. 1.6:

  • Support for new board versions added.
  • Fixed bug in the "Clear application from flash" routine for DS1401 boards.

ControlDesk® Base Instrumentation Kit Ver. 1.2:

  • The ControlDesk Data Kernel's multithreading option is now always disabled.
  • If an error occurs during the start of the animation, it might lead to double time trace captures. Only a few messages require time trace captures to be doubled later, when the variable description file is reloaded. This is caused by improper error handling in ControlDesk's animation startup code.
  • If a Template Instrument contains more than one instrument of the same type (e.g., 2 XYPlots), the use of "Show Properties" from the Template toolbar on one of these instruments with "All Windows" toggled off now shows the properties of the selected instrument. Formerly, the properties of the instrument that was inserted first were always displayed.
  • ControlDesk does not idle anymore when the View menu is opening.

ControlDesk Automation Kit Ver. 1.2:

  • The CCS2Lay converter now checks for existing files and prompts the user before overwriting.
  • Some wrapper files have been updated.
  • Bugs have been fixed in Excellib, Wordlib, MessageLib, KnobLib and GaugeLib.
  • During macro execution it is now possible to interrupt any macro delay.

DS1103 CAN Firmware Update Ver. 2.1.1:

  • The DS1103 CAN Firmware update to Version 2.1.1 fixes a bug in Version 2.1:
    If an application contains TX and RX messages, it is possible that messages might not be sent, depending on the CAN identifiers being used. In this case the mailbox error counter increases.

    Please refer to the file FirmwareDS1103DS1103CAN_FW2_1_1_Prg.txt for more information about the update.

    Note: It is NOT necessary to recompile the applications after installing the firmware.

DS1103 Slave DSP Firmware Update Ver. 3.1.1:

  • The DS1103 Slave DSP Firmware update to Version 3.1.1 fixes a bug in Version 3.1: Subinterrupt 15 from the slave DSP does not work, which affects channel 15 of the slave DSP ADC unit.

    Please refer to the file FirmwareDS1103DS1103SLVDSP_FW3_1_1_Prg.txt for more information about the update.

    Note: It is NOT necessary to recompile the applications after installing the firmware.

DS1401 CAN_TP1 Firmware Update Ver. 1.1.3:

  • The DS1401 CAN_Tp1 Firmware update to Version 1.1.3 fixes a bug in the DS1401 CAN_Tp1 firmware (UART support): If the subinterrupt enable function is called twice, under certain circumstances the C167 stops serving triggered UART interrupts. The corresponding UART channel no longer works.
  • This update also fixes a bug in Version 1.0.3: If an application contains TX and RX messages, it is possible that messages might not be sent, depending on the CAN identifiers being used. In this case the mailbox error counter increases.

    Please refer to the file FirmwareDS1401DS1401CAN_Tp1_FW1_1_3_Prg.txt for more information about the update.

    Note: It is NOT necessary to recompile any applications after the firmware update.

RTLib1003 Ver. 2.2:

  • The line mode of all connected DS3001 boards is now set to single ended and the latched error flag is cleared when the init() function is called. Hence an uninitialized DS3001 no longer activates the PHS bus I/O error line.
  • The DS4120 ECU interface board is fully supported now (external dual port memory, tag RAM). Subinterrupt handling is available. A great variety of ECU data formats is supported (big/little endian, packed/scattered, 8-, 16-, 32-bit integer, 32-bit float).
  • The BLD_MC40.BAT batch file for building the Multi C40 Library now supports the TI Compiler versions >= 5.0 too.

RTLib1401 Ver. 1.0:

  • Fixed bug in the flight recorder upload utility: Wrong time stamp information in uploaded flight recorder data no longer leads to scrambled signal traces.

Update to Ver. 1.2:

  • Comprises chassis control functions. For detailed information, please refer to
    docprintDS1401ChassisCtrl.pdf
    after executing the patch.
  • Supports the ADC on the DIO slave processor MC68336.

RTKernel Ver. 1.4:

  • Support for the DS4120 subinterrupt handling added.
  • Support of IP module class added.

RTI1003 Ver. 3.4.1:

  • The RTI1003 block DS4003OUT8_B1_P1_G0 now sets all 8 bits of the selected group and not only the least significant bit.
  • For "double" datatype support, the RTI1003 block DS5001READ_B1_C1 now outputs the time stamps for the number of events selected in the block's dialog.
  • The TRC file generator issues a message when the Real-Time Workshop option "Disable optimized block I/O storage" is not selected to report any missing variables in the TRC file.
  • If the encoder index search is started later than the start of the simulation, previously detected index lines are no longer signalized at the start of the index search.
  • The license check now supports license pools.
  • The makefile works around the failing of the TI linker that occurs if the DSPACE_ROOT environment variable contains a tilde (~) character. The latter happens on Win95 and Win98 systems if the dSPACE software is installed in a directory with more than 8 characters.
  • Minor bugfixes.

RTI1102 Ver. 3.4.1:

  • The TRC file generator issues a message when the Real-Time Workshop option "Disable optimized block I/O storage" is not selected to report any missing variables in the TRC file.
  • If the encoder index search is started later than the start of the simulation, previously detected index lines are no longer signalized at the start of the index search.
  • The license check now supports license pools.
  • The makefile works around the failing of the TI linker that occurs if the DSPACE_ROOT environment variable contains a tilde (~) character. The latter happens on Win95 and Win98 systems if the dSPACE software is installed in a directory with more than 8 characters.
  • Minor bugfixes.

RTI1103 Ver. 3.4.1:

  • The TRC file generator issues a message when the Real-Time Workshop option "Disable optimized block I/O storage" is not selected to report any missing variables in the TRC file.
  • If the encoder index search is started later than the start of the simulation, previously detected index lines are no longer signalized at the start of the index search.
  • The initialization values of the blocks DS1103BIT_OUT, DS1103BIT_OUT8 and DS1103SL_DSP_BIT_OUT are now correctly set.
  • The makefile works around the application fault the PPC compiler runs into if the compiler's command line becomes extremely long. The latter may happen if the dSPACE software is installed in a directory with a long path.
  • The DS1103ENC_HW_INDEX block now correctly outputs the measured index signal.
  • The license check now supports license pools.
  • Minor bugfixes.

RTI1401 Ver. 3.4.1:

  • The TRC file generator issues a message when the Real-Time Workshop option "Disable optimized block I/O storage" is not selected to report any missing variables in the TRC file.
  • Opening the RTILib of RTI1401 on computers running with a Japanese Windows installation no longer leads to error messages in the MATLAB Command Window.
  • The makefile works around the application fault the PPC compiler runs into if the compiler's command line becomes extremely long. The latter may happen if the dSPACE software is installed in a directory with a long path.
  • From now on, RTI1401 comprises chassis control blocks. For detailed information, please refer to
    docprintDS1401ChassisCtrl.pdf
    after executing the patch.
  • Supports the ADC on the DIO slave processor MC68336.
  • The blocks DIO_TP1_BIT_OUT, DIO_TP1_BIT_IN and DIO_TP1_PWM_VP have a new 'BootMode' parameter to select either Engine or Chassis Control.
  • From now on, the parameters in the blocks DIO_TP1_PWM_VP, DIO_TP1_PWM_VP, DIO_TP1_THR_PWM and DIO_TP1_THR_STEP have to be given in seconds instead of milliseconds. Old models are updated automatically.
  • The license check now supports license pools.
  • Minor bugfixes.

RTI-MP Ver. 3.4.1:

  • The makefile works around the failing of the TI linker that occurs if the DSPACE_ROOT environment variable contains a tilde (~) character. The latter happens on Win95 and Win98 systems if the dSPACE software is installed in a directory with more than 8 characters.
  • RTICAN Blockset for DS1103 Ver. 1.2:
  • The RTICAN initialization no longer interferes with the unit initializations of the master and slave DSPs on DS1103 boards.
  • CAN identifiers and acceptance masks spanning more than 6 digits are now correctly handled.
  • Using more than one mode-dependant signal per mode value is now correctly handled in the generated code: i.e., all mode-dependent signals are decoded and output by the corresponding RX block.

If you use one or more of these products from Release 2.2, it is recommended that you install Patch 2.2p4. Please remember that you have to reinstall the patch after reinstalling dSPACE software.

NOTE: Do not use this patch for releases other than those stated in the header. If in doubt, make sure that the Build-No. given matches your CD Build-No.
Preparing Patch 2.2p4
Download Patch 2.2p4 (3.4 MB) and save it to your hard disk.
Installing the Patch
Before you can install the patch you must install the dSPACE software you want to patch and reboot your system. You also need to close MATLAB and all other dSPACE software before invoking the patch.

1. Invoke 22p4.exe. The patch is installed.
2. Reboot the system. The software patch also generates an entry in the 'dSPACE.vs' file for each product being patched, which can be accessed via "Show Versions".
The 'p22p4.dbg' file is also generated in the config directory.