Hello team,
Apparently when creating a new RTD project and checking the linker file, there is a reserved section of SRAM that is marked as "used by the HSE" in a comment and apparently the linker never configures the last 48kB of SRAM1 available, however the HSE is not using any SRAM from the SRAM1 so this would need to be changed to match the whole SRAM available for the application instead of ending at 0x20443FFF, it should be covering all the way up to 0x2044FFFF.
I think this applies for the S32K3X4 variants that have SRAM1 available. This needs to be fixed in the RTD releases.
Best Regards,
Jesus Cinco
Hi @Jesus_Cinco,
In the past, there is a similar case (BENV-150) that was raised by another customer. The RTD team has observed an issue when accessing the last 48 KB of SRAM on the S32K344 derivative with certain HSE firmware versions. So, to avoid any potential issues with HSE FW, RTD package continues to reserve this last 48 KB of SRAM for HSE usage.
They contacted HSE_FW team to ask details about this issue, but until now, they have not received any responses yet.
Could you help me contact HSE_FW team to confirm about this issue? The RTD team needs a confirmation from HSE_FW team to implement correct linker file.
Best regards,
Dan
Hello Dan,
Sure I can align with the HSE Team to have this verified. Can you indicate me the FW versions tested in which the RTD team found this memory access issues?
Best Regards,
Jesus Cinco
Hello Dan,
Understood, I will verify this with the HSE Team.
Best Regards,
Jesus Cinco
Hi @Jesus_Cinco,
At the present, I don't have specific information about HSE_FW version. So, I just only want to know whether there is any HSE_FW versions uses last 48KB of SRAM1 or not.
Best regards,
Dan
Hello Dan,
I have received confirmation that there doesn't seem to be any usage of the HSE FW in that ram address range.
https://community.nxp.com/t5/HSE-FW-Support/S32K3-HSE-SRAM-usage/m-p/2371421#M4410
Would it be possible to make the required changes in the RTD to include that range in the linker file?
Best Regards,
Jesus Cinco
Hi @Jesus_Cinco,
I have seen their response.
But I have a concern about this response: How to know any libraries linked within HSE FW consumes SRAM1 and block access to SRAM1?
Best regards,
Dan