S32k312

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1,216 Views
Karthik_7
Contributor IV

Hi , I am planning to use the S32k312 MCU , before that i want to know the what are the software packages and supports available for the particular controller , 

I have seen that there are AUTOSAR and NON AUTOSAR packages available and we want to use the non autosar but i got confused with the RTD that we need to use here are the list of things i would like to know 

1. Which RTD i need to use for non autosar project does RTD remain same for both. 
2. do i need to use the s32 design studio or  EB tresos for configuration , if we can use eb tresos do we need to get the production license?. for the same.
3.which OS is more suited for my requirement and MCU 
4.is there any example projects already available for this particular S32K312

Regards
Karthik Mallya M  

Tags (1)
0 Kudos
Reply
1 Solution
1,112 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport
  1. If you use EB Tresos, yes, you need production license.   
  2. FreeRTOS is not ISO26262 certified. An option is to use SAFE RTOS or Autosar OS from our partners like Elektrobit, Green Hills Software or Vector.
  3. FreeRTOS cannot be used, so discuss this with selected vendor.
  4. Let me summarize what we have:

We have very basic OTA demo “SW32K3_OTADEMO_0.8.0_D2203” for S32K344 - it shows how to write new application to passive block and then request AB SWAP (this is a feature of HSE firmware). RTD 1.0.0 is used in this demo.

Next more advanced demo is “S32K396 OTA Demo version 0.4.0” which shows how to update firmware via ethernet. This one uses RTD 3.0.0 P07.

Both demos can be found in S32K3 Reference Software:

https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-REFSW-D

Click on the link and then search for “Automotive SW - S32K3 - OTA Demo”.

 

These are the only versions we have, it’s only reference software, it’s up to users to migrate it to other derivatives or to newer RTD packages.

 

Then we have Unified bootloader:

https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099

This is unofficial demo only shared on the community, provided AS IS with no guarantees and no support. It’s not production code. Notice that this bootloader does not use HSE firmware - it does not take advantage of AB Swap feature. There are examples for S32K312/314/324/344.

 

If you are looking for production code, take a look at third parties like:

https://www.vector.com/int/en/products/products-a-z/embedded-software/flash-bootloader/

 

Regards,

Lukas

View solution in original post

4 Replies
1,189 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Karthik_7 

1. RTD is still the same. It has two layers – upper MCAL Autosar layer and lower non-Autosar Ip layer. If it is not required to use Autosar in your project, you can use Ip layer.

See the video in Overview section or take a look at product brief document:

https://www.nxp.com/design/design-center/software/automotive-software-and-tools/real-time-drivers-rt...

2. EB Tresos can be used for Autosar layer only. It does not support Ip layer. Use S32 Design Studio for Ip layer.
If you want to use Autosar and EB Tresos, it would be necessary to buy a license for from Elektrobit. We provide only evaluation license for Tresos.

3. FreeRTOS is usually good choice. We have ported version in S32K3 Reference Software:
https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-REFSW-D
Notice that it is important to follow the instructions in Release Notes documents for each SW package. For example, latest “SW32K3 FreeRTOS 11.1.0 version 6.0.0 Code Drop” is supposed to be used with “S32K3_S32M27x Real-Time Drivers ASR R21-11 Version 6.0.0”. Each Release Notes document for RTD also mentions which S32 Design Studio version should be used.

4. SW examples are available in mentioned packages.

Regards,
Lukas

1,171 Views
Karthik_7
Contributor IV

Hey Lukas,

Thank you for the quick and very detailed response, 

now I got a high-level understanding about the platform, 

On S32K312 our plan is to make our Non Autosar applications independent of S32K series, so we are thinking of using the EB tresos MCAL provided in NXP portal on top of that we will develop an abstraction layer which will connect my non Autosar application.

here are my next questions

1. Do we need to get the EB tresos license for production even we are just going to use the MCAL AUTOSAR RTD?

2. Yes, FreeRTOS is the reliable solution for us, but our ECU is ASIL-B compliance, based on the safety requirement is it still advised to go with FreeRTOS ? or any other product you recommend here.

3. Is there any integration guide/content or example package which we can refer for integrating the EB MCAL package and Free RTOS.

4. Is there any NXP bootloader available for this?

 

0 Kudos
Reply
1,113 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport
  1. If you use EB Tresos, yes, you need production license.   
  2. FreeRTOS is not ISO26262 certified. An option is to use SAFE RTOS or Autosar OS from our partners like Elektrobit, Green Hills Software or Vector.
  3. FreeRTOS cannot be used, so discuss this with selected vendor.
  4. Let me summarize what we have:

We have very basic OTA demo “SW32K3_OTADEMO_0.8.0_D2203” for S32K344 - it shows how to write new application to passive block and then request AB SWAP (this is a feature of HSE firmware). RTD 1.0.0 is used in this demo.

Next more advanced demo is “S32K396 OTA Demo version 0.4.0” which shows how to update firmware via ethernet. This one uses RTD 3.0.0 P07.

Both demos can be found in S32K3 Reference Software:

https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-REFSW-D

Click on the link and then search for “Automotive SW - S32K3 - OTA Demo”.

 

These are the only versions we have, it’s only reference software, it’s up to users to migrate it to other derivatives or to newer RTD packages.

 

Then we have Unified bootloader:

https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099

This is unofficial demo only shared on the community, provided AS IS with no guarantees and no support. It’s not production code. Notice that this bootloader does not use HSE firmware - it does not take advantage of AB Swap feature. There are examples for S32K312/314/324/344.

 

If you are looking for production code, take a look at third parties like:

https://www.vector.com/int/en/products/products-a-z/embedded-software/flash-bootloader/

 

Regards,

Lukas

