2411444_en-US

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

2411444_en-US

2411444_en-US

The bootloader requires the fs26 installation package.

I am currently using unified_bootloader_demo_v2.1 to port and develop a bootloader project based on S32K344. The RTD is version 2.0, and my controller uses the FS26 chip.The SBC driver package is at least compatible with RTD 3.0; could you provide one compatible with RTD 2.0?SBC package or handwritten implementation code? Even better if you could provide a bootloader project for RTD 3.0 or higher?

Thank you so much!

回复: bootloader需要fs26安装包Hello, I'm currently modifying bootloader v2.1, and it says there's an error in the ECC checksum of 4 bytes. This function...

Boot_PowerONClearAllFlag needs to be modified. Directly performing an 8-byte check reveals that only the ExchangeInfo area in the startup function is not initialized. Is this modification acceptable?
/*when power on, clear all flag in RAM for ECC.*/
void Boot_PowerONClearAllFlag(void)
{
uint16 infoCrc = 0u;
uint8 index = 0u;

/*clear RAM with 8 bytes for ECC*/
for(index = 0u; index < (gs_stBootInfo.infoDataLen >> 3u); index++)
{
*((uint64 *)gs_stBootInfo.infoStartAddr + index) = 0u;
}

infoCrc = Boot_CalculateInfoCRC();
SetInforCRC(infoCrc);
}
回复: bootloader需要fs26安装包

Hi

We apologize that the Unified bootloader demo shared by the community is provided "as is," without examples of higher S32K3 RTD versions. We sincerely apologize for any inconvenience this may cause.

The FS26 SBC Autosar 4.4 version 1.0.0 is designed for use with the S32K3 RTD 2.0.0 . I have already requested this older version driver from the internal team for you. Please wait for them to add download permissions for this version of the software to your account.

Incidentally, there's an error in the example code that needs attention. The S32K3 common problem checklist, specifically section 3.4.3 , mentions the need to use 8- byte writes for ECC initialization of RAM.

Check whether the RAM (pay special attention to the standby RAM) is written in 8-byte format during ECC initialization.

For example: *(uint64 *)0x20400000 = 0;

Failure to comply may result in an ECC error.

The NXP bootloader sample project uses a 4-byte zeroing ECC initialization method.

*(uint32 *)0x20400000 = 0;

That's incorrect; don't refer to it.

There is also a discussion about this in the section on S32K3 sharing data between Bootloader and Application .

Best Regards,
Robin

回复: bootloader需要fs26安装包

Hello, in image 1, I need to modify the startup_cm7.s startup file regarding RAM initialization. To minimize changes, can I simply modify `extern void Boot_PowerONClearAllFlag ( void );` in bootloader v2.1?

回复: bootloader需要fs26安装包

Changing Boot_PowerONClearAllFlag() from a 4-byte write to an 8-byte/64-bit write is key to resolving the S32K3 RAM ECC initialization issue. Your change seems to work.

For issues related to ExchangeInfo , please refer to the discussion in s32k312Will the data in the SRAM area not be reset during the reset process?

1.0 0 FS26 SBC Autosar 4.4 version 1.0.0 should already be added to your account.

タグ(1)
評価なし
バージョン履歴
最終更新日:
12 時間前
更新者: