SW32G_RTD_4.4_4.0.2_HF02 RTD GTP Driver Bug?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SW32G_RTD_4.4_4.0.2_HF02 RTD GTP Driver Bug?

Jump to solution
377 Views
eburley
Contributor III

I am loading this Gpt Example into EB Tresos 28.2:

SW32G_RTD_4.4_4.0.2_HF02\eclipse\plugins\Gpt_TS_T40D11M40I2R0\examples\EBT\S32G3\Gpt_Example_S32G399A_M7

No matter what value is entered for GptChannelTickFrequency, I get the following error:

category : Error
project : Gpt_example_S32G399A_M7
description: Invalid XPath-expression for Attribute "RANGE" of node "/AUTOSAR/TOP-LEVEL-PACKAGES/Gpt/ELEMENTS/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelConfiguration_0/GptChannelTickFrequency": (1806) The XPath-expression "(num:i( contains(node:fallback(../GptHwIp,'PIT'),'PIT') = 'true') * noderef:value(concat(noderef:ref(noderef:value(concat(noderef:ref(node:fallback(../GptChannelClkSrcRef, .)), '/GptClockReference'))), '/McuClockReferencePointFrequency'))) + ( num:i(contains(node:fallback(../GptHwIp,'STM'),'STM'))* (noderef:value(concat(noderef:ref(noderef:value(concat(noderef:ref(node:fallback(../GptChannelClkSrcRef, .)), '/GptClockReference'))), '/McuClockReferencePointFrequency')) div (num:i(not(contains(node:fallback(../GptHwIp,'STM'),'STM'))) + node:fallback(../../../GptStm/*[contains(text:split(node:current()/../GptModuleRef, '/')[5], node:fallback(./@name, 1))]/GptStmPrescaler,1))) ) + ( num:i(contains(node:fallback(../GptHwIp,'FTM'),'FTM'))* (noderef:value(concat(noderef:ref(noderef:value(concat(noderef:ref(node:fallback(../GptChannelClkSrcRef, .)), '/GptClockReference'))), '/McuClockReferencePointFrequency')) div (num:i(not(contains(node:fallback(../GptHwIp,'FTM'),'FTM'))) + node:fallback(../../../GptFtm/*[contains(text:split(node:current()/../GptModuleRef, '/')[5], node:fallback(./@name, 1))]/GptFtmPrescaler,1))) ) + ( num:i(contains(node:fallback(../GptHwIp,'RTC'),'RTC') = true()) * ( ( (num:i(node:fallback(../../../GptRtc/*/GptRtcChannelClkSrc,'RTC_IP_CLOCK_SOURCE_0') = 'RTC_IP_CLOCK_SOURCE_0')) * noderef:value(concat(noderef:ref(noderef:value(concat(noderef:ref(node:fallback(../GptChannelClkSrcRef, .)), '/GptClockReference'))), '/McuClockReferencePointFrequency')) ) + ( (num:i(node:fallback(../../../GptRtc/*/GptRtcChannelClkSrc,'RTC_IP_CLOCK_SOURCE_0') = 'RTC_IP_CLOCK_SOURCE_1')) * num:i(16000000) ) + ( (num:i(node:fallback(../../../GptRtc/*/GptRtcChannelClkSrc,'RTC_IP_CLOCK_SOURCE_0') = 'RTC_IP_CLOCK_SOURCE_2')) * num:i(128000) ) + ( (num:i(node:fallback(../../../GptRtc/*/GptRtcChannelClkSrc,'RTC_IP_CLOCK_SOURCE_0') = 'RTC_IP_CLOCK_SOURCE_3')) * num:i(32000) ) ) div ( num:i( (num:i(node:when((node:fallback(../../../GptRtc/*/DivBy32,'true') = 'true'),num:i(32),num:i(1)) * node:when((node:fallback(../../../GptRtc/*/DivBy512,'true') = 'true'),num:i(512),num:i(1)))) + (num:i(contains(node:fallback(../GptHwIp,'PIT'),'PIT') = true())) + (num:i(contains(node:fallback(../GptHwIp,'STM'),'STM') = true())) + (num:i(contains(node:fallback(../GptHwIp,'FTM'),'FTM') = true())) ) ) ) " caused an error: Undefined function: noderef:ref
detailed : Invalid XPath-expression for Attribute "RANGE" of node "/AUTOSAR/TOP-LEVEL-PACKAGES/Gpt/ELEMENTS/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelConfiguration_0/GptChannelTickFrequency": (1806) The XPath-expression "(num:i( contains(node:fallback(../GptHwIp,'PIT'),'PIT') = 'true') * noderef:value(concat(noderef:ref(noderef:value(concat(noderef:ref(node:fallback(../GptChannelClkSrcRef, .)), '/GptClockReference'))), '/McuClockReferencePointFrequency'))) + ( num:i(contains(node:fallback(../GptHwIp,'STM'),'STM'))* (noderef:value(concat(noderef:ref(noderef:value(concat(noderef:ref(node:fallback(../GptChannelClkSrcRef, .)), '/GptClockReference'))), '/McuClockReferencePointFrequency')) div (num:i(not(contains(node:fallback(../GptHwIp,'STM'),'STM'))) + node:fallback(../../../GptStm/*[contains(text:split(node:current()/../GptModuleRef, '/')[5], node:fallback(./@name, 1))]/GptStmPrescaler,1))) ) + ( num:i(contains(node:fallback(../GptHwIp,'FTM'),'FTM'))* (noderef:value(concat(noderef:ref(noderef:value(concat(noderef:ref(node:fallback(../GptChannelClkSrcRef, .)), '/GptClockReference'))), '/McuClockReferencePointFrequency')) div (num:i(not(contains(node:fallback(../GptHwIp,'FTM'),'FTM'))) + node:fallback(../../../GptFtm/*[contains(text:split(node:current()/../GptModuleRef, '/')[5], node:fallback(./@name, 1))]/GptFtmPrescaler,1))) ) + ( num:i(contains(node:fallback(../GptHwIp,'RTC'),'RTC') = true()) * ( ( (num:i(node:fallback(../../../GptRtc/*/GptRtcChannelClkSrc,'RTC_IP_CLOCK_SOURCE_0') = 'RTC_IP_CLOCK_SOURCE_0')) * noderef:value(concat(noderef:ref(noderef:value(concat(noderef:ref(node:fallback(../GptChannelClkSrcRef, .)), '/GptClockReference'))), '/McuClockReferencePointFrequency')) ) + ( (num:i(node:fallback(../../../GptRtc/*/GptRtcChannelClkSrc,'RTC_IP_CLOCK_SOURCE_0') = 'RTC_IP_CLOCK_SOURCE_1')) * num:i(16000000) ) + ( (num:i(node:fallback(../../../GptRtc/*/GptRtcChannelClkSrc,'RTC_IP_CLOCK_SOURCE_0') = 'RTC_IP_CLOCK_SOURCE_2')) * num:i(128000) ) + ( (num:i(node:fallback(../../../GptRtc/*/GptRtcChannelClkSrc,'RTC_IP_CLOCK_SOURCE_0') = 'RTC_IP_CLOCK_SOURCE_3')) * num:i(32000) ) ) div ( num:i( (num:i(node:when((node:fallback(../../../GptRtc/*/DivBy32,'true') = 'true'),num:i(32),num:i(1)) * node:when((node:fallback(../../../GptRtc/*/DivBy512,'true') = 'true'),num:i(512),num:i(1)))) + (num:i(contains(node:fallback(../GptHwIp,'PIT'),'PIT') = true())) + (num:i(contains(node:fallback(../GptHwIp,'STM'),'STM') = true())) + (num:i(contains(node:fallback(../GptHwIp,'FTM'),'FTM') = true())) ) ) ) " caused an error: Undefined function: noderef:ref
id : 1803
resource :
path : /AUTOSAR/TOP-LEVEL-PACKAGES/Gpt/ELEMENTS/Gpt/GptChannelConfigSet/GptChannelConfiguration/GptChannelConfiguration_0/GptChannelTickFrequency
location :
stack :

 

 

Labels (1)
Tags (1)
0 Kudos
1 Solution
309 Views
eburley
Contributor III

To anyone else who runs into this issue: when copying the plugins into the tresos folder, also copy all of the .jar files, not just the folders.  Then it works.

View solution in original post

0 Kudos
1 Reply
310 Views
eburley
Contributor III

To anyone else who runs into this issue: when copying the plugins into the tresos folder, also copy all of the .jar files, not just the folders.  Then it works.

0 Kudos