S32K312 uint64 variable address align issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K312 uint64 variable address align issue

769件の閲覧回数
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 返答(返信)

718件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

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

0 件の賞賛
返信

711件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

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

0 件の賞賛
返信