2416112_en-US

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

2416112_en-US

2416112_en-US

The S32K312mcal configuration for Grypto is not in the corresponding memory.

li5920o_0-1790252778932.png

li5920o_1-1790252805037.png

Hello:

The code uses mcal (RTD 5.0) and HSE (HyperSE 0.6.0) as the driver. All calls to the grypto service using the code generated by mcal return a response.

#define HSE_SRV_RSP_NOT_SUPPORTED (( hseSrvResponse_t ) 0xAA55A11EUL ) /**< @brief The operation or feature not supported. */
Then I tried calling the HSE interface directly and it worked fine. Why is that? Shouldn't the corresponding data be in the "no" field?
In the cacheable locations, I see in the map... li5920o_2-1790253054369.png

Could this be the reason why there's nothing in this section? Also, this is different from what I'm using.

li5920o_3-1790253145215.png

Does it matter?


If you see this, please answer my question and provide a solution for how to use the mcal code correctly.

Thank you very much

Re: S32K312mcal配置Grypto不在对应的内存

Hi @li5920o 


According to Crypto_43_HSE_MemMap.h, CRYPTO_43_HSE_START_SEC_VAR_SHARED_CLEARED_UNSPECIFIED_NO_CACHEABLE should force a variable into .mcal_shared_bss.

According to your map file, such section exists in the linker file.

It looks like some problem in compiler settings. Could you take a screenshot of all compiler settings? especially:

C Compiler - Optimization

C Compiler - Miscellaneous

C Compiler - Preprocessor


Could you also send me build log from the console and also all *.args files from your project? Clean the project before the build. Thanks.


Regards,

Lukas

Re: S32K312mcal配置Grypto不在对应的内存

Hello, thank you very much for your reply.

The attachment contains the args file and screenshots.

The build logs are located in the /console_log folder.

The configuration settings were basically unchanged; the only change was likely the GCC version (reason for the change: when I first downloaded it, installing GCC version 11.4 frequently caused issues with the compiled files failing to run, so I downloaded version 10.2 instead ).

Thank you again for your reply.


Tags (1)
No ratings
Version history
Last update:
yesterday
Updated by: