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
Solved! Go to Solution.
Dear Dan,
I resolved this problem follow your advice,Thank you very much!
Best regard,
Liu
Dear liufei,
Please provide with me the driver version, which are you using.
Best regards,
Dan
Dear liufei,
Are you using "S32SDK S32K1XX RTM 4.0.2" for your project?
Best regards,
Dan
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
Dear liufei,
Best regards,
Dan
Hi Dan,
I am using "S32K1xx development package version:3.4.1"
Best regards,
Liu
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?
Best regards,
Dan
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:
Best regards,
Liu
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
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".
But,I have a question,Should I set the red box to PullEnabled?
Is this setting caused not to add JTAG pins to "UnTouchedPortPin"?
Best regards,
Liu
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
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.
BR,
Liu
Dear liufei,
Or you can see the guide fixed at this website:
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.
Best regard,
Dan
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
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.
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
Dear Dan,
I resolved this problem follow your advice,Thank you very much!
Best regard,
Liu