MPC5746C header file error

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

MPC5746C header file error

ソリューションへジャンプ
1,511件の閲覧回数
neojung
NXP Employee
NXP Employee

Hello Sir,

 

I would like to report an error on MPC5746C header file which is created by S32DS.

Base address of CAN_1,3,5,7 was wrong.

 

// Current MPC5746C.h

#define CAN_0 (*(volatile struct CAN_0_tag *) 0xFFEC0000UL)
#define CAN_1 (*(volatile struct CAN_tag *) 0xFFEC0000UL)
#define CAN_2 (*(volatile struct CAN_tag *) 0xFFEC4000UL)
#define CAN_3 (*(volatile struct CAN_tag *) 0xFFEC4000UL)
#define CAN_4 (*(volatile struct CAN_tag *) 0xFFEC8000UL)
#define CAN_5 (*(volatile struct CAN_tag *) 0xFFEC8000UL)
#define CAN_6 (*(volatile struct CAN_tag *) 0xFFECC000UL)
#define CAN_7 (*(volatile struct CAN_tag *) 0xFFECC000UL)

 

// Should be modified to use all CAN peripheral.

#define CAN_0 (*(volatile struct CAN_0_tag *) 0xFFEC0000UL)
#define CAN_1 (*(volatile struct CAN_tag *) 0xFBEC0000UL)
#define CAN_2 (*(volatile struct CAN_tag *) 0xFFEC4000UL)
#define CAN_3 (*(volatile struct CAN_tag *) 0xFBEC4000UL)
#define CAN_4 (*(volatile struct CAN_tag *) 0xFFEC8000UL)
#define CAN_5 (*(volatile struct CAN_tag *) 0xFBEC8000UL)
#define CAN_6 (*(volatile struct CAN_tag *) 0xFFECC000UL)
#define CAN_7 (*(volatile struct CAN_tag *) 0xFBECC000UL)

 

Best regards,

Neo

ラベル(1)
0 件の賞賛
返信
1 解決策
1,292件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello  Neo,

Thanks a lot for your report!

I've logged this issue as a bug under the number ENGR00384152.

This will be  fixed in the next release S32 Design Studio for Power v1.2

The workaround is to manually adjust the header file  CAN base addresses as you suggested.

Stan

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,293件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello  Neo,

Thanks a lot for your report!

I've logged this issue as a bug under the number ENGR00384152.

This will be  fixed in the next release S32 Design Studio for Power v1.2

The workaround is to manually adjust the header file  CAN base addresses as you suggested.

Stan

0 件の賞賛
返信
1,291件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hi Neo,

thanks for your report. I will escalate it to appropriate person.

Regards,

Martin

0 件の賞賛
返信