problem installation s32k3 FreeRTOS

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

problem installation s32k3 FreeRTOS

Jump to solution
7,732 Views
michelet1
Contributor II

Hello,

i have s32ds 3.5 and i'm using the board MCTPTX1AK324(and follow step provided to get started) with installation RTD 4.4 2.0.0,  IPCF 4.0.0.

I have tried to install sw32k3_FreeRTOS_10.4.6_2.0.0_D2204 and i following these steps on s32ds 3.5:

1)Open Window->Preferences. From next windows, select S32 Design Studio for S32 Platform-> S32DS Extensions and Updates, click Add All and select zip archive sw32k3_FreeRTOS_10.4.6_2.0.0_D2204

2)Help -> S32DS Extensions and Updates. At this point a window appears indicating unsuitable package(i have include image in the attachment) . The question is: which version of FreeRTOS should i download to be compatible with RTD 2.0.0 and s32ds3.5?

Thanks in advance for any help and info

0 Kudos
Reply
1 Solution
7,715 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @michelet1 

Could you validate if the following works for you? 
 
VaneB_4-1699904487532.png
VaneB_5-1699904498843.png VaneB_6-1699904557577.png
VaneB_7-1699904595385.png VaneB_8-1699904643929.png
You need to accept all the terms and conditions, and if the package is correctly installed S32DS will ask you to restart.
 
B.R.
VaneB

View solution in original post

0 Kudos
Reply
4 Replies
7,716 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @michelet1 

Could you validate if the following works for you? 
 
VaneB_4-1699904487532.png
VaneB_5-1699904498843.png VaneB_6-1699904557577.png
VaneB_7-1699904595385.png VaneB_8-1699904643929.png
You need to accept all the terms and conditions, and if the package is correctly installed S32DS will ask you to restart.
 
B.R.
VaneB
0 Kudos
Reply
7,703 Views
michelet1
Contributor II

Hello,

Thanks for the reply. I tried to follow the steps you indicated and i actually managed to install freertos.

As a next step i tried to allocate a static task and the related scheduler function(vTaskStartScheduler).

I modified FreeRTOSConfig.h to have static allocation etc.. but when I start the code and debug with PE micro it generates hardFault() when it executes prvPortStartFirstTask(void) function in vTaskStartScheduler.

I can't figure out if it's due to a FreeRTOS installation problem that creare conflict in the code or have i configured the FreeRTOSConfig part incorrectly? In the attachment i report the configuration of FreeRTOSConfig.h and the part of the code in the main in which i instantiate a static task and call vTaskStartScheduler.

 Thank you in advance for your help and availability

Michele

 

0 Kudos
Reply
7,680 Views
michelet1
Contributor II
Hello @VaneB,
anyway the installation of FreeRTOS on s32ds3.5 was successfull following your steps.
I decided to open a new post for the HardFault problem generated by prvPortStartFirstTask(void).
thanks for your help and availability.
0 Kudos
Reply
1,876 Views
AmyHuang666
Contributor II

Hi @michelet1 

Did you solve the problem about task you describled uplow? I'm suffering the same issue as yours. Could you please tell how you fix it? Thank you so mcuh~

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1756325%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eproblem%20installation%20s32k3%20FreeRTOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1756325%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3Ei%20have%20s32ds%203.5%20and%20i'm%20using%20the%20board%20MCTPTX1AK324(and%20follow%20step%20provided%20to%20get%20started)%20with%20installation%20RTD%204.4%202.0.0%2C%26nbsp%3B%20IPCF%204.0.0.%3C%2FP%3E%3CP%3EI%20have%20tried%20to%20install%20sw32k3_FreeRTOS_10.4.6_2.0.0_D2204%20and%20i%20following%20these%20steps%20on%20s32ds%203.5%3A%3C%2FP%3E%3CP%3E1)Open%20Window-%26gt%3BPreferences.%20From%20next%20windows%2C%20select%20S32%20Design%20Studio%20for%20S32%20Platform-%26gt%3B%20S32DS%20Extensions%20and%20Updates%2C%20click%20Add%20All%20and%20select%20zip%20archive%26nbsp%3Bsw32k3_FreeRTOS_10.4.6_2.0.0_D2204%3C%2FP%3E%3CP%3E2)Help%20-%26gt%3B%20S32DS%20Extensions%20and%20Updates.%20At%20this%20point%20a%20window%20appears%20indicating%20unsuitable%20package(i%20have%20include%20image%20in%20the%20attachment)%20.%20The%20question%20is%3A%20which%20version%20of%20FreeRTOS%20should%20i%20download%20to%20be%20compatible%20with%20RTD%202.0.0%20and%20s32ds3.5%3F%3C%2FP%3E%3CP%3EThanks%20in%20advance%20for%20any%20help%20and%20info%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2140608%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20problem%20installation%20s32k3%20FreeRTOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2140608%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F181154%22%20target%3D%22_blank%22%3E%40michelet1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20solve%20the%20problem%20about%20task%20you%20describled%20uplow%3F%20I'm%20suffering%20the%20same%20issue%20as%20yours.%20Could%20you%20please%20tell%20how%20you%20fix%20it%3F%20Thank%20you%20so%20mcuh~%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1757392%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20problem%20installation%20s32k3%20FreeRTOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1757392%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHello%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F201913%22%20target%3D%22_blank%22%3E%40VaneB%3C%2FA%3E%2C%3CBR%20%2F%3Eanyway%20the%20installation%20of%20FreeRTOS%20on%20s32ds3.5%20was%20successfull%20following%20your%20steps.%3CBR%20%2F%3EI%20decided%20to%20open%20a%20new%20post%20for%20the%20HardFault%20problem%20generated%20by%20prvPortStartFirstTask(void).%3CBR%20%2F%3Ethanks%20for%20your%20help%20and%20availability.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1756786%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20problem%20installation%20s32k3%20FreeRTOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1756786%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EThanks%20for%20the%20reply.%20I%20tried%20to%20follow%20the%20steps%20you%20indicated%20and%20i%20actually%20managed%20to%20install%20freertos.%3C%2FP%3E%3CP%3EAs%20a%20next%20step%20i%20tried%20to%20allocate%20a%20static%20task%20and%20the%20related%20scheduler%20function(vTaskStartScheduler).%3C%2FP%3E%3CP%3EI%20modified%20FreeRTOSConfig.h%20to%20have%20static%20allocation%20etc..%20but%20when%20I%20start%20the%20code%20and%20debug%20with%20PE%20micro%20it%20generates%20hardFault()%20when%20it%20executes%20prvPortStartFirstTask(void)%20function%20in%20vTaskStartScheduler.%3C%2FP%3E%3CP%3EI%20can't%20figure%20out%20if%20it's%20due%20to%20a%20FreeRTOS%20installation%20problem%20that%20creare%20conflict%20in%20the%20code%20or%20have%20i%20configured%20the%20FreeRTOSConfig%20part%20incorrectly%3F%20In%20the%20attachment%20i%20report%20the%20configuration%20of%20FreeRTOSConfig.h%20and%20the%20part%20of%20the%20code%20in%20the%20main%20in%20which%20i%20instantiate%20a%20static%20task%20and%20call%20vTaskStartScheduler.%3C%2FP%3E%3CP%3E%26nbsp%3BThank%20you%20in%20advance%20for%20your%20help%20and%20availability%3C%2FP%3E%3CP%3EMichele%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1756476%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20problem%20installation%20s32k3%20FreeRTOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1756476%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%2F181154%22%20target%3D%22_blank%22%3E%40michelet1%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%3ECould%20you%20validate%20if%20the%20following%20works%20for%20you%3F%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%20id%3D%22tinyMceEditorVaneB_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22VaneB_4-1699904487532.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VaneB_4-1699904487532.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F249619i90537A5F7EFA8D2D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22VaneB_4-1699904487532.png%22%20alt%3D%22VaneB_4-1699904487532.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22VaneB_5-1699904498843.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VaneB_5-1699904498843.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F249620iE6C2510E8228B5EC%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22VaneB_5-1699904498843.png%22%20alt%3D%22VaneB_5-1699904498843.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22VaneB_6-1699904557577.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VaneB_6-1699904557577.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F249621iA949F007DF53CCCF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22VaneB_6-1699904557577.png%22%20alt%3D%22VaneB_6-1699904557577.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22VaneB_7-1699904595385.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VaneB_7-1699904595385.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F249622i2E9D99CA176C496B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22VaneB_7-1699904595385.png%22%20alt%3D%22VaneB_7-1699904595385.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22VaneB_8-1699904643929.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22VaneB_8-1699904643929.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F249623i77404C5C8D0BE94C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22VaneB_8-1699904643929.png%22%20alt%3D%22VaneB_8-1699904643929.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3EYou%20need%20to%20accept%20all%20the%20terms%20and%20conditions%2C%20and%20if%20the%20package%20is%20correctly%20installed%20S32DS%20will%20ask%20you%20to%20restart.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EB.R.%3C%2FDIV%3E%0A%3CDIV%3EVaneB%3C%2FDIV%3E%3C%2FLINGO-BODY%3E