s32k324 write Dflash problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32k324 write Dflash problem

82 Views
mmyjh_123
Contributor I

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.

0 Kudos
Reply
4 Replies

57 Views
db16122
Contributor IV

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

0 Kudos
Reply

58 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply

37 Views
mmyjh_123
Contributor I

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?

0 Kudos
Reply

7 Views
danielmartynek
NXP TechSupport
NXP TechSupport

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

 

0 Kudos
Reply