address and description of memory swap registers for S32k344 and code example, please?

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

address and description of memory swap registers for S32k344 and code example, please?

1,716 次查看
paulffffff
Contributor III

can you provide address and description of memory swap registers for S32k344 and code example, please?

标记 (1)
0 项奖励
回复
15 回复数

1,137 次查看
paulffffff
Contributor III

I installed all stuff above, but cannot compile:

 

14:12:58 **** Build of configuration Debug_FLASH for project S32K344_SecureBootAppABSwap_Example_100_341_FW0110 ****
make -j8 all
make: Warning: File 'objects.mk' has modification time 0.68 s in the future
Building file: B:/projects/s32-v3.4/SourceCode/src/main.c
Building file: B:/projects/s32-v3.4/SourceCode/src/bsp.c
Building file: B:/projects/s32-v3.4/SourceCode/src/printf.c
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/main.args" -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "B:/projects/s32-v3.4/SourceCode/src/main.c"
arm-none-eabi-gcc "@src/bsp.args" -MMD -MP -MF"src/bsp.d" -MT"src/bsp.o" -o "src/bsp.o" "B:/projects/s32-v3.4/SourceCode/src/bsp.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/printf.args" -MMD -MP -MF"src/printf.d" -MT"src/printf.o" -o "src/printf.o" "B:/projects/s32-v3.4/SourceCode/src/printf.c"
Building file: ../generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.c
Building file: ../generate/src/IntCtrl_Ip_Cfg.c
Invoking: Standard S32DS C Compiler
Building file: ../generate/src/Lpuart_Uart_Ip_Sa_BOARD_InitPeripherals_PBcfg.c
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.d" -MT"generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.o" -o "generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.o" "../generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/IntCtrl_Ip_Cfg.d" -MT"generate/src/IntCtrl_Ip_Cfg.o" -o "generate/src/IntCtrl_Ip_Cfg.o" "../generate/src/IntCtrl_Ip_Cfg.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Lpuart_Uart_Ip_Sa_BOARD_InitPeripherals_PBcfg.d" -MT"generate/src/Lpuart_Uart_Ip_Sa_BOARD_InitPeripherals_PBcfg.o" -o "generate/src/Lpuart_Uart_Ip_Sa_BOARD_InitPeripherals_PBcfg.o" "../generate/src/Lpuart_Uart_Ip_Sa_BOARD_InitPeripherals_PBcfg.c"
Building file: ../generate/src/Mpu_M7_Ip_Cfg.c
B:/projects/s32-v3.4/SourceCode/src/printf.c: In function '_out_char':
B:/projects/s32-v3.4/SourceCode/src/printf.c:150:35: warning: unused parameter 'character' [-Wunused-parameter]
150 | static inline void _out_char(char character, void* buffer, size_t idx, size_t maxlen)
| ~~~~~^~~~~~~~~
Building file: ../generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Mpu_M7_Ip_Cfg.d" -MT"generate/src/Mpu_M7_Ip_Cfg.o" -o "generate/src/Mpu_M7_Ip_Cfg.o" "../generate/src/Mpu_M7_Ip_Cfg.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.d" -MT"generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.o" -o "generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.o" "../generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.c"
Finished building: ../generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.c
Finished building: ../generate/src/IntCtrl_Ip_Cfg.c


