2267344_en-US

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

2267344_en-US

2267344_en-US

S32N55: How to build a blob image for fast wake-up boot.

Hello Team,

As we know, the S32N55 supports Fast Wake-up Boot.
I tried building a blob image using the same format as Full Wake-up Boot, but the boot process failed.
Could you please guide me on how to correctly build a blob image for Fast Wake-up Boot?

Thank you!

Tangsheng_Zhou_0-1766369489644.pngTangsheng_Zhou_0-1766369489644.pngTangsheng_Zhou_0-1766369489644.png

Best regards,

Tangsheng.


FSS_FWPriority: MEDIUMRe: S32N55: How to build a blob image for fast wake-up boot.

Hello @Tangsheng_Zhou,

The team has picked up the case and will provide an answer as soon as possible. 

Best regards,
Radu 

Re: S32N55: How to build a blob image for fast wake-up boot.

Hello @RaduBraga 

I noticed that this ticket has been closed. Is there any update on the progress?
 

Best regards,

Tangsheng.

Re: S32N55: How to build a blob image for fast wake-up boot.

Hello @Tangsheng_Zhou ,

I took over the case and will provide a response as soon as possible.
 
Best regards,
Paul
Re: S32N55: How to build a blob image for fast wake-up boot.

Hello @Tangsheng_Zhou ,

If you are supporting a Direct Customer, please provide:

  • BSSM Contract: Yes / No
  • Customer Company*:
  • Project Name*:
  • Customer Contact Point* (Name & Email):
  • Software & Hardware Information:
  • SW Package Info*:
  • HW* (Board/Chipset/Platform):
  • SW Version*:

*required

I am still working with the development team for this case

Best regards,

Paul

Re: S32N55: How to build a blob image for fast wake-up boot.

Hello @Tangsheng_Zhou ,

Thank you for these details, I am working on this case and will provide an answer as soon as possible!

Best regards,

Paul

Re: S32N55: How to build a blob image for fast wake-up boot.

Hello @PaulB0bes 

This case is not tied to any specific customer or project. However, I believe customers may encounter similar questions in the future, which is why I raised this request.
 
Best regards,
Tangsheng.
Re: S32N55: How to build a blob image for fast wake-up boot.

Hello @PaulB0bes 

Below are the detailed steps for testing.
 

1. built a small FSS image within AOSRAM memory region(reserved the IVT header), which only have a while loop in main.c

Tangsheng_Zhou_0-1784553297963.pngTangsheng_Zhou_0-1784553297963.pngTangsheng_Zhou_0-1784553297963.png

2. build the FSS Firmware image,  do I need to fill the FRB Threshold Reg? If so, how to fill it or any special thing need to be considered.

Tangsheng_Zhou_1-1784553422329.pngTangsheng_Zhou_1-1784553422329.pngTangsheng_Zhou_1-1784553422329.png

3. built the IVT blob image in IVT tool, with start address from 0x24800000

4. write the IVT blob image into flash at 0xD00000.

5. before the system enter sleep, copy the IVT blob image into AOSRAM, and configure the WKPU mode for FSS_WKUP0 as fast wake-up mode.

Tangsheng_Zhou_2-1784553712231.pngTangsheng_Zhou_2-1784553712231.pngTangsheng_Zhou_2-1784553712231.pngTangsheng_Zhou_3-1784553730808.pngTangsheng_Zhou_3-1784553730808.pngTangsheng_Zhou_3-1784553730808.png

5. wakeup the system image via FSS_WAKUP0.

The FSS could not reach the while(1) loop. It appears that a reset event was triggered during the wake-up process instead of a fast wake-up.
 
Thanks for your support!
 
Best regards,
Tangsheng.


Re: S32N55: How to build a blob image for fast wake-up boot.

Hello @Tangsheng_Zhou ,

It would help if you could share the exact steps you followed when you tried to build the blob image. I think it would be easier for us to identify the issue that way.
 
Best regards,
Paul
Re: S32N55: How to build a blob image for fast wake-up boot.

Hi @Tangsheng_Zhou ,

FRB is for TCM memory (ITCM +DTCM).

In theory we have 2 cases

1: FAST wakeup Boot

     for fast wakeup FRB is not needed, due to the fact that image boots from AON SRAM Memory.

