S32K342_porting issue_about headfile version_FC

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

S32K342_porting issue_about headfile version_FC

2,261 Views
Fidel
Contributor IV

Dears,

         recently , I am working on a project porting from k344 to k342, and I met a issue as below: the original program of k344 using a headfile whose version is "rev. 1.1,2020-02-11", but the headfile version of  the new project I made for k342 is"rev. 1.2,2021-08-23", both shown in the picture below. the the issue comes, the new version cannot work well with the old program source file which comes from the old original program of k344, and many compiles errors came out. one obvious error is the macro definition of "FLASH" in main.c of the old original k344 project can be found in the headfile of  "s32k344_flash.h", but this cannot be found in the newer version of headfile "s32k342_flash.h".

       so here I want to know where I can download the older version of k342 headfile? Cause I searched all the related files on my computer, all their version are older than "rev. 1.1,2020-02-11",some are "rev. 1.2", even some are "rev. 1.4". and I also check the NXP website, I still can not find where I can get that , so anyone can help me on this?

 

Fidel_0-1657754165399.png

 

Tags (1)
0 Kudos
Reply
8 Replies

2,245 Views
cuongnguyenphu
NXP Employee
NXP Employee

Which are packages that you used for both  k344 and k342? Can you capture it for me?
OR can you capture me the source file version of these both k3k344 and k342?
For example in Fls.h:

cuongnguyenphu_1-1658112237510.png

 

0 Kudos
Reply

2,242 Views
Fidel
Contributor IV

 I check the 2 projects for the information you mention , as to k342, I made it from File->New->S32DS->Application Projects, and I did not choose any SDK. and then I copy the whole include folder from SDK2.0 version from the folder installed on my computer ,the location is C:\NXP\......., I forget the concrete location. and as to K344, I got it from another people(maybe offical? i donot know) , and I check  the SDK, I found it is blank , just shown as below. I also searched "FLS_VENDOR_ID" in these 2 projects , but I found none. could you please tell me how to find them? or anything else I can give you? thanks a lot ~

Fidel_0-1658113295231.png

 

0 Kudos
Reply

2,238 Views
cuongnguyenphu
NXP Employee
NXP Employee

I got this Version information from Fls.h file. But you can find this information in any Plugins source file (.c and .h). Because you mention that your error is in Flash module, so I suppose you are also use Fls.c and Fls.h

0 Kudos
Reply

2,234 Views
Fidel
Contributor IV

I tried, and just as below , I donot know if that is what you want.

Fidel_0-1658122390342.pngFidel_1-1658122413475.pngFidel_2-1658122431167.png

 

0 Kudos
Reply

2,232 Views
cuongnguyenphu
NXP Employee
NXP Employee
0 Kudos
Reply

2,228 Views
Fidel
Contributor IV

thank you very much for your detailed information , I will try that~ and actually , I met this issue because I want to decouples the lcokstep core of k342, so do you have that example programe for k342? or any guideline file for this? because we want to use k322 with 2 seperated single core, but cannot get that right now. if any informaiton about that, then thanks a lot for that.

0 Kudos
Reply

2,223 Views
cuongnguyenphu
NXP Employee
NXP Employee

I don't have this example on my site, however I think you can refer the example in Platform module of SW32K3_RTD_4.4_2.0.0, this is multicore example for S32K324.

cuongnguyenphu_0-1658138599271.pngcuongnguyenphu_1-1658138664458.png

 

 

0 Kudos
Reply

2,213 Views
Fidel
Contributor IV

thanks a lot for your efforts on this, the problem has been solved in another way , so I have try what you told yet, I will try that later, thank a lot~

0 Kudos
Reply