<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S32KのトピックRe: The error of GetCounterValue during initialization in case using AUTOSAR OS</title>
    <link>https://community.nxp.com/t5/S32K/The-error-of-GetCounterValue-during-initialization-in-case-using/m-p/1761704#M28862</link>
    <description>&lt;P&gt;Unfortunately, I lack knowledge on AUTOSAR OS, so I'm not sure if there is a way that AUTOSAR OS is initialized before calling Mcu_Init() (if still keeping Mcu_Init() being called in the startup process as you requested). But I think not.&lt;BR /&gt;So I guess the way you can do it is configure OsIfOperatingSystemType with OsIfBaremetalType&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2023 07:59:49 GMT</pubDate>
    <dc:creator>CongDang</dc:creator>
    <dc:date>2023-11-22T07:59:49Z</dc:date>
    <item>
      <title>The error of GetCounterValue during initialization in case using AUTOSAR OS</title>
      <link>https://community.nxp.com/t5/S32K/The-error-of-GetCounterValue-during-initialization-in-case-using/m-p/1734011#M27568</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I embedded RTD "S32K3_M27X Real-Time Drivers Version 3.0.0 P07" as MCAL in the AUTOSAR system and the error occurs and the Mcu initialization process fails.&lt;/P&gt;&lt;P&gt;Mcu_Init() is called in the startup process and AUTOASAR OS API GetCounterValue() is called from there.&lt;BR /&gt;However, GetCounterValue() can only be called in Task or ISR2, therefore it causes the error to call GetCounterValue() in the startup routine which is called before the OS starts.&lt;BR /&gt;I think, however, that Mcu_Init() is called in the startup routine is correct because it is written so in the RTD MCU instruction manual and the specification of AUTOSAR ECU state manager.&lt;/P&gt;&lt;P&gt;In addition, OSIF_COUNTER_SYSTEM has been chosen as the Mcu Timeout Method.&lt;/P&gt;&lt;P&gt;Could you let me know how we can avoid the error?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 01:54:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-error-of-GetCounterValue-during-initialization-in-case-using/m-p/1734011#M27568</guid>
      <dc:creator>MickMick</dc:creator>
      <dc:date>2023-10-05T01:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: The error of GetCounterValue during initialization in case using AUTOSAR OS</title>
      <link>https://community.nxp.com/t5/S32K/The-error-of-GetCounterValue-during-initialization-in-case-using/m-p/1761704#M28862</link>
      <description>&lt;P&gt;Unfortunately, I lack knowledge on AUTOSAR OS, so I'm not sure if there is a way that AUTOSAR OS is initialized before calling Mcu_Init() (if still keeping Mcu_Init() being called in the startup process as you requested). But I think not.&lt;BR /&gt;So I guess the way you can do it is configure OsIfOperatingSystemType with OsIfBaremetalType&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 07:59:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-error-of-GetCounterValue-during-initialization-in-case-using/m-p/1761704#M28862</guid>
      <dc:creator>CongDang</dc:creator>
      <dc:date>2023-11-22T07:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: The error of GetCounterValue during initialization in case using AUTOSAR OS</title>
      <link>https://community.nxp.com/t5/S32K/The-error-of-GetCounterValue-during-initialization-in-case-using/m-p/1772608#M29522</link>
      <description>&lt;P&gt;Thank you for your suggestion.&lt;/P&gt;&lt;P&gt;We also lacked knowledge of the AUTOSAR OS and could not get it to work properly using OSIF_COUNTER_SYSTEM.&lt;BR /&gt;Therefore, we decided to use OSIF_COUNTER_DUMMY.&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 00:09:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-error-of-GetCounterValue-during-initialization-in-case-using/m-p/1772608#M29522</guid>
      <dc:creator>MickMick</dc:creator>
      <dc:date>2023-12-12T00:09:33Z</dc:date>
    </item>
  </channel>
</rss>

