2396703_en-US

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

2396703_en-US

2396703_en-US

s32k324 write Dflash problem

I used S32DS3.5 + RTD2.0 to develop S32K324. Now I wrote the program for the S32K324 based on the configuration and code in the example "Fee_Example_S32K344" and it compiled. but when it ran, the program would report an error as soon as it enters this code" Fls_Init(NULL_PTR);", when I step into it , I found it could not Skip this function " Fls_IPW_Init();". And the err made the program enter this function "
static inline void DevAssert(volatile boolean x)
{
if(x) { } else { for(;;) {ASM_KEYWORD(BREAKPOINT_INSTR);} }
}"
So I guess if the RTD version doesn't support S32K324 to use the fee function model ? Or could give me some other examples to write Dflash by eeprom mode of S32k324.

Thanks.

Re: s32k324 write Dflash problem

Since all the project engineering was created based on RTD2.0, the migration might not be very convenient. It would be best if RTD2.0 could modify and use the Fee. Could you please help me review the program?

Re: s32k324 write Dflash problem

Does the Fls_IPW_Init() generated by S32DS and is there any error log can be printed out?

Re: s32k324 write Dflash problem

Hi @mmyjh_123,

Can you share the project or at least the .mex file?

Also, you use a very old RTD.

I would recommended upgrading to RTD 7.0.1.


Thank you,

BR, Daniel

Re: s32k324 write Dflash problem

Hi @mmyjh_123,

You have two options.


1.

Either change it to VARIANT-PRE-COMPILE

danielmartynek_0-1784639285437.png

And call it as you do:

Fls_Init(NULL_PTR);


2.

Or select VARIANT-POST-BUILD instead

and call:

Fls_Init(&Fls_Config_BOARD_InitPeripherals);


Regards,

Daniel


Re: s32k324 write Dflash problem

Oh, I got it,thanks.

タグ(1)
評価なし
バージョン履歴
最終更新日:
3 週間前
更新者: