2395994_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2395994_en-US

2395994_en-US

HSE INSTALL S32K311

All the content below is copied from the attachment.

S32DS version: S32DS.3.5_b220726_win32.x86_64 (1).exe

RTD version: SW32K3_RTD_R21-11_3.0.0_P07_D2306_DS_updatesite.zip

S32K311 Support Package Version: SW32K3_S32DS_3.5.6_D2309.zip

SBAF version: SBAF_S32K311_0_0_15_0

Bin file: s32k311_Secure_Baf_0.12.0_0.15.0.6_pb230804.bin.pink

HSE version: HSE_FW_S32K311_0_2_40_0

The bin file is s32k311_hse_fw_0.12.0_2.40.0_pb230730.bin.pink

Use FULL_MEM

No safe boot

A problem currently encountered

The program will get stuck here: `while ( FALSE == HSE_CheckStatus(HSE_STATUS_INIT_OK) );`

图片3.png

图片4.png

图片1.png

图片5.png

图片6.png

图片2.png


Re: HSE INSTALL S32K311

This is supplementary printf information.

DCMROF21: 0x00040000
HSE GPR3: 0x000000C0
Current_SBAF_Version-0x4039c020: 0x00000C00
LC configuration word -0x4039C02C: 0x00000000
Lifecycle-related information - 0x402AC200: 0x00000000
HSE Status: 0x00000000


I've looked up information online, and it seems the SBAF that comes with the chip doesn't recognize the HSE firmware I'm currently using.

Re: HSE INSTALL S32K311

I suspect that SBAF failed to copy the HSE firmware from the flash memory to the HSE_NVM. If this is the problem, how should I resolve it?

Re: HSE INSTALL S32K311

This is the data I printed.

DCMROF21: 0x00040000
HSE GPR3: 0x000000C0
HSE Status: 0x00000000
HSE firmware not started (NVM empty or firmware corrupted) 111.png

Re: HSE INSTALL S32K311

Hi @iiiddd 

Could you please share the value of HSE_CONFIG_GPR3 (0x4039C028)? Bit 0 indicates whether the HSE Firmware is present.


BR, VaneB

Re: HSE INSTALL S32K311

The RTD library I'm using is called when writing UTEST.

gHsePort_FlsIf.writeApi(UTEST_BASE_ADDR,(uint8_t*)hseFwFeatureFlag,FW_FEATURE_FLAG_LEN);

The FLS_MAX_VIRTUAL_SECTOR definition will be used. My RTD library defaults to 135, but accessing the address 0x1B000000UL requires 136. Is the RTD library I'm using incompatible with HSE?

Re: HSE INSTALL S32K311

Hi @iiiddd 

The HSE_CONFIG_GPR3[0] bit is not set, which indicates that the HSE hardware is not present on the device.

For reference, the following image shows an example of a linker file configured for the installation of the HSE FW FULL_MEM on an S32K311 device:

VaneB_0-1784568701705.png

Re: HSE INSTALL S32K311When I was debugging, I found that there were data in the pflash corresponding to the hse firmware. Do you mean that sbaf failed to copy the firmware in the pflash to the hsenvm? If this is the problem, what might have caused it?
タグ(1)
評価なし
バージョン履歴
最終更新日:
2 週間前
更新者: