Can't use PEmicro debugger with S32K118EVB2-Q048

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

Can't use PEmicro debugger with S32K118EVB2-Q048

Jump to solution
4,248 Views
newbie
Contributor II

Dear sirs,

  I got S32K118EVB2-Q048 from Digi-Key this week and tried to run sample application(hello_world_s32k118) with PEmicro debugger(built-in OpenSDA) to check if the EVB is fine. Things were not going well and got errors as PEmicro_connection_assistant.png

problem_occurred.png

Info of environment:

OS: Windows 10 21H1

S32 Design Studio for S32 Platform Version: 3.4

S32 Design Studio S32K1XX SDK RTM 4.0.2

SDA_info ( is it ok of wrong board name? 

sda_info.png

Windows Device Manager: device_manager.png

drive.png

EVB is powered by USB and 3 leds were all on(D1:red, D2/D3:green) after powered.

Could anyone give some suggestion for this issue ? Thanks in advance.

Tags (3)
0 Kudos
1 Solution
4,215 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please try to use P&E Recovery Utility halt MCU by refer Recovering Cortex-M Microcontroller with a Power Glitch.

Please try power cycling your board until this operation is successful.png

J16(external power) can be used to power cycling your board.(connect Pin1-2 of J107)
After halt the MCU, you should be able to debug it.

Success. Processor halted..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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
10 Replies
4,168 Views
seini
Contributor I

@newbiecinema hd Still facing same issue. Can't able to figure out.

0 Kudos
4,216 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Please try to use P&E Recovery Utility halt MCU by refer Recovering Cortex-M Microcontroller with a Power Glitch.

Please try power cycling your board until this operation is successful.png

J16(external power) can be used to power cycling your board.(connect Pin1-2 of J107)
After halt the MCU, you should be able to debug it.

Success. Processor halted..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
50 Views
hoangminh29y7
Contributor I

Hi @Robin_Shen,

 

I don't understand: 

"J16(external power) can be used to power cycling your board.(connect Pin1-2 of J107)
After halt the MCU, you should be able to debug it." 

 

can you explain more clearly?

0 Kudos
44 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Unplug J16 to power off the S32K118. Plug in J16 to power on the S32K118. 
Keep OpenSDA or external Multilink powered. Repeat the above steps several times, and the MCU may be halted when J16 is plug in.

0 Kudos
4,189 Views
newbie
Contributor II

Dear Robin,

  Thanks for your prompt support and this method unbricks my EVB.

  BTW, it only works under MCU voltage 5v. (connect Pin2-3 of J10)

  If MCU voltage is set to 3.3v, P&E Recovery Utility would never halt the processor even EVB is unbricked now.  (It was shipped with Pin1-2 connected of J10)

  I don't know if this behavior is ok or there is still something abnormal of my EVB.

 

  best regards,

0 Kudos
4,129 Views
newbie
Contributor II

 

@Robin_Shen  Do you have any comment about the different behavior of MCU voltage setting ?

Thank you.

0 Kudos
4,095 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

I cannot reproduce the problem you mentioned here.
I am using S32K118EVB-Q064 SCH-29945 REV. B.
The Application Version is: 1.23
J10 pin1-2
J107 pin1-2
J104 pin1-2

Maybe you can try to update OpenSDA Firmware.(Pemicro_OpenSDA_Debug_MSD_Update_Apps_2020_05_12\MSD-DEBUG-S32K118EVB-Q064_Pemicro_v123.SDA)

Application Version is 1.23.png

0 Kudos
4,090 Views
newbie
Contributor II

Dear Robin,

  Thanks for your prompt reply. I had updated firmware of OpenSDA to v1.23 but MCU voltage3.3v still didn't work.

SDA_INFO_123.png

My EVB is S32K118EVB2-Q048 (48pin)

EVB_v2.jpg

Is it the same with yours?  Thank you.

0 Kudos
4,073 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Sorry. I did not notice that your board is different from mine. Currently I don’t have S32K118EVB2-Q048 (48pin), so I can’t test it.

From the schematic, there are some changes in the power supply part, which may be caused by the difference.

0 Kudos
4,065 Views
newbie
Contributor II

@Robin_Shen  May I request the schematic of S32K118EVB2-Q048 you mentioned because I couldn't find it at NXP's web site. Thank you. 

0 Kudos