LED test with S32K146EVB-Q144 board,but can not stop the project.

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

LED test with S32K146EVB-Q144 board,but can not stop the project.

Jump to solution
4,117 Views
liufei
Contributor III

Hello NXP Team,

I make a very simple test for  LED ON by S32K146EVB-Q144 board used PTD15.

it can be run well on the S32DS for S32 Platform only one time,then the project cannot be stopped and the program cannot be written to the board again.

Mcal setting by EB 23.0.0

IDE is S32DS for S32 Platform.

I upload my project(EB project and S32 project),please confirm it and could tell me how to resolve it,thank you!

Best Regards,

Liu

 

 

0 Kudos
Reply
1 Solution
4,010 Views
liufei
Contributor III

Dear Dan,

I resolved this problem follow your advice,Thank you very much!

Best regard,

Liu

 

 

View solution in original post

17 Replies
4,099 Views
nxf78987
NXP Employee
NXP Employee

Dear liufei,

Please provide with me the driver version, which are you using.

Best regards,

Dan

0 Kudos
Reply
4,096 Views
liufei
Contributor III

Hi Dan,

Thank you for the reply,

>Please provide with me the driver version, which are you using.

Is that means S32K1xx development package's version?

Please see the attach file.

 

Best Regards,

Liu

 

0 Kudos
Reply
4,093 Views
nxf78987
NXP Employee
NXP Employee

Dear liufei,

Are you using "S32SDK S32K1XX RTM 4.0.2"  for your project?

Best regards,

Dan

0 Kudos
Reply
4,088 Views
liufei
Contributor III

Hi Dan,

>Are you using "S32SDK S32K1XX RTM 4.0.2"  for your project?

This  project is not using "S32SDK S32K1XX RTM 4.0.2".

Best regards,

Liu

0 Kudos
Reply
4,080 Views
nxf78987
NXP Employee
NXP Employee

Dear liufei,

So what package are you using in this image for your project?
nxf78987_0-1652176675153.png

Best regards,

Dan

 
0 Kudos
Reply
4,072 Views
liufei
Contributor III

Hi Dan,

I am using "S32K1xx development package version:3.4.1"

Best regards,

Liu

0 Kudos
Reply
4,062 Views
nxf78987
NXP Employee
NXP Employee

Hello liufei,

Now, I can't open your configuration, but I think, perhaps your problem occurred because you forgot config for JTAG pins at PORT module.

Please help me check in your configuration, you added pins as the image on "UnTouchedPortPin" yet?

nxf78987_0-1652234071903.png

Best regards,

Dan

0 Kudos
Reply
4,048 Views
liufei
Contributor III

Hi Dan,

I add my configuration of the "UnTouchedPortPin",I think  no problem about it.

Please check it.Thank you!

Best regards,

Liu

0 Kudos
Reply
4,044 Views
liufei
Contributor III

Hi Dan,

Thanks the reply,

>but I think, perhaps your problem occurred because you forgot config for JTAG pins at PORT module.

Although I have set the UnTouchedPortPin.But,I want to know if  forgot config for JTAG pins at PORT module causes the board to be "brick",how to solve it,thanks!

You can refer to this:

Can not written program into board again. - NXP Community

 

Best regards,

Liu

 

0 Kudos
Reply
4,042 Views
nxf78987
NXP Employee
NXP Employee

Dear liufei,

I opened your configuration in the test folder, and I saw that you forgot to add JTAG pins to "UnTouchedPortPin". This created an error regarding JTAG and the program cannot be written to the board again.

I think that I will set up a short meeting to guide you to fix this error.

I'm at GMT +7 and what about you?
Could you provide me with the time you can join this meeting today?
After that, I will set up this meeting on Microsoft team software and send the link to you.

Best regards,

Dan

0 Kudos
Reply
4,035 Views
liufei
Contributor III

Hi Dan,

I'm sorry I missed the time of short meeting!

> and I saw that you forgot to add JTAG pins to "UnTouchedPortPin".

Please check this picture,this picture is my configuration of "UnTouchedPortPin",so,I think I have added JTAG pins to "UnTouchedPortPin".

liufei_0-1652245125089.png

But,I have a question,Should I set the red box to PullEnabled?

Is this setting caused not to add JTAG pins to "UnTouchedPortPin"?

liufei_1-1652245403585.png

Best regards,

Liu

0 Kudos
Reply
4,026 Views
nxf78987
NXP Employee
NXP Employee

Dear liufei,

 The red box to PullEnabled didn't regarding your error. You can read the details configurations in the file AUTOSAR_MCAL_PORT_UM.pdf.

In the past, I had the same error as you are getting now. And I saw the cause is at the first write code, I forgot the config JTAG pins at "UnTouchedPortPin".

Therefore, I have a proposal: Could you follow the guide to fix this error in my previous reply to resolve this problem? I think that is the only solution.

If you don't agree, I think that we should set up a short meeting to resolve this problem.

BR,

Dan

 

0 Kudos
Reply
4,023 Views
liufei
Contributor III

Dear Dan,

>Therefore, I have a proposal: Could you follow the guide to fix this error in my previous reply to resolve >this problem? I think that is the only solution.

OK,I'll follow the guide you provide,Thank you very much!
 

BR,

Liu

4,039 Views
nxf78987
NXP Employee
NXP Employee

Dear liufei,

Or you can see the guide fixed at this website:

https://mcuoneclipse.com/2013/06/16/bricking-and-recovering-frdm-kl25z-boards-reset-swd-clock-and-lo...

Step 1: you must config and build again your project with "UnTouchedPortPin" containing JTAG pins.

Step 2: you roll down mouse this website and stop at the image below.
After that, you follow the guide steps at that.

nxf78987_0-1652242357094.png

Best regard,

Dan

 

 

0 Kudos
Reply
4,016 Views
liufei
Contributor III

Dear Dan,

My OpenSDA both have power and Debug function,follow the guide you provide,should I cut(unconnect?) the power of OpenSDA and power the board separately?

BR,

Liu

 

0 Kudos
Reply
4,013 Views
nxf78987
NXP Employee
NXP Employee

Dear liufei,

For the first one, you must switch jump as same as small red circle and after that connect the board to power 12V and OpenSDA debugger.

nxf78987_1-1652259154139.png

Now, at your present step: you must disconnect power 12V and re-connect this power to the board.

After that, you will follow the next steps in the guide.

BR,

Dan

 

0 Kudos
Reply
4,011 Views
liufei
Contributor III

Dear Dan,

I resolved this problem follow your advice,Thank you very much!

Best regard,

Liu