dSPACE SystemDesk 3.1p7 January 2013 Last-Minute Information ************************************************************************* Copyright (c) 2012 dSPACE GmbH, Germany Contents: 1. General 2. Improvements & fixed Problems 2.1 Improvements & fixed Problems by previous Patches 3. Limitations 4. Installing the Patch 1. General ************************************************************************* This patch can only be installed on an existing SystemDesk 3.1 installation (dSPACE Release 7.2). 2. Improvements & fixed Problems ************************************************************************* Diagram: - Added doubleclick functionality for software components in component diagram. As from now a doubleclick action will execute the default operation of the context menu. - Added new context menu item "Open Component Type Diagram", which allows the direct opening of component diagrams out of a specified composition diagram. Import/Export: - Cleaned up datamodel after import. RTE: - Added RTE code generation option "RteGenerateStdAutosarTypes" to suppress the generation of standard AUTOSAR type definitions in Rte_Type.h. - If the data type 'BlockIdType' cannot be found during generation of NvM basic software component, an error message is shown. The data type is required to create port defined arguments for the NvM software component. Simulation: - Problems with slow bus simulation on Windows XP/SP3 solved. 2.1 Improvements & fixed Problems by previous Patches ************************************************************************* SystemDesk 3.1p1: AUTOSAR Import/Export: - AUTOSAR export no longer prepends byte order encoding mark (BOM) to the files. - During AUTOSAR export of a module configuration the definition reference of a choice container is exported correctly. - Dataelements initial values are exported properly to AUTOSAR. - Big endian system signal start positions are handled properly during AUTOSAR import / export. Automation: - Prevent error during usage of Automation API element SignalGenerator. Communication bus file import: - Added new feature to merge multiple bus file imports (DBC, LDF or Fibex) to same ECU. After import ECUs are connected to multiple channels and clusters. ContainerManager: - Deleted columns remain invisible after application restart. - Scrollbar will not move unexpected. - Fixed syntaxchecking of workflowdefinition rules. Diagrams: - Added scrollbar for elements moved out of the visual scope. - Fixed arrangement of automatically created delegationports. - Transfer visual appearance from component diagram to composition diagram during initial element creation. - Improved performance of diagram automation. Editors: - Added methods to detect and remove invalid signals and signal mappings via automation. - Fixed problem when drag/dropping runnables between tasks. (runnables-of-task view was not updated) SoftwareArchitecture: - Opaque data type is fully supported in SystemDesk now and replaces original bitfield base type. A new property “NumberOfBits” is now available for opaque data types - it must not to be mismatched with the property “Array Width”, which could be configured with former bitfield property . Currently it is not possible to create arrays in opaque data types in SystemDesk. - Synchronization of exclusive area details works properly. - Prevent out of memory exception during library synchronization of large systems. - Fixed readonly state for structured data types if library link is enabled. - Number of trigger events of waitpoints is limited to one. - Fixed validation rules R190 and R191 handling floating point data types. RTE: - Increased performance of RTE generation if a lot of service connections are specified. - RTE can be generated if the same value-symbol-pair is used in different symbolic conversions. - Fixed a RTE codegenerator issue when generating RTE code for runnables using exclusive areas of type "Runs in exclusive area" with protection type "OsResource". - A BSW module configuration reference parameter of the type "ARPackage" can be accessed by automation. - RTE code generator can generate code for waitpoints if timeout is zero. - A2L file export problem related to rational scalings is fixed. - Unconnected required CalPrm Values are initialized with the correct value in RTE code. - In some cases, the type definition of per instance memory was generated incompletely. - Added support for opaque data types by the RTE generator. - During RTE generation, complex data types are now generated completely into Rte_Type.h if they are specified via the RteDataTypePackage option. - In some cases the generated RTE code for asynchronouse server calls was not compilable. - Fixed missing scaling in A2L export. - Reduced creation of temp files during RTE generation. - Generate RTE fails if no conversion was specified at a scaling. - Fixed error when generating RTE code for unconnected sender port if option "Can invalidate" was enabled. - Fixed a problem generating RTE code for multiply instantiated SWCs with runnables triggered by mode switch events. Simulation: - Fixed problem in VPU-Port generation. - Fixed GUI update in VPU dialog when toggeling Code Size Information. - Elements cannot be deleted during a simulation run. - Fixed behavior of buttons in simulation menue bar. - Scaling and units of measurements dropped on the plotter are updated when simulation starts. - Simulation systems can be built, if an XCP configuration contains no event channels. - Build of simulation system will no longer remain in state Building, if an error occurs during ASAP2 Export. - Os_Types.h does no longer define a NONE-Macro, which may cause problems with compilers like Windriver Diabolo. - Fixed a problem when creating a struct calibration parameter within a simulation experiment. - Added support for new PIL-Boards. The current version of SystemDesk / OfflineSimulator includes direct support for selected evaluation boards. - SymbolTableParser of Dx4 Board no longer requires will not require lst files. When exploring demo projects in PIL mode you might find the following helpful: - Please note that only as few as 32K RAM is available on the evaluation board Freescale MPC5604B. In order to run any demo it is advisable to reduce the size of XCP buffer to 1000 bytes. You may enter the setting in the properties of the VPU (SystemDesk Project tree: Project->System->Experiment->SimulationSystem->VPUs->NameOfTheVpu). - Please note that the default setting in any demo for calibratable variables (see RTE settings oft he corresponding ECU) is OFFLINE. i.e. calibratable variables are declared as ‘const’ in the C code. This is fine for simulation on your computer (SIL mode). However, for simulation on the evaluation board (PIL mode) it is necessary to use the setting RteCalibrationSupport = INITIALIZED_RAM to enable calibration support, otherwise calibration variables would be allocated in the flash memory of the evaluation board and could not be modified by the XCP service. - Added support for CTC Code Coverage Tool for GCC compiler. - Fixed wrong initial values for COM I-PDUs when using a ComPosition different from 0 in a ComSignal. - Sometimes simulation could not be resumed from pause state. - Fixed second download for VPU when using two PIL Boards on the same serial port. Misc: - Fixed migration of projects from SystemDesk 3.0 to SystemDesk 3.1. - Prevent annoyance while expanding tree nodes during drag over. - Added A2L-DisplayIdentifier to VariableBrowser and VariableManager. - Updated demo projects. SystemDesk 3.1p2: RTE: - Fixed an AUTOSAR incompatibility issue when generating RTE code in “COMPATIBILITY_MODE”. - RTE code generation is now possible for PerInstanceMemory where the type attribute has a name of an AUTOSAR data type. SoftwareArchitecture: - Fixed occasional crash in library element selection dialog. - Filter in selection dialog for library elements now works case insensitive. - Prevent possible inconsistencies during validation of DataType elements. System: - Fixed occasional crash after updating or deleting systems. SystemDesk 3.1p3: Automation: - Fixed Automation bug and added required methods to the DiagramManager Component - Invalid data accesses no longer can be created via automation. - Fixed Automation method GetElementByGuid. AUTOSAR Import/Export: - AUTOSAR import no longer creates cryptic names for hardware topology and network communication. - Fixed synchronization problems with port API options after AUTOSAR import. - Fixed AUTOSAR reimport issue that causes project inconsistencies. - During AUTOSAR import a default working directory is set for Systems and ECU configurations. - AUTOSAR 3.2.1 export no longer creates invalid xml files. - AUTOSAR export of constants for data element with local array width no longer reports unnecessary error messages. Container Manager: - Removed "Import Container" context menu item in ProjectManager and avoid operation execution in Automation Diagrams: - Diagram export now is possible via automation. - Alignment of diagram elements works properly. RTE: - During the command 'Update Com Configuration' ComTxModes are now deleted if no cyclic or event controlled timing is specified for a signal IPDU. - Fixed missing shutdown of ECU StateManager if RUN Request is released. - Fixed a RTE code generation problem when using an implicit data access to interrunnable variables from runnables that has not been mapped to a task. - Preferences dialog for ECU configuration now reacts to changes correctly. - Container Manager synchronisation fixed. - Added a RTE code generator error message to check invalid implicit data accesses. - Fixed an RTE code generation problem when using an implicit read\write access to an interrunable variable. - Used OS resources are now correctly allocated by the RTE code generator. Simulation (Requires OfflineSimulator 2.2 Patch 2): - Fixed issue with GCC Linker. It will not abort with an error, if too many object files and libraries shall be linked. - VPU dialog shows wrong target for specified compiler. - Fixed Code Coverage issues. The code Coverage output is avialable immediately after first simulation run. - Added support for evaluation board “Infineon Tricore 1797” with compiler GNU GCC 3.4.5. - Added support for new PIL-Boards. SoftwareSystems: - Fixed ComSpec tab page handling for client server operations. - Fixed a problem when deleting a system leads to project inconsistencies. - Fixed crash in library selection dialog. - Fixed find-unused-elements feature. - Externally defined property for ports in software architecture now is copied properly. - Fixed crashes when filter is set and new items are added in "Select ISignal"and "Select Signal" Dialogs. - Library folders now can be copied without crashes. - Synchronization with partly expanded trees works fine. SystemDesk 3.1p4: ContainerManager: - Adaptation of detecting a catalog after the first export. If the catalog name is not equal to the package group name, the correct catalog file will be still detected. Diagrams: - Diagram elements with negative positions will not be considered during diagram export. - Font width of exported diagrams reduced. This increades the typeface quality of exported bitmap. - Fixed Crash when changing Appearence of client-server port. Import/Export: - Fixed import producing orphaned elements in project file. - Added support for AUTOSAR import/ export of string constants. - Line feeds now are preserved in descriptions during AUTOSAR import/ export. - Imported service components no longer loose their part name. - AUTOSAR export now properly aborts if a top level composition is mapped to an ECU directly. Migration: - After migration from SystemDesk 3.0 to 3.1 signal mappings of connections between mapped atomics and mapped compositions disappeared is fixed. RTE: - Fixed a problem generating RTE code for multiply instantiated swc with runnables triggered by mode switch events. - During generation of NvM basic software component the prefix ‘NvM_’ is not included in the runnable symbols if the corresponding operation name already starts with the prefix. - Fixed a RTE code generator problem if generating RTE code for array signals together with the invalidation option "replace". The code was not compilable. - Fixed an internal RTE code generator error occurred if generating RTE code for per instance memories. - During RTE generation, structure elements are no longer added twice to a data type if the data type is generated because it is contained in an AUTOSAR package that is added to the RteDataTypePackages option in the RTE configuration. - Fixed a RTE code generator problem related to inter ECU reception and complex signals. - Fixed an internal error that occured when generating RTE code for an invalid array data type specification. - Fixed problem generating double RTE variable declarations. Simulation: - Fixed macro generation for implicit data access and complex data type. - Return value of conversion functions (macro) was not explicitly specified hence the compiler assumed "int" instead of "float64" as return type. - In the case of adding a measurement to a variable folder, the active experiment will be used to find the corresponding VPU. This leads to a measurement which references a wrong VPU if the experiment is not active. - Added check to EcuM CodeGenerator to prohibit integer overflows when a minimum run duration exceeds the value of 65535 times the main function cycle time. SoftwareSystem: - Fix: A system is not marked as asynchronous anymore if the Externally Defined flag is changed at a port in the software architecture. - Removed scaling validation from type validation, in order to be able to switch them off separately. - Fixed crash with initvalues for incomplete structure data types. - Min./ max. values now can be defined for record elements. - Fixed crash in library selection dialog. System: - Fixed 'Update COM configuration' crash, when an inter-ECU connected atomic inside a mapped composition was deleted and recreated. - Signal mapping editor mistakenly showed externally defined receiver connections as degraded and provided no validation information. Additionally validation information is now provided for degraded elements which have an assigned system signal. Misc: - "Find unused elements" now finds new created element. - "Find Usages" now detects structure elements. SystemDesk 3.1p5: AUTOSAR Import/Export: - Fixed collision detection for AUTOSAR export. - Fixed AUTOSAR import problem with system signals that caused inconsistent projects. - Improved AUTOSAR import message concerning colliding element names. BusImport: - During import of DBC files with multiplexed IPDUs now all IPDU and signal triggerings for all static and dynamic parts are created. RTE: - Fixed a problem that leads to the RTE code generator error message: "A problem occurred during RTE generation: The given key was not present in the dictionary." - Fixed multiply definitions of the RTE API Rte_IWriteRef when generating code for multiply instantiated software components. SoftwareSystem: - A data access in a copied internal behavior now has proper direction. Simulation: - SymbolTableParser of Dx4 Board will not require lst files any more. - Added support for object files in buid process when using GCC 3.4.5. - A check will prohibit integer overflows when a minimum run duration exceeds the value of 65535 times the main function cycle time. SystemDesk 3.1p6: Automation: - Fixed error regarding multiple exports of A2L via Automation. - Changed handling of Customattributes when used in Automation. Import/Export: - Unit display name now is imported properly via AUTOSAR. - AUTOSAR export of signal groups that are mapped to signal IPDUs now is possible. RTE: - Fixed a RTE codegeneration problem related to the API "Rte_IWrite" for complex data elements in compatibility mode. Simulation: - Added additional support for evaluation board InfineonTricore1791 using compiler Tasking 3.5R1. - Changed WCF binding from TCP to Named Pipes. Misc: - Fixed error, when repeatedly changing the order of mapped Signals in a Signal Group. 3. Limitations ************************************************************************* SystemDesk projects saved by this Patch cannot be opened with previous versions of SystemDesk. Simulation: GCC 3.4.2 Compile is no longer supported. 4. Installing the Patch ************************************************************************* To install the patch, you must be logged on with administrator rights. Close your SystemDesk application and simply run executable file. The setup will automatically locate and patch the SystemDesk installation. After this patch is applied, the installed patch is shown in the splash screen, about box and the message browser. *************************************************************************