s32k312

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

s32k312

2,255 Views
LEEYM
Contributor III

hello.

 

i want to debugging my s32kevb board, but it's not working.

 

so, what these mean.. and how to fix it.

 

thanks, your favor.

 

PEmicro GDB Launch Failure : Error during flash programming. Terminating debug session.

 

PE-ERROR: Error downloading to the device. Terminating debug session.

UsageFault: The processor has attempted to execute an undefined instruction.

HardFault: A fault has been escalated to a hard fault.

Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "52610" from 6224

Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "52615" from 7224

INFO: DAP IDCODE = 0x6BA02477

Target Disconnected.

Tags (1)
0 Kudos
Reply
7 Replies

2,111 Views
LEEYM
Contributor III

Did you follow the 3.2 Plug in the Power Supply method to make the FS26 SBC start with disabled watchdog?

-> YES, AND 4 LED ON , WITH PLUG IN MY 12V JACK

 

IS IT PROBLEM WITH MY BOARD?

 

WHAT IS MEAN ABOUT THIS PORBLEM MESSAGE..

 

I WANT TO KNOW THESE MEAN AND HOW TO FIX.........

0 Kudos
Reply

2,103 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Q1. What was the last program downloaded?
Q2. Is the FS26 hot?
Q3. If a low-level pulse can be observed on the reset pin, please use an oscilloscope or logic analyzer to measure the frequency.

Q4. Please tell me which LEDs are light. If you don't tell me the specific information, it will be difficult for me to help you find the root cause quickly.

0 Kudos
Reply

2,094 Views
LEEYM
Contributor III

Q1. What was the last program downloaded?

 - JUST PROGRAMMING MY WORK SPACE

Q2. Is the FS26 hot?

- NO.


Q3. If a low-level pulse can be observed on the reset pin, please use an oscilloscope or logic analyzer to measure the frequency.

- I DON'T HAVE IT .. BUT I THINK IT'S OK

Q4. Please tell me which LEDs are light. If you don't tell me the specific information, it will be difficult for me to help you find the root cause quickly.

-LED D1 , D2 , PV3V, D5 LOCATION IS 12V DC PORT LEFT

0 Kudos
Reply

2,084 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

External debugger or onboard debugger did you select?

Follow the steps 3.3 Connect the Debugger Cable,

Connect a micro-USB cable to the J40 connector to debug via the on-board S32K3 debugger.

The D14 should light up. And then you will see the Port: Embedded Multilink Rev A in PEmicro Debugger configuration view:

PEmicro Debugger Configuration.png

0 Kudos
Reply

2,068 Views
LEEYM
Contributor III

I USE ON BOARD THE BUG NAME :  Debugger : U-Multilink 

AND, WHEN I CONNECTED BY, POWER, USB, AND J12 DUBUGGER PINS

 

TURN ON TRTPWR IN MY DEBUGGER...

 

And when I did it for the first time, it was debugging

I can't do it all of a sudden

I changed it to GDBMI FORT NUMBER and SERVER FORT NUMBER

But now it's the same environment you sent me

0 Kudos
Reply

2,054 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please note that some older versions of Multilink do not support S32K3, see the discussion in: s32ds-v3.4 debug s32k344 via PE

Tell me the version of S32K3 RTD you use.
Or send me the project you tested for checking.

Have you tried the onboard debugger (J40) with J12 disconnected?

0 Kudos
Reply

2,234 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

What was the last program downloaded?
Is the FS26 hot?
If a low-level pulse can be observed on the reset pin, please use an oscilloscope or logic analyzer to measure the frequency.
Did you follow the 3.2 Plug in the Power Supply method to make the FS26 SBC start with disabled watchdog?

Best Regards,
Robin

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2134606%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Es32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2134606%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%3E%3CDIV%3E%3CP%3E%3CSPAN%3Ehello.%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3Ei%20want%20to%20debugging%20my%20s32kevb%20board%2C%20but%20it's%20not%20working.%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3Eso%2C%20what%20these%20mean..%20and%20how%20to%20fix%20it.%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3Ethanks%2C%20your%20favor.%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EPEmicro%20GDB%20Launch%20Failure%20%3A%20Error%20during%20flash%20programming.%20Terminating%20debug%20session.%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EPE-ERROR%3A%20Error%20downloading%20to%20the%20device.%20Terminating%20debug%20session.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EUsageFault%3A%20The%20processor%20has%20attempted%20to%20execute%20an%20undefined%20instruction.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EHardFault%3A%20A%20fault%20has%20been%20escalated%20to%20a%20hard%20fault.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDisconnected%20from%20%22127.0.0.1%22%20via%20127.0.0.1.%20Disconnection%20by%20port%20%2252610%22%20from%206224%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDisconnected%20from%20%22127.0.0.1%22%20via%20127.0.0.1.%20Disconnection%20by%20port%20%2252615%22%20from%207224%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EINFO%3A%20DAP%20IDCODE%20%3D%200x6BA02477%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ETarget%20Disconnected.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2136401%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20s32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136401%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EPlease%20note%20that%20some%20older%20versions%20of%20Multilink%20do%20not%20support%20S32K3%2C%20see%20the%20discussion%20in%3A%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2Fs32ds-v3-4-debug-s32k344-via-PE%2Ftd-p%2F1374701%22%20target%3D%22_self%22%3Es32ds-v3.4%20debug%20s32k344%20via%20PE%3C%2FA%3E%3C%2FP%3E%0A%3CP%3ETell%20me%20the%20version%20of%20S32K3%20RTD%20you%20use.%3CBR%20%2F%3EOr%20send%20me%20the%20project%20you%20tested%20for%20checking.%3C%2FP%3E%0A%3CP%3EHave%20you%20tried%20the%20onboard%20debugger%20(J40)%20with%20J12%20disconnected%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2136294%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20s32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136294%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20USE%20ON%20BOARD%20THE%20BUG%20NAME%20%3A%26nbsp%3B%20Debugger%20%3A%20U-Multilink%26nbsp%3B%3C%2FP%3E%3CP%3EAND%2C%20WHEN%20I%20CONNECTED%20BY%2C%20POWER%2C%20USB%2C%20AND%20J12%20DUBUGGER%20PINS%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ETURN%20ON%20TRTPWR%20IN%20MY%20DEBUGGER...%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EAnd%20when%20I%20did%20it%20for%20the%20first%20time%2C%20it%20was%20debugging%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EI%20can't%20do%20it%20all%20of%20a%20sudden%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EI%20changed%20it%20to%20GDBMI%20FORT%20NUMBER%20and%20SERVER%20FORT%20NUMBER%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EBut%20now%20it's%20the%20same%20environment%20you%20sent%20me%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2136233%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20s32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136233%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EExternal%20debugger%20or%20onboard%20debugger%20did%20you%20select%3F%3C%2FP%3E%0A%3CP%3EFollow%20the%20steps%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocument%2Fguide%2Fgetting-started-with-the-s32k312evb-q172-evaluation-board-for-general-purpose%3AGS-S32K312EVB-Q172%3Fsection%3Dplug-it-in_plug-it-in-3%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E3.3%20Connect%20the%20Debugger%20Cable%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EConnect%20a%20micro-USB%20cable%20to%20the%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EJ40%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3Bconnector%20to%20debug%20via%20the%20on-board%20S32K3%20debugger.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20D14%20should%20light%20up.%20And%20then%20you%20will%20see%20the%20Port%3A%20Embedded%20Multilink%20Rev%20A%20in%20PEmicro%20Debugger%20configuration%20view%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PEmicro%20Debugger%20Configuration.png%22%20style%3D%22width%3A%20905px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PEmicro%20Debugger%20Configuration.png%22%20style%3D%22width%3A%20905px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348185i1FFED639179BE088%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PEmicro%20Debugger%20Configuration.png%22%20alt%3D%22PEmicro%20Debugger%20Configuration.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2136180%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20s32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136180%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EQ1.%20What%20was%20the%20last%20program%20downloaded%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B-%20JUST%20PROGRAMMING%20MY%20WORK%20SPACE%3C%2FP%3E%3CP%3E%3CSPAN%3EQ2.%20Is%20the%20FS26%20hot%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E-%20NO.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CSPAN%3EQ3.%20If%20a%20low-level%20pulse%20can%20be%20observed%20on%20the%20reset%20pin%2C%20please%20use%20an%20oscilloscope%20or%20logic%20analyzer%20to%20measure%20the%20frequency.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E-%20I%20DON'T%20HAVE%20IT%20..%20BUT%20I%20THINK%20IT'S%20OK%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EQ4.%26nbsp%3BPlease%20tell%20me%20which%20LEDs%20are%20light.%20If%20you%20don't%20tell%20me%20the%20specific%20information%2C%20it%20will%20be%20difficult%20for%20me%20to%20help%20you%20find%20the%20root%20cause%20quickly.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E-LED%20D1%20%2C%20D2%20%2C%20PV3V%2C%20D5%20LOCATION%20IS%2012V%20DC%20PORT%20LEFT%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2136166%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20s32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136166%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EQ1.%20What%20was%20the%20last%20program%20downloaded%3F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EQ2.%20Is%20the%20FS26%20hot%3F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EQ3.%20If%20a%20low-level%20pulse%20can%20be%20observed%20on%20the%20reset%20pin%2C%20please%20use%20an%20oscilloscope%20or%20logic%20analyzer%20to%20measure%20the%20frequency.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EQ4.%26nbsp%3BPlease%20tell%20me%20which%20LEDs%20are%20light.%20If%20you%20don't%20tell%20me%20the%20specific%20information%2C%20it%20will%20be%20difficult%20for%20me%20to%20help%20you%20find%20the%20root%20cause%20quickly.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2136152%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20s32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2136152%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EDid%20you%20follow%20the%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocument%2Fguide%2Fgetting-started-with-the-s32k312evb-q172-evaluation-board-for-general-purpose%3AGS-S32K312EVB-Q172%3Fsection%3Dplug-it-in_plug-it-in-2%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E3.2%20Plug%20in%20the%20Power%20Supply%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bmethod%20to%20make%20the%20FS26%20SBC%20start%20with%20disabled%20watchdog%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E-%26gt%3B%20YES%2C%20AND%204%20LED%20ON%20%2C%20WITH%20PLUG%20IN%20MY%2012V%20JACK%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EIS%20IT%20PROBLEM%20WITH%20MY%20BOARD%3F%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EWHAT%20IS%20MEAN%20ABOUT%20THIS%20PORBLEM%20MESSAGE..%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%3EI%20WANT%20TO%20KNOW%20THESE%20MEAN%20AND%20HOW%20TO%20FIX.........%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2134698%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20s32k312%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2134698%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%3C%2FP%3E%0A%3CP%3EWhat%20was%20the%20last%20program%20downloaded%3F%3CBR%20%2F%3EIs%20the%20FS26%20hot%3F%3CBR%20%2F%3EIf%20a%20low-level%20pulse%20can%20be%20observed%20on%20the%20reset%20pin%2C%20please%20use%20an%20oscilloscope%20or%20logic%20analyzer%20to%20measure%20the%20frequency.%3CBR%20%2F%3EDid%20you%20follow%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocument%2Fguide%2Fgetting-started-with-the-s32k312evb-q172-evaluation-board-for-general-purpose%3AGS-S32K312EVB-Q172%3Fsection%3Dplug-it-in_plug-it-in-2%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E3.2%20Plug%20in%20the%20Power%20Supply%3C%2FA%3E%20method%20to%20make%20the%20FS26%20SBC%20start%20with%20disabled%20watchdog%3F%3C%2FP%3E%0A%3CP%3EBest%20Regards%2C%3CBR%20%2F%3ERobin%3C%2FP%3E%3C%2FLINGO-BODY%3E