Fast Standby Boot Base Address.

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

Fast Standby Boot Base Address.

514 Views
aryandis
Contributor II

Have tried to change linker script for fast standby wakeup but always error. Can you please help me how to update linker for fast standby wakeup support.

0 Kudos
Reply
15 Replies

486 Views
aryandis
Contributor II

all example are based on standby wakeup no fast stadnby wakeup .Do you have any example for RTD 3.0.0 based with linker updated.?

0 Kudos
Reply

480 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @aryandis,

The examples have fast wakeup too.

For instance, S32K344_GPIO_Wkup_S32DS_3_4_RTD_LLD_2_0.zip

include/Wkup.h

danielmartynek_0-1759740607148.png

 

src/Wkup.c

danielmartynek_2-1759740826105.png

Linker:

danielmartynek_3-1759740866663.png

 

Regards,

Daniel

Any support, information, and technology (“Materials”) provided by NXP are provided AS IS, 
without any warranty express or implied, and NXP disclaims all direct and indirect liability
and damages in connection with the Material to the maximum extent permitted by the applicable law.
NXP accepts no liability for any assistance with applications or product design.
Materials may only be used in connection with NXP products.
Any feedback provided to NXP regarding the Materials may be used by NXP without restriction.

 

 

 

 

 

 

0 Kudos
Reply

465 Views
aryandis
Contributor II

aryandis_0-1759816091235.png

have configured boot base address 0x00402000 in MCU for standby wakeup and also updating linker with below info.

After adding  KEEP(*(.fast_wkup_boot_vector)) in .pflash getting error mentioned above.

How i can adjust size in this linker.  ?

0 Kudos
Reply

433 Views
danielmartynek
NXP TechSupport
NXP TechSupport

HEllo @aryandis,

Can you share the linker file here?

You can adjust the size of each SRAM section as needed, but the total combined size of all sections must not exceed the actual SRAM capacity.

 

BR, Daniel

0 Kudos
Reply

406 Views
aryandis
Contributor II
0 Kudos
Reply

405 Views
aryandis
Contributor II

can you lease also share me what configuration i have to do for fast standby wakeup. since i have used some of the reference and have done for fast standby wakeup

0 Kudos
Reply

375 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @aryandis,

All the necessary steps are demonstrated in the provided examples.
To enable Fast Wakeup, you must configure the boot address, which sets the entry point after wakeup.
This configuration is done by writing to the DCMRWF5 register, where you specify the base address of your custom vector table in standby SRAM and enable the Fast Wakeup mechanism.

danielmartynek_0-1759910594611.png

 

BR, Daniel

 

 

 

0 Kudos
Reply

368 Views
aryandis
Contributor II

have done this configuration but still no wakeup is working.

0 Kudos
Reply

364 Views
danielmartynek
NXP TechSupport
NXP TechSupport

What about normal wake-up, does it work?

I would recommend that you create a support ticket and share the whole project there privately so that I can test it.

 

BR, Daniel

0 Kudos
Reply

360 Views
aryandis
Contributor II

standby wakeup working but i need for for faststadnby wakeup .

here i have done memory map.

.fast_wakp_boot_vector

0x20400000  0x0c load address 0x00402000

0x20400000    .= ALIGN(0x1000)

0 Kudos
Reply

322 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @aryandis,

Please create a support ticket and share you project (privately) so that I can test it.

 

Thank you

0 Kudos
Reply

256 Views
aryandis
Contributor II

have one requirement i want to do GPIO/CAN/RTC wakeup wakeup once it enter in sleep mode (which operating mode have to refer CORE_STADNBY ,STANDBY or FAST STANDBY or something else). after wakeup it should go to ISR and from ISR i can call EcuM_Checkwakeup for wakeup system.

Please guide me with configuration for RTD 3.0.0 .

0 Kudos
Reply

240 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Can you please create a new community thread for the last question?

Regarding the fast wake-up, I would need to test your project - ideally through a support ticket.

 

Regards,

Daniel

 

0 Kudos
Reply

488 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @aryandis,

There are several examples demonstrating the use of Fast Wakeup available here:

https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Low-Power-Management-AN-and-demos/ta-p/152772...

These examples are built using RTD 2.0.0. If you plan to run them, I recommend installing a fresh instance of S32 Design Studio 3.4 with only RTD 2.0.0 added. This helps avoid compatibility issues.

 

Regards,

Daniel

 

0 Kudos
Reply

438 Views
aryandis
Contributor II

have configured boot base address 0x00402000 in MCU for standby wakeup and also updating linker with below info.

After adding  KEEP(*(.fast_wkup_boot_vector)) in .pflash getting error mentioned above.

How i can adjust size in this linker.  ?

0 Kudos
Reply