大红鹰dhy登录界面「网站首页」欢迎您 /en/tsmaster-function-customization-details/ Mon, 10 Oct 2022 03:49:31 +0000 /?p=1400 Automotive electronics technology is developing at a high speed, involving a sharp increase in the number of electronic control ECU, the control of the object is also diverse, the difficulty of control increases significantly. The effect of control on one side [...]

The post TSMaster calibration function detailed explanation first appeared on Shanghai TOSUN Technology Ltd..

]]>

High-speed development of automotive electronics,Electronic control involvedECUDramatic increase in numbers,The objects of control are also diverse,The difficulty of control increases significantly. The effectiveness of the control depends on the design of the control algorithm on the one hand,On the other hand, it depends more on the calibration and commissioning of the parameters.

TSMasterIt is a calibration tool software for automotive electronics applications, which will provide a new choice for the majority of automotive electronics R&D engineers and calibration engineers. In this section we focus on how to useTSMasterPerform calibration.

I. DAQ configuration

When you cannot get the DAQ related configuration directly from A2L, you can refer to the existing project and add the DAQ description configuration manually, which mainly contains two parts: Event Channel + DAQ. The process is shown below.

1銆丒vent Channel

Event channels are event triggering mechanisms that are defined during the development of the ECU CCP module. Therefore, event channels can be added manually, according to the description file. The event channel contains the following main properties.

鉃 Channel name: This name is arbitrarily named by the user, mainly do not repeat, with a clear prompt can be.

Event channel: The channel number is determined at the time of ECU design and matches the trigger rate. For example, the event defined in the ECU with channel 0 corresponds to the 10ms trigger rate, and the correspondence between them cannot be wrong.

Trigger Rate: Select the speed corresponding to the channel number.

Unit: Select 1ms to be.

Adding steps.

(1) Through ECU->Protocol->Event Setting

TSMaster calibration function detailed explanation

(2) Right click to add an event

TSMaster calibration function detailed explanation

(3) Enter the name, select the event channel, trigger rate and unit can

TSMaster calibration function detailed explanation

2銆丏AQ

When the DAQ list cannot be read automatically from the ECU configuration, the user needs to add the DAQ list description manually, as follows.

(1) Enter the setup interface via the path ECU->Protocol->DAQ Settings.

TSMaster calibration function detailed explanation

(2)Remove the checkbox for automatic detection as follows:

TSMaster calibration function detailed explanation

If the checkbox is not removed, the ODT list is the ODT that the ECU gets dynamically from the ECU by command during the download processThe description of the list and the dynamic assignment of the ODT list, where the attributes do not need to be configured manually and therefore cannot be assignedPlace the property.

(3) Right click at the blank position to add and remove ODT list descriptions.

TSMaster calibration function detailed explanation

(4)Settings ODT List Properties.

TSMaster calibration function detailed explanation

If you are not sure about the detailed meaning of the ODT list, just refer to the existing project and match the above description table to the same.

(5) Caution.

After setting the channel in Event Settings, you need to save the project and restart the software to see the corresponding event channel properties in the drop-down box of DAQ Settings.

Second, RAM and ROM switching

1.Reason

Some ECU In the calibration, the memory address mapping needs to be switched, for example, to RAM Calibration inECU Internal CCP (The architecture is related and not all need this mechanism). As shown below.

As shown above, the memory map is set in the ECU, so when the Flash address of 0x08D0000-0x08DFFFF is calibrated, the RAM address of 0x02D0000-0x02DFFFF is actually calibrated directly. After the calibration is done, a Hex file will be created on the PC side, and then the Hex file will be burned to the Flash address by the bootloader.

If the switch is not made, the CCP module of the ECU receives the calibration address and goes directly to that Flash address for calibration. Because Flash is different from RAM, it cannot be written randomly, which will trigger a Flash write hardware error and cause the ECU calibration module toDirect exception exit.

2銆丳ractical operation

When the ECU is powered on for the first time, if the ECU is still in the Flash calibration state after the TSMaster is connected, you only need to click the switch button on the calibration manager to switch the ECU to RAM calibration by CCP command.That is. As shown in the figure below.

TSMaster calibration function detailed explanation


III. A2L document

1銆丩oad the new A2L file

After completing the above configuration, save a base template project. When subsequent A2L changes occur, simply update the A2L file on this base project. As shown in the following figure.

TSMaster calibration function detailed explanation

2銆乁pdate A2L file

Update the internal address of the A2L file.

IV. Use of CAN FD channels

TSMaster calibration function detailed explanation


V. ECU connection failure

Setting up the Reconnect ECU

During the connection to the ECU, this situation may occur: the ECU node does not reply after receiving the first frame of the Connect command, and only replies after receiving the second frame of the Connect command, as shown in the following figure.

TSMaster calibration function detailed explanation

If the calibration is not configured without the reconnect mechanism, it will cause the software to return a connection failure error after only one connection attempt. The solution is to configure the reconnection mechanism of the ECU from ECU->Protocol->Protocol Settings, as shown in the following figure.

TSMaster calibration function detailed explanation

After the settings shown above, the software will try to connect 2 more times, as shown below.

TSMaster calibration function detailed explanation

The post TSMaster calibration function detailed explanation first appeared on Shanghai TOSUN Technology Ltd..

]]>