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!
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
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?
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.