S32G3 - HSE FW Install directly without IVT

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32G3 - HSE FW Install directly without IVT

Jump to solution
1,202 Views
SahaarA
Contributor II

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,

Tags (3)
0 Kudos
Reply
1 Solution
1,156 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @SahaarA,

It is not possible to access HSE memory, as you can see in the memory map attached to the S32G3 Reference manual:

 

alejandro_e_0-1732118540616.png

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.

View solution in original post

0 Kudos
Reply
5 Replies
1,176 Views
alejandro_e
NXP TechSupport
NXP TechSupport

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.

alejandro_e_0-1732040629780.png

 

Let me know if this information solves your problem.

Best regards,

Alejandro

 

0 Kudos
Reply
1,164 Views
SahaarA
Contributor II

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.

0 Kudos
Reply
1,157 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @SahaarA,

It is not possible to access HSE memory, as you can see in the memory map attached to the S32G3 Reference manual:

 

alejandro_e_0-1732118540616.png

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.

0 Kudos
Reply
1,147 Views
SahaarA
Contributor II

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

0 Kudos
Reply
1,138 Views
alejandro_e
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply