Fast Standby Boot Base Address.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Fast Standby Boot Base Address.

607 次查看
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 项奖励
回复
15 回复数

579 次查看
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 项奖励
回复

573 次查看
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 项奖励
回复

558 次查看
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 项奖励
回复

526 次查看
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 项奖励
回复

499 次查看
aryandis
Contributor II
0 项奖励
回复

498 次查看
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 项奖励
回复

468 次查看
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 项奖励
回复

461 次查看
aryandis
Contributor II

have done this configuration but still no wakeup is working.

0 项奖励
回复

457 次查看
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 项奖励
回复

453 次查看
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 项奖励
回复

415 次查看
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 项奖励
回复

349 次查看
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 项奖励
回复

333 次查看
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 项奖励
回复

581 次查看
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 项奖励
回复

531 次查看
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 项奖励
回复