1,088 Views
Karthik_7
Contributor IV
Thank you, Lukas, for the clarification
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2320163%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2320163%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%2C%20I%20am%20planning%20to%20use%20the%20S32k312%20MCU%20%2C%20before%20that%20i%20want%20to%20know%20the%20what%20are%20the%20software%20packages%20and%20supports%20available%20for%20the%20particular%20controller%20%2C%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20seen%20that%20there%20are%20AUTOSAR%20and%20NON%20AUTOSAR%20packages%20available%20and%20we%20want%20to%20use%20the%20non%20autosar%20but%20i%20got%20confused%20with%20the%20RTD%20that%20we%20need%20to%20use%20here%20are%20the%20list%20of%20things%20i%20would%20like%20to%20know%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E1.%20Which%20RTD%20i%20need%20to%20use%20for%20non%20autosar%20project%20does%20RTD%20remain%20same%20for%20both.%26nbsp%3B%3CBR%20%2F%3E2.%20do%20i%20need%20to%20use%20the%20s32%20design%20studio%20or%26nbsp%3B%20EB%20tresos%20for%20configuration%20%2C%20if%20we%20can%20use%20eb%20tresos%20do%20we%20need%20to%20get%20the%20production%20license%3F.%20for%20the%20same.%3CBR%20%2F%3E3.which%20OS%20is%20more%20suited%20for%20my%20requirement%20and%20MCU%26nbsp%3B%3CBR%20%2F%3E4.is%20there%20any%20example%20projects%20already%20available%20for%20this%20particular%20S32K312%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%3CBR%20%2F%3EKarthik%20Mallya%20M%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2321658%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2321658%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThank%20you%2C%20Lukas%2C%20for%20the%20clarification%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2321106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2321106%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3COL%3E%0A%3CLI%3EIf%20you%20use%20EB%20Tresos%2C%20yes%2C%20you%20need%20production%20license.%20%26nbsp%3B%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3EFreeRTOS%20is%20not%20ISO26262%20certified.%20An%20option%20is%20to%20use%20SAFE%20RTOS%20or%20Autosar%20OS%20from%20our%20partners%20like%20Elektrobit%2C%20Green%20Hills%20Software%20or%20Vector.%3C%2FLI%3E%0A%3CLI%3EFreeRTOS%20cannot%20be%20used%2C%20so%20discuss%20this%20with%20selected%20vendor.%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ELet%20me%20summarize%20what%20we%20have%3A%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSPAN%3EWe%20have%20very%20basic%20OTA%20demo%20%E2%80%9C%3C%2FSPAN%3ESW32K3_OTADEMO_0.8.0_D2203%E2%80%9D%3CSPAN%3E%20for%20S32K344%20-%20it%20shows%20how%20to%20write%20new%20application%20to%20passive%20block%20and%20then%20request%20AB%20SWAP%20(this%20is%20a%20feature%20of%20HSE%20firmware).%20RTD%201.0.0%20is%20used%20in%20this%20demo.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ENext%20more%20advanced%20demo%20is%20%E2%80%9C%3C%2FSPAN%3ES32K396%20OTA%20Demo%20version%200.4.0%E2%80%9D%20which%20shows%20how%20to%20update%20firmware%20via%20ethernet.%20This%20one%20uses%20RTD%203.0.0%20P07.%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBoth%20demos%20can%20be%20found%20in%20S32K3%20Reference%20Software%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fswlicensing%2Fsso%2FdownloadSoftware.sp%3Fcatid%3DSW32K3-REFSW-D%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fswlicensing%2Fsso%2FdownloadSoftware.sp%3Fcatid%3DSW32K3-REFSW-D%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EClick%20on%20the%20link%20and%20then%20search%20for%20%E2%80%9CAutomotive%20SW%20-%20S32K3%20-%20OTA%20Demo%E2%80%9D.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThese%20are%20the%20only%20versions%20we%20have%2C%20it%E2%80%99s%20only%20reference%20software%2C%20it%E2%80%99s%20up%20to%20users%20to%20migrate%20it%20to%20other%20derivatives%20or%20to%20newer%20RTD%20packages.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThen%20we%20have%20Unified%20bootloader%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FUnified-bootloader-Demo%2Fta-p%2F1423099%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FUnified-bootloader-Demo%2Fta-p%2F1423099%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EThis%20is%20unofficial%20demo%20only%20shared%20on%20the%20community%2C%20provided%20AS%20IS%20with%20no%20guarantees%20and%20no%20support.%20It%E2%80%99s%20not%20production%20code.%20Notice%20that%20this%20bootloader%20does%20not%20use%20HSE%20firmware%20-%20%3CSPAN%3Eit%20does%20not%20take%20advantage%20of%20AB%20Swap%20feature.%20There%20are%20examples%20for%20S32K312%2F314%2F324%2F344.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EIf%20you%20are%20looking%20for%20production%20code%2C%20take%20a%20look%20at%20third%20parties%20like%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.vector.com%2Fint%2Fen%2Fproducts%2Fproducts-a-z%2Fembedded-software%2Fflash-bootloader%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vector.com%2Fint%2Fen%2Fproducts%2Fproducts-a-z%2Fembedded-software%2Fflash-bootloader%2F%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3ELukas%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2320635%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2320635%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHey%26nbsp%3B%3CSPAN%3ELukas%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20the%20quick%20and%20very%20detailed%20response%2C%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Enow%20I%20got%20a%20high-level%20understanding%20about%20the%20platform%2C%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EOn%20S32K312%20our%20plan%20is%20to%20make%20our%20Non%20Autosar%20applications%20independent%20of%20S32K%20series%2C%20so%20we%20are%20thinking%20of%20using%20the%20EB%20tresos%20MCAL%20provided%20in%20NXP%20portal%20on%20top%20of%20that%20we%20will%20develop%20an%20abstraction%20layer%20which%20will%20connect%20my%20non%20Autosar%20application.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ehere%20are%20my%20next%20questions%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E1.%20Do%20we%20need%20to%20get%20the%20EB%20tresos%20license%20for%20production%20even%20we%20are%20just%20going%20to%20use%20the%20MCAL%20AUTOSAR%20RTD%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E2.%20Yes%2C%20FreeRTOS%20is%20the%20reliable%20solution%20for%20us%2C%20but%20our%20ECU%20is%26nbsp%3B%3CSPAN%20class%3D%22%22%3EASIL-B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3Ecompliance%2C%20based%20on%20the%20safety%20requirement%20is%20it%20still%20advised%20to%20go%20with%20FreeRTOS%20%3F%20or%20any%20other%20product%20you%20recommend%20here.%3CBR%20%2F%3E%3CBR%20%2F%3E3.%20Is%20there%20any%20integration%20guide%2Fcontent%20or%20example%20package%20which%20we%20can%20refer%20for%20integrating%20the%20EB%20MCAL%20package%20and%20Free%20RTOS.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22%22%3E4.%20Is%20there%20any%20NXP%20bootloader%20available%20for%20this%3F%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2320312%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2320312%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F231210%22%20target%3D%22_blank%22%3E%40Karthik_7%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1.%20RTD%20is%20still%20the%20same.%20It%20has%20two%20layers%20%E2%80%93%20upper%20MCAL%20Autosar%20layer%20and%20lower%20non-Autosar%20Ip%20layer.%20If%20it%20is%20not%20required%20to%20use%20Autosar%20in%20your%20project%2C%20you%20can%20use%20Ip%20layer.%3C%2FP%3E%0A%3CP%3ESee%20the%20video%20in%20Overview%20section%20or%20take%20a%20look%20at%20product%20brief%20document%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fautomotive-software-and-tools%2Freal-time-drivers-rtd%3AAUTOMOTIVE-RTD%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fsoftware%2Fautomotive-software-and-tools%2Freal-time-drivers-rtd%3AAUTOMOTIVE-RTD%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E2.%20EB%20Tresos%20can%20be%20used%20for%20Autosar%20layer%20only.%20It%20does%20not%20support%20Ip%20layer.%20Use%20S32%20Design%20Studio%20for%20Ip%20layer.%3CBR%20%2F%3EIf%20you%20want%20to%20use%20Autosar%20and%20EB%20Tresos%2C%20it%20would%20be%20necessary%20to%20buy%20a%20license%20for%20from%20Elektrobit.%20We%20provide%20only%20evaluation%20license%20for%20Tresos.%3C%2FP%3E%0A%3CP%3E3.%20FreeRTOS%20is%20usually%20good%20choice.%20We%20have%20ported%20version%20in%20S32K3%20Reference%20Software%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fswlicensing%2Fsso%2FdownloadSoftware.sp%3Fcatid%3DSW32K3-REFSW-D%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fswlicensing%2Fsso%2FdownloadSoftware.sp%3Fcatid%3DSW32K3-REFSW-D%3C%2FA%3E%3CBR%20%2F%3ENotice%20that%20it%20is%20important%20to%20follow%20the%20instructions%20in%20Release%20Notes%20documents%20for%20each%20SW%20package.%20For%20example%2C%20latest%20%E2%80%9CSW32K3%20FreeRTOS%2011.1.0%20version%206.0.0%20Code%20Drop%E2%80%9D%20is%20supposed%20to%20be%20used%20with%20%E2%80%9CS32K3_S32M27x%20Real-Time%20Drivers%20ASR%20R21-11%20Version%206.0.0%E2%80%9D.%20Each%20Release%20Notes%20document%20for%20RTD%20also%20mentions%20which%20S32%20Design%20Studio%20version%20should%20be%20used.%3C%2FP%3E%0A%3CP%3E4.%20SW%20examples%20are%20available%20in%20mentioned%20packages.%3C%2FP%3E%0A%3CP%3ERegards%2C%3CBR%20%2F%3ELukas%3C%2FP%3E%3C%2FLINGO-BODY%3E