Safety - sCheck XRDC/XBIC0 - s32k322 SAF 1.0.5

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

Safety - sCheck XRDC/XBIC0 - s32k322 SAF 1.0.5

387 Views
Marekp
Contributor I

ure, at the moment I'd like to add teh wdgm callouts that you have mentioned last week. I guess till merge of commits some more time will go:/Hello Safety NXP team,
i try to enabling a sCheck test's and i have a few problems:

1. XRDC - when i executed StartUpTest i got fail from sCheck module.
Return error is - SCHECK_ERR_XRDC_MRC_1 - SCHECK_TEST_FAIL
I for this test's i have only enabled one test - XRDC - signature which are after test u32Signature = 0xB9DF0001.

where should I look for the problem. MCR_1 is realted with PRAM_0 but acces if full of range. Please look on screenshot

Marekp_3-1753104831164.png

 

Marekp_2-1753104822076.png

Marekp_4-1753104966297.png

 



2. XBIC problem - BUS_ERROR. For this test i enabling only XBIC_0 test's.
Im confused because in function   sCheck_Xbic_CoreTransfer i got BUSS_ERROR with addres 0x2200 D480, and this adres is out of range in TCM memory 

Marekp_6-1753105132403.png

 

Marekp_5-1753105044057.png

 

 

 

0 Kudos
Reply
1 Reply

291 Views
RadoslavB
NXP Employee
NXP Employee

Hi @Marekp 

XRDC - For sCheck startup tests it's better to not have XRDC initialized, startup test is configuring by itself. Please try to comment Rm_Init() and test it again.

XBIC - You need to have correctly placed mem sections s32_saf_bss_tcm_10 and s32_saf_bss_tcm_1.
It seems you don' t have assigned s32_saf_bss_tcm_1 to DTCM but to Backdoor DTCM.
Please see sCheck UM chapter - Address ranges accessed by XBIC tests
There is mentioned it will automatically add offset 0x01000000, so that explains that out of range address 0x2200 D480.
So please check and fix the linker file.


Kind Regards,
Radoslav

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2137492%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESafety%20-%20sCheck%20XRDC%2FXBIC0%20-%20s32k322%20SAF%201.0.5%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2137492%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Eure%2C%20at%20the%20moment%20I'd%20like%20to%20add%20teh%20wdgm%20callouts%20that%20you%20have%20mentioned%20last%20week.%20I%20guess%20till%20merge%20of%20commits%20some%20more%20time%20will%20go%3A%2FHello%20Safety%20NXP%20team%2C%3CBR%20%2F%3Ei%20try%20to%20enabling%20a%20sCheck%20test's%20and%20i%20have%20a%20few%20problems%3A%3C%2FP%3E%3CP%3E1.%20XRDC%20-%20when%20i%20executed%20StartUpTest%20i%20got%20fail%20from%20sCheck%20module.%3CBR%20%2F%3EReturn%20error%20is%20-%20SCHECK_ERR_XRDC_MRC_1%20-%20SCHECK_TEST_FAIL%3CBR%20%2F%3EI%20for%20this%20test's%20i%20have%20only%20enabled%20one%20test%20-%20XRDC%20-%20signature%20which%20are%20after%20test%20u32Signature%20%3D%200xB9DF0001.%3C%2FP%3E%3CP%3Ewhere%20should%20I%20look%20for%20the%20problem.%20MCR_1%20is%20realted%20with%20PRAM_0%20but%20acces%20if%20full%20of%20range.%20Please%20look%20on%20screenshot%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Marekp_3-1753104831164.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Marekp_3-1753104831164.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348566iFD1922B1FB8CF895%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Marekp_3-1753104831164.png%22%20alt%3D%22Marekp_3-1753104831164.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Marekp_2-1753104822076.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Marekp_2-1753104822076.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348565i882B25BD148E935B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Marekp_2-1753104822076.png%22%20alt%3D%22Marekp_2-1753104822076.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Marekp_4-1753104966297.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Marekp_4-1753104966297.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348567iB3A00BE79D724DDD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Marekp_4-1753104966297.png%22%20alt%3D%22Marekp_4-1753104966297.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E2.%20XBIC%20problem%20-%20BUS_ERROR.%20For%20this%20test%20i%20enabling%20only%20XBIC_0%20test's.%3CBR%20%2F%3EIm%20confused%20because%20in%20function%26nbsp%3B%20%26nbsp%3BsCheck_Xbic_CoreTransfer%20i%20got%20BUSS_ERROR%20with%20addres%26nbsp%3B0x2200%E2%80%88D480%2C%20and%20this%20adres%20is%20out%20of%20range%20in%20TCM%20memory%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Marekp_6-1753105132403.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Marekp_6-1753105132403.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348569i816C9C1D9870F779%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Marekp_6-1753105132403.png%22%20alt%3D%22Marekp_6-1753105132403.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Marekp_5-1753105044057.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Marekp_5-1753105044057.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348568iBF317D75AF382D7C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Marekp_5-1753105044057.png%22%20alt%3D%22Marekp_5-1753105044057.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2156123%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Safety%20-%20sCheck%20XRDC%2FXBIC0%20-%20s32k322%20SAF%201.0.5%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2156123%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%2F243055%22%20target%3D%22_blank%22%3E%40Marekp%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EXRDC%20-%20For%20sCheck%20startup%20tests%20it's%20better%20to%20not%20have%20XRDC%20initialized%2C%20startup%20test%20is%20configuring%20by%20itself.%20Please%20try%20to%20comment%20Rm_Init()%20and%20test%20it%20again.%3CBR%20%2F%3E%3CBR%20%2F%3EXBIC%20-%20You%20need%20to%20have%20correctly%20placed%20mem%20sections%26nbsp%3Bs32_saf_bss_tcm_10%20and%26nbsp%3Bs32_saf_bss_tcm_1.%20%3CBR%20%2F%3EIt%20seems%20you%20don'%20t%20have%20assigned%26nbsp%3Bs32_saf_bss_tcm_1%20to%20DTCM%20but%20to%20Backdoor%20DTCM.%3CBR%20%2F%3EPlease%20see%20sCheck%20UM%20chapter%20-%20%3CSPAN%20class%3D%22fontstyle0%22%3EAddress%20ranges%20accessed%20by%20XBIC%20tests%3CBR%20%2F%3E%3C%2FSPAN%3EThere%20is%20mentioned%20it%20will%20automatically%20add%20offset%200x01000000%2C%20so%20that%20explains%20that%20out%20of%20range%20address%26nbsp%3B%3CSPAN%3E0x2200%E2%80%88D480.%3CBR%20%2F%3ESo%20please%20check%20and%20fix%20the%20linker%20file.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EKind%20Regards%2C%3CBR%20%2F%3ERadoslav%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E