In file included from B:/projects/s32-v3.4/SourceCode/src/bsp.c:8:
B:/projects/s32-v3.4/SourceCode/inc/bsp.h:30:10: fatal error: hse_host.h: No such file or directory
30 | #include "hse_host.h"
| ^~~~~~~~~~~~
compilation terminated.
In file included from B:/projects/s32-v3.4/SourceCode/src/main.c:40:
B:/projects/s32-v3.4/SourceCode/inc/bsp.h:30:10: fatal error: hse_host.h: No such file or directory
30 | #include "hse_host.h"
| ^~~~~~~~~~~~
compilation terminated.
Finished building: ../generate/src/Lpuart_Uart_Ip_Sa_BOARD_InitPeripherals_PBcfg.c
Building file: ../generate/src/Power_Ip_BOARD_InitPeripherals_PBcfg.c
make: *** [src/subdir.mk:26: src/bsp.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [src/subdir.mk:33: src/main.o] Error 1
Building file: ../generate/src/Power_Ip_Cfg.c

Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Power_Ip_Cfg.d" -MT"generate/src/Power_Ip_Cfg.o" -o "generate/src/Power_Ip_Cfg.o" "../generate/src/Power_Ip_Cfg.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Power_Ip_BOARD_InitPeripherals_PBcfg.d" -MT"generate/src/Power_Ip_BOARD_InitPeripherals_PBcfg.o" -o "generate/src/Power_Ip_BOARD_InitPeripherals_PBcfg.o" "../generate/src/Power_Ip_BOARD_InitPeripherals_PBcfg.c"
Finished building: ../generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.c

Finished building: ../generate/src/Mpu_M7_Ip_Cfg.c

Finished building: ../generate/src/Power_Ip_Cfg.c

Finished building: ../generate/src/Power_Ip_BOARD_InitPeripherals_PBcfg.c
Finished building: B:/projects/s32-v3.4/SourceCode/src/printf.c


"make -j8 all" terminated with exit code 2. Build might be incomplete.

14:13:01 Build Failed. 5 errors, 1 warnings. (took 3s.588ms)

 

0 项奖励
回复

1,615 次查看
paulffffff
Contributor III

what configuration of S32 development studio and libraries etc. should be installed to run bootloader?

 

0 项奖励
回复

1,678 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

If you have access to Secure Files, please download AN744511 Secure Boot Application note v0.1.1.0 and SW745310 SecureBootAppNoteDemo.

Secure Access Rights 


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复

1,671 次查看
paulffffff
Contributor III

do you have code example to download?

0 项奖励
回复

1,630 次查看
paulffffff
Contributor III

provided example cannot be compiled on S32 Design studio v3.5 due incompatible drivers version RTD4.7 vs RTD4.4. do you have adjusted example for S32 Design studio v3.5?

0 项奖励
回复

1,620 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Sorry, no example based on the new version of RTD were found.

0 项奖励
回复

1,143 次查看
paulffffff
Contributor III

even examples with S32 V3.4 cannot be compiled. see errors during compilation. also, I attach project and S32 version screen shot:

 

14:12:58 **** Build of configuration Debug_FLASH for project S32K344_SecureBootAppABSwap_Example_100_341_FW0110 ****
make -j8 all
make: Warning: File 'objects.mk' has modification time 0.68 s in the future
Building file: B:/projects/s32-v3.4/SourceCode/src/main.c
Building file: B:/projects/s32-v3.4/SourceCode/src/bsp.c
Building file: B:/projects/s32-v3.4/SourceCode/src/printf.c
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/main.args" -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "B:/projects/s32-v3.4/SourceCode/src/main.c"
arm-none-eabi-gcc "@src/bsp.args" -MMD -MP -MF"src/bsp.d" -MT"src/bsp.o" -o "src/bsp.o" "B:/projects/s32-v3.4/SourceCode/src/bsp.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/printf.args" -MMD -MP -MF"src/printf.d" -MT"src/printf.o" -o "src/printf.o" "B:/projects/s32-v3.4/SourceCode/src/printf.c"
Building file: ../generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.c
Building file: ../generate/src/IntCtrl_Ip_Cfg.c
Invoking: Standard S32DS C Compiler
Building file: ../generate/src/Lpuart_Uart_Ip_Sa_BOARD_InitPeripherals_PBcfg.c
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.d" -MT"generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.o" -o "generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.o" "../generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/IntCtrl_Ip_Cfg.d" -MT"generate/src/IntCtrl_Ip_Cfg.o" -o "generate/src/IntCtrl_Ip_Cfg.o" "../generate/src/IntCtrl_Ip_Cfg.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Lpuart_Uart_Ip_Sa_BOARD_InitPeripherals_PBcfg.d" -MT"generate/src/Lpuart_Uart_Ip_Sa_BOARD_InitPeripherals_PBcfg.o" -o "generate/src/Lpuart_Uart_Ip_Sa_BOARD_InitPeripherals_PBcfg.o" "../generate/src/Lpuart_Uart_Ip_Sa_BOARD_InitPeripherals_PBcfg.c"
Building file: ../generate/src/Mpu_M7_Ip_Cfg.c
B:/projects/s32-v3.4/SourceCode/src/printf.c: In function '_out_char':
B:/projects/s32-v3.4/SourceCode/src/printf.c:150:35: warning: unused parameter 'character' [-Wunused-parameter]
150 | static inline void _out_char(char character, void* buffer, size_t idx, size_t maxlen)
| ~~~~~^~~~~~~~~
Building file: ../generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Mpu_M7_Ip_Cfg.d" -MT"generate/src/Mpu_M7_Ip_Cfg.o" -o "generate/src/Mpu_M7_Ip_Cfg.o" "../generate/src/Mpu_M7_Ip_Cfg.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.d" -MT"generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.o" -o "generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.o" "../generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.c"
Finished building: ../generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.c
Finished building: ../generate/src/IntCtrl_Ip_Cfg.c


In file included from B:/projects/s32-v3.4/SourceCode/src/bsp.c:8:
B:/projects/s32-v3.4/SourceCode/inc/bsp.h:30:10: fatal error: hse_host.h: No such file or directory
30 | #include "hse_host.h"
| ^~~~~~~~~~~~
compilation terminated.
In file included from B:/projects/s32-v3.4/SourceCode/src/main.c:40:
B:/projects/s32-v3.4/SourceCode/inc/bsp.h:30:10: fatal error: hse_host.h: No such file or directory
30 | #include "hse_host.h"
| ^~~~~~~~~~~~
compilation terminated.
Finished building: ../generate/src/Lpuart_Uart_Ip_Sa_BOARD_InitPeripherals_PBcfg.c
Building file: ../generate/src/Power_Ip_BOARD_InitPeripherals_PBcfg.c
make: *** [src/subdir.mk:26: src/bsp.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [src/subdir.mk:33: src/main.o] Error 1
Building file: ../generate/src/Power_Ip_Cfg.c

Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Power_Ip_Cfg.d" -MT"generate/src/Power_Ip_Cfg.o" -o "generate/src/Power_Ip_Cfg.o" "../generate/src/Power_Ip_Cfg.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/C40_Ip_BOARD_InitPeripherals_PBcfg.args" -MMD -MP -MF"generate/src/Power_Ip_BOARD_InitPeripherals_PBcfg.d" -MT"generate/src/Power_Ip_BOARD_InitPeripherals_PBcfg.o" -o "generate/src/Power_Ip_BOARD_InitPeripherals_PBcfg.o" "../generate/src/Power_Ip_BOARD_InitPeripherals_PBcfg.c"
Finished building: ../generate/src/Pit_Ip_BOARD_InitPeripherals_PBcfg.c

Finished building: ../generate/src/Mpu_M7_Ip_Cfg.c

Finished building: ../generate/src/Power_Ip_Cfg.c

Finished building: ../generate/src/Power_Ip_BOARD_InitPeripherals_PBcfg.c
Finished building: B:/projects/s32-v3.4/SourceCode/src/printf.c


"make -j8 all" terminated with exit code 2. Build might be incomplete.

14:13:01 Build Failed. 5 errors, 1 warnings. (took 3s.588ms)

 

0 项奖励
回复

1,644 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Please download the code example(SW745310 SecureBootAppNoteDemo) from Secure Files

0 项奖励
回复

1,549 次查看
paulffffff
Contributor III

what configuration, version of S32 development studio and libraries and version etc. should be installed to run bootloader?

0 项奖励
回复

1,534 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

This document and related demo projects are valid for HSE-FW(FULL_MEM and AB_SWAP) version 0.1.1.0 and RTD version 1.0.0 only. You may need to install S32DS v3.4.1.

0 项奖励
回复

1,504 次查看
paulffffff
Contributor III

1. can you provide link to S32 studio ,SDK, library, please?

2. can I have simultaneously two S32 studio versions installed on my computer?

0 项奖励
回复

1,486 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Please start from page 17 of S32K3xx Real-Time Drivers (RTD) Installation Guide - Training

Click S32K3 Standard Software - > Automotive SW - S32K3/S32M27x - Real-Time Drivers for Cortex-M -> Previous -> S32K3 Real Time Drivers Version 1.0.0

Click S32K3 Standard Software - > Automotive SW - S32K3 - S32 Design Studio -> 3.4.1_D2110 S32 Design Studio for S32 Platform v.3.4 Update with Service Pack 2 for S32K3 devices

0 项奖励
回复

1,172 次查看
paulffffff
Contributor III

Do I need LAUTERBACH  hardware/firmware to  deal with HSE?

if yes - what exact type?

0 项奖励
回复

1,157 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

For Lauterbach users, there's HSE DEMOAPP which helps to install the firmware and examine HSE features.

For PEMicro and J-Link users, there's S32K3_HSE_DemoExamples.

Refer to the discussion in HSE firmware installation

0 项奖励
回复

1,210 次查看
paulffffff
Contributor III

I have key for version 3.5.

how to obtain activation key for S32 Design Studio V3.4?

0 项奖励
回复