S32K146EVB-Q144 Debug error

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

S32K146EVB-Q144 Debug error

1,814 Views
AndreyKalinin
Contributor I

An error occurs when starting debug:

AndreyKalinin_1-1618457744204.png

 

AndreyKalinin_0-1618457470329.png

"Port" parameter in PEMicro interface setting is blank

Here is the PEMicro SDA info (when mounted as  /S32K146EVB) :

Board Name is: S32K146EVB-Q144
MicroBoot Kernel Version is: 1.08
Bootloader Version is: 1.13
Installed Application: PEMicro S32K146EVB-Q144 Mass Storage/Debug App
Application Version is: 1.21
DUID is: 4C933938-3EF581E2-375B1811-E55FE678
EUID is: 4611A239-B057876C-185A3A16-076868D6
TUID is: 74823938-47328196-8467AE18-C23C9852
TOA is: 86B6E505-805DF688-79B2A114-8238FC42
TOA2 is: 86B6E505-951FF941-AF6E54B6-9297829E
SUID is: 86B6E505-5BA18877-37239804-8003EC65

S32k146 MCU is normally worked and can be programmed by Segger J-link

Thanks in advance

Andrey Kalinin

0 Kudos
10 Replies

1,746 Views
AndreyKalinin
Contributor I

Circuit S32K146EVB is not been modified.

Supply power is ok.

Drivers is already reinstalled. 

S32K146EVB is normally worked with segger J-link. Troubles only with PEMicro interface.

0 Kudos

1,739 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Have you checked the OpenSDA is correct installed? You should be able to see it in Device Manager and able to select in S32 Design Studio.

OpenSDA Device Manager.jpg

0 Kudos

1,733 Views
AndreyKalinin
Contributor I

AndreyKalinin_1-1619157392085.png

 

AndreyKalinin_0-1619157278742.png

 

0 Kudos

1,723 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

It is strange that your S32 Design Studio does not recognize the OpenSDA debugger interface. Please try to update it in IDE.(It should be installed by default)

Help Check for Updates.jpgUpdata PEMicro Interface Debugging Support.jpg

0 Kudos

1,719 Views
AndreyKalinin
Contributor I

I have a second board S32K146EVB. Is work fine. 

AndreyKalinin_0-1619158498823.png

 

0 Kudos

1,711 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

The board at my side is REV B. I have not met such strange issue before. 

S32K146EVB SCH REV.jpg

But you can try to check the SDA_SWD_OE\SDA_SWD_EN signals. Mainly check the signals on the OpenSDA Interface page.

SDA_SWD_OE SDA_SWD_EN.jpg

Drop MSD-DEBUG-S32K146EVB-Q144_Pemicro_v121.SDA into S32K146EVB should instill firmware.

MSD-DEBUG-S32K146EVB-Q144_Pemicro_v121.SDA.jpg

0 Kudos

1,793 Views
AndreyKalinin
Contributor I

Hello. Open SDA firmware udated sucsefully, but S32k146 MCU is not found. 

SDA Info after updet is :

Board Name is: S32K146EVB-Q144
MicroBoot Kernel Version is: 1.08
Bootloader Version is: 1.13
Installed Application: PEMicro S32K146EVB-Q144 Mass Storage/Debug App
Application Version is: 1.21
DUID is: 4C933938-3EF581E2-375B1811-E55FE678
EUID is: 4611A239-B057876C-185A3A16-076868D6
TUID is: 74823938-47328196-8467AE18-C23C9852
TOA is: 86B6E505-805DF688-79B2A114-8238FC42
TOA2 is: 86B6E505-951FF941-AF6E54B6-9297829E
SUID is: 86B6E505-5BA18877-37239804-8003EC65

P5V_SDA and P3V3_SDA is Ok

0 Kudos

1,806 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi AndreyKalinin,

You can refer the detail answer in: S32K148EVB Dead after OpenSDA Update. Need help to recover.
You need to connect pin 1-2 of J104 for S32K146EVB.

J104 12 S32K146EVB.png
Make sure you have load correct OpenSDA firmware and check the default power jumper connection.

J107 23 S32K146EVB.pngJ10 23 S32K146EVB.png

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

1,791 Views
AndreyKalinin
Contributor I

Hello. Open SDA firmware udated sucsefully, but S32k146 MCU is not found. 

SDA Info after updet is :

Board Name is: S32K146EVB-Q144
MicroBoot Kernel Version is: 1.08
Bootloader Version is: 1.13
Installed Application: PEMicro S32K146EVB-Q144 Mass Storage/Debug App
Application Version is: 1.21
DUID is: 4C933938-3EF581E2-375B1811-E55FE678
EUID is: 4611A239-B057876C-185A3A16-076868D6
TUID is: 74823938-47328196-8467AE18-C23C9852
TOA is: 86B6E505-805DF688-79B2A114-8238FC42
TOA2 is: 86B6E505-951FF941-AF6E54B6-9297829E
SUID is: 86B6E505-5BA18877-37239804-8003EC65

P5V_SDA and P3V3_SDA is Ok

0 Kudos

1,765 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

You need to connect pin 1-2 of J104 for S32K146EVB.(Image shows you connect 2-3 of J104.)
Please make sure that the power supply mentioned above is correct.(POWER_EN\P5V_SDA_PSW\V_TGTMCU)
Maybe you can try to reinstall the Windows Drivers of OpenSDA.
If still not work, then please try the JLink firmware.
Have you modify the circuit S32K146EVB? For example cut connection(R625 R626) between OpenSDA and MCU?

0 Kudos