S32K312 uint64 variable address align issue

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

S32K312 uint64 variable address align issue

760 次查看
Shaun666
Contributor II

Hello

we are using  green hill for  S32K312 MCU, when we config the mem in the MCAL , the program entry the hardfault. we found the InitFuc pointer is 0xFFFFFFFF in the MemAcc_MemApis. but there is a function address to provide to the pointer. I think it is the issue with uint64 variable using a 4 bytes align. due to the UniquedId and Flags are uint64 variable.

How can config uint64 variable using 8 bytes align? thinks.image (1).png

Capture.PNGCapture1.PNG

0 项奖励
回复
2 回复数

709 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you please share an example code where is the issue present? 

0 项奖励
回复

702 次查看
jiri_kral
NXP Employee
NXP Employee

Um, sorry, I mean S32DS project, not only code. 

0 项奖励
回复