2: FULL wakeup Boot

     Can you tell me if you want to boot to ITCM? if yes FRB threshold 0 should be provided in FSS Image header, the address is 12 bit masked and address will be calculated as multiple of 8kb for FRB . 

     Hope this helps a little. Also could you provide me the IVT blob?

Best regards,

Paul

Re: S32N55: How to build a blob image for fast wake-up boot.

Hello @PaulB0bes 

No, I just want to run the F-Core in AO-SRAM. 

main_app1.bin is the FSS firmware image.

How to fill these two field, should it be started from AO_SRAM address, 0x24800000? the start pointer and entry pointer of my image is 0x24800240.

Tangsheng_Zhou_0-1784682563629.pngTangsheng_Zhou_0-1784682563629.pngTangsheng_Zhou_0-1784682563629.png

main_blob1.bin is the blob image that contain IVT header.

Thanks!

Best regards,

Tangsheng.

Re: S32N55: How to build a blob image for fast wake-up boot.

Hello @PaulB0bes 

The complete IVT image rather than the FSS Firmware was copied to AO_SRAM before entering sleep mode to test the fast wake-up functionality.
 
Thanks!
Best regards,
Tangsheng
Re: S32N55: How to build a blob image for fast wake-up boot.

Hello @PaulB0bes 

The whole IVT blob image was copied to start of AO_SRAM, including IVT header and FSS FW header, and FSS FW binary.

Thanks!

Best regards,

Tangsheng.

Re: S32N55: How to build a blob image for fast wake-up boot.

Hi @Tangsheng_Zhou ,

Just to make sure I understand the flow, are you copying the complete IVT blob image to the beginning of AO_SRAM before sleep, or are you copying only the FSS firmware image for Fast Wake-up Boot?

Best regards,

Paul

Re: S32N55: How to build a blob image for fast wake-up boot.

Hi @Tangsheng_Zhou ,

Could you please confirm that the Fast Wake-up Boot is completing successfully? If the wake-up process is confirmed to be working as expected, this may indicate an issue with the image. 
I would like to narrow down the possible causes step by step
 
Best regards,
Paul
Re: S32N55: How to build a blob image for fast wake-up boot.

Hello @PaulB0bes 

I think the WKPU configuration is correct. As I understand it, the main difference between Full Wake-up and Fast Wake-up is the WBMSR configuration. Is that right?

Are there any other settings or factors that need to be considered?

Also, could you please share the correct steps or a fast wake-up blob image verified by you or your team?

Thanks for your support!

Best regards,

Tangsheng.

Re: S32N55: How to build a blob image for fast wake-up boot.

Hi @Tangsheng_Zhou ,

The team is currently overloaded with releases. I’ll apply a bit of pressure on my side, do some investigation and get back to you with an answer as soon as possible.
 
Best regards,
Paul
Re: S32N55: How to build a blob image for fast wake-up boot.

Hi @Tangsheng_Zhou ,

WBMSR is one of the key differences between Full Wake-up and Fast Wake-up Boot. However, it is not the only factor.
For Fast Wake-up Boot, BootROM expects a valid image (IVT + FSS FW, with Wakeup DCD if required) to be available in AON SRAM before entering sleep. In addition to WBMSR, the wake-up source configuration, AON SRAM retention and valid IVT/FSS headers should also be verified.
The expected Fast Wake-up flow is:
 
1. Generate the IVT blob image containing IVT + FSS FW.
2. Add Wakeup DCD if required.
3. Copy the blob image to the beginning of AON SRAM.
4. Configure the system for Fast Wake-up mode.
5. Enter sleep and trigger the wake-up source
Regarding a verified Fast Wake-up blob image, I am checking internally and will update you if a validated reference image is available
 
Hope this helps a little.
 
Best regards,
Paul
Re: S32N55: How to build a blob image for fast wake-up boot.

Hello @PaulB0bes 

Thanks for your reply. I tested the fast wake-up function following the steps you provided, but the issue is still present. Could you please confirm whether you have tested it successfully on your side?
 
Thanks! 
Best regards,
Tangsheng.
Re: S32N55: How to build a blob image for fast wake-up boot.

Hi @Tangsheng_Zhou ,

If you believe the provided answer is appropriate and you have no further questions regarding the ticket, please mark the answer as "Accept as Solution".

For future cases please use NXP JIRA: Jira Project 

Additionally, if we do not receive a response within the next 7 days, we will close the case.

Best regards,

 Paul 

Tags (1)
No ratings
Version history
Last update:
20 hours ago
Updated by: