N_Cr_timeout Error

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

N_Cr_timeout Error

985 Views
chaitanya_kalyani
Contributor III

I want to generate LIN driver code for MC9S12ZVL32F0CLF but when I verify NPF file then I am getting 

 

Description Resource Path Location Type
line: 456 "DG8" - The N_Cr_timeout is a property of LIN 2.1 slave nodes only. LIN2_2019.ldf /LIN_DriverCreation/Sources line 456 Problem

 

For LDF file there is no issue. 

 

Thank you in advance. 

0 Kudos
4 Replies

814 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello Chaitanya,

I'm very sorry for the delay. I recommend you to look at the LIN specification. There you can find more details about N_Cr_timeout.  

https://www.cs-group.de/wp-content/uploads/2016/11/LIN_Specification_Package_2.2A.pdf 

Did you follow the information in the error that the N_Cr_timeout is a property of LIN 2.1 slave nodes only?

Also, the AN5122 and attached Eclipse User Manual can be useful.

https://www.nxp.com/docs/en/application-note/AN5122.pdf  

Some examples can be found in the LIN driver installation folder.

https://www.nxp.com/webapp/Download?colCode=FSL_LIN_2.X_DRIVER 

I hope it helps.

Best Regards,

Diana

0 Kudos

814 Views
chaitanya_kalyani
Contributor III

Thank you for your response. I got new LDF and now don't have that error.

but while Flashing the program into DEVKIT-ZVL128  getting CRC Error that you can find in below screenshot.

I am getting error only when using processor expert generated code. For without processor expert mode there is no error but I need to use processor expert mode.

I added sample code with processor expert in the attachment.

I am new for LIN and working on urgent project so quick response is appreciated.

CRC_error.PNG

0 Kudos

814 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello Chaitanya,

It seems that there is a conflict with the generated code. I have found a similar issue in the community with the solution.

Please, look at this link:

https://community.nxp.com/message/971435 

I believe it helps you.

Best Regards,

Diana

0 Kudos

814 Views
chaitanya_kalyani
Contributor III

Yes you are right. Problem is due to conflict with generated code.

I modified map file and checked still having ISR redefinition error and added text automatically removing when I clean and build it.

https://community.nxp.com/message/1239752  here I added same problem and my sample file. Can please check from you side and let me know.

0 Kudos