Hello, My goal is to be able to flash the HSE and then test the crypto services.
I need to flash the HSE directly using the Lauterbach debugger without the need to flash/create an IVT.
When i tried to directly flash the bin/hex file of the HSE, i find that the dedicated area for the HSE is not accessible (??s in T32 window) -> Address 0x22000000
Is there a way to enable the HSE memory area (maybe with a cmm script) so that i can flash it accordingly?
Thank you,
Solved! Go to Solution.
Hello @SahaarA,
It is not possible to access HSE memory, as you can see in the memory map attached to the S32G3 Reference manual:
The steps I mentioned before will help you debugging your HSE application, but you cannot write the HSE FW directly like it is done in the S32K microcontrollers.
Let me know if this information answers your questions.
Hello @SahaarA,
If I understood your problem correctly, you should be able to load and debug an application using the crypto services following the instructions in AN14070 - How to Run HSE Demo Application, please check section How to load the HSE demo .elf to the SRAM.
Let me know if this information solves your problem.
Best regards,
Alejandro
Hello @alejandro_e ,
From what i understand, we can boot the board either from RAM or from QSPI.
Booting from QSPI needs a blob image, such that the HSE and Application would then be loaded to the RAM.
The other way is flashing directly to the RAM using a debugger, which I'm currently doing.
For the Application, i can directly flash it with the debugger in the desired memory address.
But for the HSE, the memory region is not accessible by the debugger. so i guess the HSE partition starting address 0x22000000 needs to be enabled somehow, like with a cmm script enabling the clock or something.
I saw some other ways where the HSE can be flashed without the IVT but on other targets like the DCF options in S32K, so i'm wondering if there is a similar way but for S32G3
Thank You,
Sahar.
Hello @SahaarA,
It is not possible to access HSE memory, as you can see in the memory map attached to the S32G3 Reference manual:
The steps I mentioned before will help you debugging your HSE application, but you cannot write the HSE FW directly like it is done in the S32K microcontrollers.
Let me know if this information answers your questions.
Hello @alejandro_e ,
Yes actually that answers my question.
I was just wondering if there was a way to access the HSE directly, but now i just have to flash it with a blob image as mentioned in the documentation.
Thank You,
Sahar
Hello @SahaarA,
I'm glad to know that the information answers your question. Thanks for letting me know and thanks for accepting my reply as a solution.
Best regards,
Alejandro